CopperSpice DBUS  1.7.4
QDBus Namespace Reference

Contains miscellaneous identifiers used throughout the CsDBus library. More...

Enums

enum  CallMode
 

Detailed Description

The QDBus namespace contains miscellaneous identifiers used throughout the CsDBus library.

Enumeration Type Documentation

This enum describes the various ways of placing a function call. The valid modes are shown in the following table. When using BlockWithGui applications must be prepared for reentrancy in any function.

ConstantValueDescription
QDBus::NoBlock 0 Place the call but do not wait for the reply (reply contents will be discarded)
QDBus::Block 1 Do not 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.
QDBus::BlockWithGui 2 Use the 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.
QDBus::AutoDetect 3Automatically detect if the called function has a reply.