The QDBus namespace contains miscellaneous identifiers used throughout the QtDBus library. More...
#include <QDBus>
enum | CallMode { NoBlock, Block, BlockWithGui, AutoDetect } |
The QDBus namespace contains miscellaneous identifiers used throughout the QtDBus library.
This enum describes the various ways of placing a function call. The valid modes are:
Constant | Value | Description |
---|---|---|
QDBus::NoBlock | 0 | Place the call but don't wait for the reply (the reply's contents will be discarded). |
QDBus::Block | 1 | 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. |
QDBus::BlockWithGui | 2 | 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. |
QDBus::AutoDetect | 3 | Automatically detect if the called function has a reply. |
When using BlockWithGui, applications must be prepared for reentrancy in any function.
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.