Changeset 846 for trunk/src/dbus/qdbusconnection.cpp
- 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.cpp
r769 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) … … 55 55 #include "qdbusthreaddebug_p.h" 56 56 57 #ifndef QT_NO_DBUS 58 57 59 QT_BEGIN_NAMESPACE 58 60 … … 124 126 } 125 127 126 Q DBUS_EXPORT void qDBusBindToApplication();128 Q_DBUS_EXPORT void qDBusBindToApplication(); 127 129 void qDBusBindToApplication() 128 130 { … … 139 141 \relates QDBusConnection 140 142 141 Returns a QDBusConnection object opened with the session bus. The object reference returned142 by this function is valid until the QCoreApplication's destructor is run, when the143 connection will be closed and the object,deleted.143 Returns a QDBusConnection object opened with the session bus. The object 144 reference returned by this function is valid until the application terminates, 145 at which point the connection will be closed and the object deleted. 144 146 */ 145 147 /*! … … 172 174 function. 173 175 176 Once disconnected, calling connectToBus() will not reestablish a 177 connection, you must create a new QDBusConnection instance. 178 174 179 As a convenience for the two most common connection types, the 175 180 sessionBus() and systemBus() functions return open connections to … … 208 213 \value ExportScriptableSignals export this object's scriptable signals 209 214 \value ExportScriptableProperties export this object's scriptable properties 215 \value ExportScriptableInvokables export this object's scriptable invokables 210 216 \value ExportScriptableContents shorthand form for ExportScriptableSlots | 211 217 ExportScriptableSignals | … … 215 221 \value ExportNonScriptableSignals export this object's non-scriptable signals 216 222 \value ExportNonScriptableProperties export this object's non-scriptable properties 223 \value ExportNonScriptableInvokables export this object's non-scriptable invokables 217 224 \value ExportNonScriptableContents shorthand form for ExportNonScriptableSlots | 218 225 ExportNonScriptableSignals | … … 222 229 \value ExportAllSignals export all of this object's signals 223 230 \value ExportAllProperties export all of this object's properties 231 \value ExportAllInvokables export all of this object's invokables 224 232 \value ExportAllContents export all of this object's contents 225 226 233 \value ExportChildObjects export this object's child objects 227 234 … … 852 859 /*! 853 860 Returns true if this QDBusConnection object is connected. 854 855 If it isn't connected, calling connectToBus() on the same856 connection name will not make be connected. You need to call the857 QDBusConnection constructor again.858 861 */ 859 862 bool QDBusConnection::isConnected() const … … 915 918 /*! 916 919 Attempts to register the \a serviceName on the D-Bus server and 917 returns true if the registration succe ded. The registration will920 returns true if the registration succeeded. The registration will 918 921 fail if the name is already registered by another application. 919 922 … … 997 1000 { 998 1001 _q_manager()->setSender(s); 999 }1000 1001 /*!1002 \internal1003 */1004 void QDBusConnectionPrivate::setConnection(const QString &name, QDBusConnectionPrivate *c)1005 {1006 _q_manager()->setConnection(name, c);1007 1002 } 1008 1003 … … 1049 1044 1050 1045 QT_END_NAMESPACE 1046 1047 #endif // QT_NO_DBUS
Note:
See TracChangeset
for help on using the changeset viewer.