From 6d9f72b9e651d90fcbd191b43b5e91ba7bd63789 Mon Sep 17 00:00:00 2001 From: Zack Rusin Date: Tue, 25 Nov 2003 15:30:03 +0000 Subject: Adding DBusServer wrapper. Switching some thingies, looking pretty and being cool... Anyway, we're done at a very basic level. I have to go back to something else now, but i'll try to commit an example sometime soon. --- qt/integrator.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'qt/integrator.h') diff --git a/qt/integrator.h b/qt/integrator.h index 71336e95..ef17d3d8 100644 --- a/qt/integrator.h +++ b/qt/integrator.h @@ -60,10 +60,12 @@ namespace DBusQt { Q_OBJECT public: - Integrator( Connection* parent ); + Integrator( DBusConnection *connection, QObject *parent ); + Integrator( DBusServer *server, QObject *parent ); signals: void readReady(); + void newConnection( Connection* ); protected slots: void slotRead( int ); @@ -76,10 +78,13 @@ namespace DBusQt void addTimeout( DBusTimeout* ); void removeTimeout( DBusTimeout* ); + + void handleConnection( DBusConnection* ); private: QIntDict m_watches; QPtrDict m_timeouts; - Connection* m_parent; + DBusConnection *m_connection; + DBusServer *m_server; }; } } -- cgit