From b774e015816e51ac65e5d1c685306f8404a3a19e Mon Sep 17 00:00:00 2001 From: zecke Date: Tue, 15 Oct 2002 21:38:43 +0000 Subject: More OPIE X11 Stuff Some empty stubs to compile against Qt2/X it will not link though --- (limited to 'x11/libqpe-x11/qt/qcopchannel_qws.h') diff --git a/x11/libqpe-x11/qt/qcopchannel_qws.h b/x11/libqpe-x11/qt/qcopchannel_qws.h new file mode 100644 index 0000000..b0a6ce0 --- a/dev/null +++ b/x11/libqpe-x11/qt/qcopchannel_qws.h @@ -0,0 +1,40 @@ +#ifndef OPIE_QCOP_CHANNEL_QWS_H +#define OPIE_QCOP_CHANNEL_QWS_H + +#include +#include + +class OCOPClient; +class QCopChannel : public QObject { + Q_OBJECT +public: + QCopChannel( const QCString& channel, QObject* parent = 0, + const char* name = 0); + virtual ~QCopChannel(); + + QCString channel()const; + + 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 ); + +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; + /* the channel */ + QCString m_chan; + class Private; + Private *d; + +}; + +#endif -- cgit v0.9.0.2