diff options
author | Harri Porten <porten@kde.org> | 2002-12-25 11:37:20 +0000 |
---|---|---|
committer | Harri Porten <porten@kde.org> | 2002-12-25 11:37:20 +0000 |
commit | 0d1de7612dc9e9649e59064bca5610357888a382 (patch) | |
tree | 7ffc5d82c5f7fbd4fe8a42056929195da03e65da /qt | |
parent | e8c4af7880a261378ee3efea06e365de66c166cf (diff) |
adjusted ctor and getter function to KDE/Qt conventions
Diffstat (limited to 'qt')
-rw-r--r-- | qt/dbus-qt.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/qt/dbus-qt.h b/qt/dbus-qt.h index aaa343fe..9490c666 100644 --- a/qt/dbus-qt.h +++ b/qt/dbus-qt.h @@ -32,11 +32,12 @@ class DBusQtConnection : public QObject { Q_OBJECT public: - DBusQtConnection( QObject *parent=0, const char *address=0 ); + DBusQtConnection( const char *address=0, QObject *parent=0, + const char *name=0 ); bool open( const char *address ); bool isConnected() const; - int getNumberOfMessages() const; + int numMessages() const; public slots: void disconnect(); @@ -56,17 +57,17 @@ private: class DBusQtNotifier : public QObject { Q_OBJECT public: - static DBusQtNotifier* dbus_qt_notifier (); - void addConnection (DBusConnection* connection); + static DBusQtNotifier* dbus_qt_notifier(); + void addConnection(DBusConnection* connection); signals: void message (DBusConnection* connection, DBusMessage* message); private: - DBusQtNotifier (QObject *parent); + DBusQtNotifier(QObject *parent); private slots: void processNotifiers( int socket ); private: - //implemnted in terms of QSocketNotifiers + //implemented in terms of QSocketNotifiers QAsciiDict<DBusConnection> mReadNotifiers; QAsciiDict<DBusConnection> mWriteNotifiers; }; |