6.0.0-rc4Source

QDBus Namespace

The QDBus namespace contains the call modes of Nt D-Bus. More…

Header#include <QtDBus/qdbusconnection.h>
CMaketarget_link_libraries(app PRIVATE Nt::DBus)
ModuleNt D-Bus C++ Classes

Public Types

enumCallMode

Detailed Description

Differences from Qt

None.

Member Type Documentation

enum QDBus::CallMode

Selects how a call waits for its reply.

ConstantDescription
QDBus::NoBlockSends the call and does not wait; there is no reply.
QDBus::BlockBlocks the calling thread until the reply arrives, without running its event loop.
QDBus::BlockWithGuiRuns a local event loop until the reply arrives.
QDBus::AutoDetectThe same as Block.