summaryrefslogtreecommitdiffstats
path: root/qt/connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt/connection.h')
-rw-r--r--qt/connection.h5
1 files changed, 3 insertions, 2 deletions
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();