Qt:Документация 4.3.2/qdbus
Материал из Wiki.crossplatform.ru
Версия от 10:19, 29 января 2009; Root  (Обсуждение | вклад)
				
			|   | Внимание: Актуальная версия перевода документации находится здесь | 
__NOTOC__
| Главная · Все классы · Основные классы · Классы по группам · Модули · Функции | 
| Содержание | 
 QDBus Namespace Reference
 [  QtDBus module]
The QDBus namespace contains miscellaneous identifiers used throughout the QtDBus library. Далее...
 #include <QDBus>Типы
- enum CallMode { NoBlock, Block, BlockWithGui, AutoDetect }
Подробное описание
The QDBus namespace contains miscellaneous identifiers used throughout the QtDBus library.
Документация типов
enum QDBus::CallMode
This enum describes the various ways of placing a function call. The valid modes are:
| Константа | Значение | Описание | 
|---|---|---|
| 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.
| Copyright © 2007 Trolltech | Trademarks | Qt 4.3.2 | 


