From e8a46365c791a450ec71daf86e6ca921ee57f80c Mon Sep 17 00:00:00 2001 From: Zack Rusin Date: Tue, 27 Apr 2004 05:35:01 +0000 Subject: Committing Haralds stuff together with some of my backlog for connection. --- qt/connection.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'qt/connection.h') diff --git a/qt/connection.h b/qt/connection.h index fd954b64..285fa66b 100644 --- a/qt/connection.h +++ b/qt/connection.h @@ -39,8 +39,10 @@ namespace DBusQt { { Q_OBJECT public: - Connection( const QString& host = QString::null, - QObject* parent = 0); + Connection( QObject *parent =0 ); + Connection( const QString& host, + QObject *parent = 0 ); + Connection( DBusBusType type, QObject* parent = 0 ); bool isConnected() const; bool isAuthenticated() const; @@ -62,11 +64,13 @@ namespace DBusQt { protected: void init( const QString& host ); - virtual void* virtual_hook( int id, void* data ); + virtual void *virtual_hook( int id, void *data ); + private: friend class Internal::Integrator; - DBusConnection* connection() const; + DBusConnection *connection() const; Connection( DBusConnection *connection, QObject *parent ); + private: struct Private; Private *d; -- cgit