diff options
| author | Manuel Traut <manut@mecka.net> | 2014-02-18 23:36:45 +0100 |
|---|---|---|
| committer | Manuel Traut <manut@mecka.net> | 2014-02-18 23:36:45 +0100 |
| commit | 07761742a5a104020c975f649bd188a950a4891c (patch) | |
| tree | e3b551f1f5680d2fc48a6ad4d84dde46727ac817 /frameworks/middleware/examples/xmpp/myclient.h | |
| parent | a9f5c60272e630c3de528dc773eb5af491a01e0a (diff) | |
middleware/xmpp: add an example
- this is a minimal qt client that can be used with a jabber/xmpp server
- have a look at the README file for the test setup
Signed-off-by: Manuel Traut <manut@mecka.net>
Diffstat (limited to 'frameworks/middleware/examples/xmpp/myclient.h')
| -rw-r--r-- | frameworks/middleware/examples/xmpp/myclient.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/frameworks/middleware/examples/xmpp/myclient.h b/frameworks/middleware/examples/xmpp/myclient.h new file mode 100644 index 0000000..22d864c --- /dev/null +++ b/frameworks/middleware/examples/xmpp/myclient.h @@ -0,0 +1,17 @@ +#ifndef CLIENT_H +#define CLIENT_H + +#include <qxmpp/QXmppClient.h> + +class MyClient : public QXmppClient +{ + Q_OBJECT +public: + MyClient(); + ~MyClient(); + +public slots: + void message_rx(const QXmppMessage&); +}; + +#endif |
