summaryrefslogtreecommitdiffstats
path: root/qt/connection.h
diff options
context:
space:
mode:
authorZack Rusin <zack@kde.org>2004-01-26 07:46:55 +0000
committerZack Rusin <zack@kde.org>2004-01-26 07:46:55 +0000
commitd138ac8d1f41699ce9d4156e0a479d4d708240e7 (patch)
tree0e20be97115299a938e1ccfcc89049e0e159d1fa /qt/connection.h
parentf02a9001f27ef47f70373aaf426d976ae5187f9e (diff)
Slightily modified patch from Alex (blarf). I'll have to rething the access
to dbus internals from the wrappers.
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();