summaryrefslogtreecommitdiff
path: root/x11/libqpe-x11/qt/qcopchannel_qws.h
authorzecke <zecke>2002-10-15 21:38:43 (UTC)
committer zecke <zecke>2002-10-15 21:38:43 (UTC)
commitb774e015816e51ac65e5d1c685306f8404a3a19e (patch) (side-by-side diff)
treeccb4881ffce2a027b6c0b95854623bb713b69554 /x11/libqpe-x11/qt/qcopchannel_qws.h
parentfb99aec5215da635abfa28288d170f110114bba3 (diff)
downloadopie-b774e015816e51ac65e5d1c685306f8404a3a19e.zip
opie-b774e015816e51ac65e5d1c685306f8404a3a19e.tar.gz
opie-b774e015816e51ac65e5d1c685306f8404a3a19e.tar.bz2
More OPIE X11 Stuff
Some empty stubs to compile against Qt2/X it will not link though
Diffstat (limited to 'x11/libqpe-x11/qt/qcopchannel_qws.h') (more/less context) (ignore whitespace changes)
-rw-r--r--x11/libqpe-x11/qt/qcopchannel_qws.h40
1 files changed, 40 insertions, 0 deletions
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 <qobject.h>
+#include <qcstring.h>
+
+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