author | zecke <zecke> | 2002-10-15 21:38:43 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-10-15 21:38:43 (UTC) |
commit | b774e015816e51ac65e5d1c685306f8404a3a19e (patch) (unidiff) | |
tree | ccb4881ffce2a027b6c0b95854623bb713b69554 /x11/libqpe-x11/qt/qcopchannel_qws.h | |
parent | fb99aec5215da635abfa28288d170f110114bba3 (diff) | |
download | opie-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.h | 40 |
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 @@ | |||
1 | #ifndef OPIE_QCOP_CHANNEL_QWS_H | ||
2 | #define OPIE_QCOP_CHANNEL_QWS_H | ||
3 | |||
4 | #include <qobject.h> | ||
5 | #include <qcstring.h> | ||
6 | |||
7 | class OCOPClient; | ||
8 | class QCopChannel : public QObject { | ||
9 | Q_OBJECT | ||
10 | public: | ||
11 | QCopChannel( const QCString& channel, QObject* parent = 0, | ||
12 | const char* name = 0); | ||
13 | virtual ~QCopChannel(); | ||
14 | |||
15 | QCString channel()const; | ||
16 | |||
17 | static bool isRegistered( const QCString& channel ); | ||
18 | static bool send( const QCString& channel, const QCString& msg ); | ||
19 | static bool send( const QCString& channel, const QCString& msg, | ||
20 | const QByteArray& ); | ||
21 | static bool sendLocally( const QCString& chan, const QCString& msg, | ||
22 | const QByteArray& data ); | ||
23 | |||
24 | signals: | ||
25 | void received( const QCString& msg, const QByteArray& ); | ||
26 | |||
27 | private slots: | ||
28 | void rev( const QCString& chan, const QCString&, const QByteArray& ); | ||
29 | |||
30 | private: | ||
31 | void init(); | ||
32 | OCOPClient* m_client; | ||
33 | /* the channel */ | ||
34 | QCString m_chan; | ||
35 | class Private; | ||
36 | Private *d; | ||
37 | |||
38 | }; | ||
39 | |||
40 | #endif | ||