diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2009-11-19 12:43:19 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2009-11-24 20:29:53 (GMT) |
commit | ad9a9657d2244e42b730482d8089ea7431f31773 (patch) | |
tree | 2397e42ae649713538b2e39019504d5b0c9cf842 /src | |
parent | 8a820c790f2316052819148e344a3cd197877433 (diff) | |
download | Qt-ad9a9657d2244e42b730482d8089ea7431f31773.zip Qt-ad9a9657d2244e42b730482d8089ea7431f31773.tar.gz Qt-ad9a9657d2244e42b730482d8089ea7431f31773.tar.bz2 |
Doc: Update the documentation for the serviceOwnerChanged signal.
Add the note that this signal will cause many activations and that
QDBusServiceWatcher is better.
Diffstat (limited to 'src')
-rw-r--r-- | src/dbus/qdbusconnectioninterface.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/dbus/qdbusconnectioninterface.cpp b/src/dbus/qdbusconnectioninterface.cpp index 414d318..0f9a67f 100644 --- a/src/dbus/qdbusconnectioninterface.cpp +++ b/src/dbus/qdbusconnectioninterface.cpp @@ -394,6 +394,12 @@ void QDBusConnectionInterface::disconnectNotify(const char *signalName) empty string, it means the name \a name has just been created; if \a newOwner is empty, the name \a name has no current owner and is no longer available. + + \note connecting to this signal will make the application listen for and + receive every single service ownership change on the bus. Depending on + how many services are running, this make the application be activated to + receive more signals than it needs. To avoid this problem, use the + QDBusServiceWatcher class, which can listen for specific changes. */ /*! |