Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QDBus Namespace Reference

\inmodule QtDBus More...

Enumerations

enum  CallMode { NoBlock , Block , BlockWithGui , AutoDetect }
 This enum describes the various ways of placing a function call. More...
 

Detailed Description

\inmodule QtDBus

The QDBus namespace contains miscellaneous identifiers used throughout the Qt D-Bus module.

Enumeration Type Documentation

◆ CallMode

This enum describes the various ways of placing a function call.

The valid modes are:

\value NoBlock Place the call but don't wait for the reply (the reply's contents will be discarded). \value Block Don't use an event loop to wait for a reply, but instead block on network operations while waiting. This means the user-interface may not be updated until the function returns. \value BlockWithGui Use the Qt event loop to wait for a reply. This means that the user-interface will stay responsive (processing input events), but it also means other events may happen, like signal delivery and other D-Bus method calls. \value AutoDetect Automatically detect if the called function has a reply.

When using BlockWithGui, applications must be prepared for reentrancy in any function.

Enumerator
NoBlock 
Block 
BlockWithGui 
AutoDetect 

Definition at line 23 of file qdbusconnection.h.