Changeset 846 for trunk/src/dbus/qdbusconnection_p.h
- Timestamp:
- May 5, 2011, 5:36:53 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.7.2 (added) merged: 845 /branches/vendor/nokia/qt/current merged: 844 /branches/vendor/nokia/qt/4.6.3 removed
- Property svn:mergeinfo changed
-
trunk/src/dbus/qdbusconnection_p.h
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation (qt-info@nokia.com) … … 71 71 72 72 #include <qdbusmessage.h> 73 74 #ifndef QT_NO_DBUS 73 75 74 76 QT_BEGIN_NAMESPACE … … 159 161 struct WatchedServiceData { 160 162 WatchedServiceData() : refcount(0) {} 163 WatchedServiceData(const QString &owner, int refcount = 0) 164 : owner(owner), refcount(refcount) 165 {} 161 166 QString owner; 162 167 int refcount; … … 199 204 const QString &path, const QString &interface, 200 205 QDBusAbstractInterface *receiver, const char *signal); 206 void registerService(const QString &serviceName); 207 void unregisterService(const QString &serviceName); 201 208 202 209 bool handleMessage(const QDBusMessage &msg); … … 243 250 void objectDestroyed(QObject *o); 244 251 void relaySignal(QObject *obj, const QMetaObject *, int signalId, const QVariantList &args); 245 void _q_serviceOwnerChanged(const QString &name, const QString &oldOwner, const QString &newOwner); 246 void registerService(const QString &serviceName); 247 void unregisterService(const QString &serviceName); 252 253 private slots: 254 void serviceOwnerChangedNoLock(const QString &name, const QString &oldOwner, const QString &newOwner); 255 void registerServiceNoLock(const QString &serviceName); 256 void unregisterServiceNoLock(const QString &serviceName); 248 257 249 258 signals: … … 299 308 bool buildSignature); 300 309 static DBusHandlerResult messageFilter(DBusConnection *, DBusMessage *, void *); 310 static bool checkReplyForDelivery(QDBusConnectionPrivate *target, QObject *object, 311 int idx, const QList<int> &metaTypes, 312 const QDBusMessage &msg); 301 313 static QDBusCallDeliveryEvent *prepareReply(QDBusConnectionPrivate *target, QObject *object, 302 314 int idx, const QList<int> &metaTypes, … … 308 320 309 321 static void setSender(const QDBusConnectionPrivate *s); 310 static void setConnection(const QString &name, QDBusConnectionPrivate *c);311 322 312 323 friend class QDBusActivateObjectEvent; … … 332 343 QT_END_NAMESPACE 333 344 345 #endif // QT_NO_DBUS 334 346 #endif
Note:
See TracChangeset
for help on using the changeset viewer.