From 07761742a5a104020c975f649bd188a950a4891c Mon Sep 17 00:00:00 2001 From: Manuel Traut Date: Tue, 18 Feb 2014 23:36:45 +0100 Subject: 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 --- frameworks/middleware/examples/xmpp/myclient.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 frameworks/middleware/examples/xmpp/myclient.h (limited to 'frameworks/middleware/examples/xmpp/myclient.h') 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 + +class MyClient : public QXmppClient +{ + Q_OBJECT +public: + MyClient(); + ~MyClient(); + +public slots: + void message_rx(const QXmppMessage&); +}; + +#endif -- cgit v1.2.3