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