Changeset 769 for trunk/src/dbus/qdbuspendingcall_p.h
- Timestamp:
- Aug 2, 2010, 9:27:30 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.6.3 (added) merged: 768 /branches/vendor/nokia/qt/current merged: 767 /branches/vendor/nokia/qt/4.6.2 removed
- Property svn:mergeinfo changed
-
trunk/src/dbus/qdbuspendingcall_p.h
r651 r769 58 58 #include <qpointer.h> 59 59 #include <qlist.h> 60 61 60 62 61 63 #include "qdbusmessage.h" … … 72 74 { 73 75 public: 74 QDBusMessage sentMessage; 75 QDBusMessage replyMessage; 76 // QDBusMessage pendingReplyMessage; // used in the local loop 77 QDBusPendingCallWatcherHelper *watcherHelper; 78 DBusPendingCall *pending; 79 QDBusConnectionPrivate *connection; 76 // { 77 // set only during construction: 78 const QDBusMessage sentMessage; 79 QDBusConnectionPrivate * const connection; 80 80 81 QString expectedReplySignature; 82 int expectedReplyCount; 83 84 // for the callback 81 // for the callback mechanism (see setReplyCallback and QDBusConnectionPrivate::sendWithReplyAsync) 85 82 QPointer<QObject> receiver; 86 83 QList<int> metaTypes; … … 88 85 89 86 bool autoDelete; 87 90 88 91 QDBusPendingCallPrivate() : watcherHelper(0), pending(0), autoDelete(false) 89 mutable QMutex mutex; 90 QWaitCondition waitForFinishedCondition; 91 92 // { 93 // protected by the mutex above: 94 QDBusPendingCallWatcherHelper *watcherHelper; 95 QDBusMessage replyMessage; 96 DBusPendingCall *pending; 97 volatile bool waitingForFinished; 98 99 QString expectedReplySignature; 100 int expectedReplyCount; 101 // } 102 103 QDBusPendingCallPrivate(const QDBusMessage &sent, QDBusConnectionPrivate *connection) 104 : sentMessage(sent), connection(connection), autoDelete(false), watcherHelper(0), pending(0), waitingForFinished(false) 92 105 { } 93 106 ~QDBusPendingCallPrivate();
Note:
See TracChangeset
for help on using the changeset viewer.