diff options
Diffstat (limited to 'libcontextsubscriber/sandbox/messaging-to-self/myobject.h')
-rw-r--r-- | libcontextsubscriber/sandbox/messaging-to-self/myobject.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/libcontextsubscriber/sandbox/messaging-to-self/myobject.h b/libcontextsubscriber/sandbox/messaging-to-self/myobject.h deleted file mode 100644 index 155ebf3b..00000000 --- a/libcontextsubscriber/sandbox/messaging-to-self/myobject.h +++ /dev/null @@ -1,35 +0,0 @@ -#ifndef MYOBJECT_H -#define MYOBJECT_H - -#include "queuedinvoker.h" -#include <QDebug> -#include <QThread> - -class MyObject : public QueuedInvoker -{ - Q_OBJECT - -private: - int x; - -public: - MyObject() : x(0) - { - } - - Q_INVOKABLE void five() - { - qDebug() << "MyObject::five" << QThread::currentThread() << ++x; - } - Q_INVOKABLE void six() - { - qDebug() << "MyObject::six" << QThread::currentThread() << ++x; - } - Q_INVOKABLE void seven() - { - qDebug() << "MyObject::seven" << QThread::currentThread() << ++x; - } -}; -#endif - - |