diff options
| author | Zack Rusin <zack@kde.org> | 2003-11-25 15:30:03 +0000 | 
|---|---|---|
| committer | Zack Rusin <zack@kde.org> | 2003-11-25 15:30:03 +0000 | 
| commit | 6d9f72b9e651d90fcbd191b43b5e91ba7bd63789 (patch) | |
| tree | 0cf6c6c4c660cd3d61d5d3e642a66d981011f44e /qt/integrator.h | |
| parent | 27f6dca9ce4680dbbe8dc20a862f5ad63b709609 (diff) | |
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.
Diffstat (limited to 'qt/integrator.h')
| -rw-r--r-- | qt/integrator.h | 9 | 
1 files changed, 7 insertions, 2 deletions
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<Watch> m_watches;        QPtrDict<Timeout> m_timeouts; -      Connection* m_parent; +      DBusConnection *m_connection; +      DBusServer *m_server;      };    }  }  | 
