From d138ac8d1f41699ce9d4156e0a479d4d708240e7 Mon Sep 17 00:00:00 2001 From: Zack Rusin Date: Mon, 26 Jan 2004 07:46:55 +0000 Subject: Slightily modified patch from Alex (blarf). I'll have to rething the access to dbus internals from the wrappers. --- qt/connection.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'qt/connection.h') diff --git a/qt/connection.h b/qt/connection.h index 2b9a05ca..fd954b64 100644 --- a/qt/connection.h +++ b/qt/connection.h @@ -39,7 +39,8 @@ namespace DBusQt { { Q_OBJECT public: - Connection( const QString& host = QString::null ); + Connection( const QString& host = QString::null, + QObject* parent = 0); bool isConnected() const; bool isAuthenticated() const; @@ -54,7 +55,7 @@ namespace DBusQt { void flush(); void send( const Message& ); void sendWithReply( const Message& ); - void sendWithReplyAndBlock( const Message& ); + Message sendWithReplyAndBlock( const Message& ); protected slots: void dispatchRead(); -- cgit