diff options
author | Zack Rusin <zack@kde.org> | 2004-01-26 07:46:55 +0000 |
---|---|---|
committer | Zack Rusin <zack@kde.org> | 2004-01-26 07:46:55 +0000 |
commit | d138ac8d1f41699ce9d4156e0a479d4d708240e7 (patch) | |
tree | 0e20be97115299a938e1ccfcc89049e0e159d1fa /qt/message.h | |
parent | f02a9001f27ef47f70373aaf426d976ae5187f9e (diff) |
Slightily modified patch from Alex (blarf). I'll have to rething the access
to dbus internals from the wrappers.
Diffstat (limited to 'qt/message.h')
-rw-r--r-- | qt/message.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/qt/message.h b/qt/message.h index a74a77a3..2524a7a6 100644 --- a/qt/message.h +++ b/qt/message.h @@ -25,6 +25,7 @@ #include <qvariant.h> #include <qstring.h> +#include <qstringlist.h> #include "dbus/dbus.h" @@ -36,7 +37,7 @@ namespace DBusQt { class iterator { public: iterator(); - iterator( const iterator & ); + iterator( const iterator& ); iterator( DBusMessage* msg ); ~iterator(); @@ -49,13 +50,15 @@ namespace DBusQt { bool operator!=( const iterator& it ); QVariant var() const; - private: + protected: + QVariant marshallBaseType( DBusMessageIter* i ); void fillVar(); struct IteratorData; IteratorData *d; }; Message( int messageType ); + Message( DBusMessage * );//hide this one from the public implementation Message( const QString& service, const QString& path, const QString& interface, const QString& method ); Message( const Message& replayingTo ); @@ -115,6 +118,7 @@ namespace DBusQt { //Message& operator<<(); protected: + friend class Connection; DBusMessage* message() const; private: |