--- /dev/null
+#ifndef TESTPROG_H
+#define TESTPROG_H
+
+#include <QObject>
+#include <QDebug>
+#include "tpsession.h"
+#include "tpsessionaccount.h"
+
+
+class TestProg : public QObject
+{
+ Q_OBJECT
+public:
+ TestProg(QString addr,QString msg);
+public slots:
+ void onAccountReady(TpSessionAccount *);
+ void onMessageReceived(const Tp::ReceivedMessage &,TpSessionAccount *);
+private:
+ QString address;
+ QString message;
+ TpSession* tps;
+};
+
+#endif // TESTPROG_H