QDBus Namespace
The QDBus namespace contains the call modes of Nt D-Bus. More…
| Header | #include <QtDBus/qdbusconnection.h> |
|---|---|
| CMake | target_link_libraries(app PRIVATE Nt::DBus) |
| Module | Nt D-Bus C++ Classes |
Public Types
| enum | CallMode |
Detailed Description
Differences from Qt
None.
Member Type Documentation
enum QDBus::CallMode
Selects how a call waits for its reply.
| Constant | Description |
|---|---|
QDBus::NoBlock | Sends the call and does not wait; there is no reply. |
QDBus::Block | Blocks the calling thread until the reply arrives, without running its event loop. |
QDBus::BlockWithGui | Runs a local event loop until the reply arrives. |
QDBus::AutoDetect | The same as Block. |