summaryrefslogtreecommitdiff
path: root/src/dbus/qdbusconnection_p.h
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-10-23 19:33:38 +0200
committerThiago Macieira <thiago.macieira@nokia.com>2009-10-28 10:16:48 +0100
commited75146e45d41ca52b64193acbf433e6d2ceaaf5 (patch)
tree59ea6072b07fbe7a9391ccf2a15f97fd31ba3ce5 /src/dbus/qdbusconnection_p.h
parent26c5680cf5adbf0c87357d84f2e2a6256724d4b7 (diff)
downloadqt4-tools-ed75146e45d41ca52b64193acbf433e6d2ceaaf5.tar.gz
Move the bulk of the signal connecting/disconnecting code to QDBusConnectionPrivate
I'll need to recurse into the signal connection mechanism in the next commit.
Diffstat (limited to 'src/dbus/qdbusconnection_p.h')
-rw-r--r--src/dbus/qdbusconnection_p.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/dbus/qdbusconnection_p.h b/src/dbus/qdbusconnection_p.h
index df51c27e55..2402719a89 100644
--- a/src/dbus/qdbusconnection_p.h
+++ b/src/dbus/qdbusconnection_p.h
@@ -175,8 +175,14 @@ public:
QDBusPendingCallPrivate *sendWithReplyAsync(const QDBusMessage &message, int timeout = -1);
int sendWithReplyAsync(const QDBusMessage &message, QObject *receiver,
const char *returnMethod, const char *errorMethod, int timeout = -1);
+ bool connectSignal(const QString &service, const QString &owner, const QString &path, const QString& interface,
+ const QString &name, const QStringList &argumentMatch, const QString &signature,
+ QObject *receiver, const char *slot);
void connectSignal(const QString &key, const SignalHook &hook);
SignalHookHash::Iterator disconnectSignal(SignalHookHash::Iterator &it);
+ bool disconnectSignal(const QString &service, const QString &path, const QString& interface,
+ const QString &name, const QStringList &argumentMatch, const QString &signature,
+ QObject *receiver, const char *slot);
void registerObject(const ObjectTreeNode *node);
void connectRelay(const QString &service, const QString &currentOwner,
const QString &path, const QString &interface,