Diffstat (limited to 'x11/libqpe-x11/qt/qcopchannel_qws.h') (more/less context) (show whitespace changes)
-rw-r--r-- | x11/libqpe-x11/qt/qcopchannel_qws.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/x11/libqpe-x11/qt/qcopchannel_qws.h b/x11/libqpe-x11/qt/qcopchannel_qws.h index b0a6ce0..94b199e 100644 --- a/x11/libqpe-x11/qt/qcopchannel_qws.h +++ b/x11/libqpe-x11/qt/qcopchannel_qws.h @@ -1,11 +1,12 @@ #ifndef OPIE_QCOP_CHANNEL_QWS_H #define OPIE_QCOP_CHANNEL_QWS_H #include <qobject.h> #include <qcstring.h> +#include <qlist.h> class OCOPClient; class QCopChannel : public QObject { Q_OBJECT public: QCopChannel( const QCString& channel, QObject* parent = 0, @@ -17,22 +18,23 @@ public: static bool isRegistered( const QCString& channel ); static bool send( const QCString& channel, const QCString& msg ); static bool send( const QCString& channel, const QCString& msg, const QByteArray& ); static bool sendLocally( const QCString& chan, const QCString& msg, const QByteArray& data ); + void receive( const QCString& msg, const QByteArray& ar ); signals: void received( const QCString& msg, const QByteArray& ); private slots: void rev( const QCString& chan, const QCString&, const QByteArray& ); private: void init(); - OCOPClient* m_client; + static QList<QCopChannel> *m_list; /* the channel */ QCString m_chan; class Private; Private *d; }; |