diff options
Diffstat (limited to 'libcontextsubscriber/sandbox/messaging-to-self/mythread.h')
-rw-r--r-- | libcontextsubscriber/sandbox/messaging-to-self/mythread.h | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/libcontextsubscriber/sandbox/messaging-to-self/mythread.h b/libcontextsubscriber/sandbox/messaging-to-self/mythread.h deleted file mode 100644 index 4170ccf8..00000000 --- a/libcontextsubscriber/sandbox/messaging-to-self/mythread.h +++ /dev/null @@ -1,32 +0,0 @@ -#ifndef MYTHREAD_H -#define MYTHREAD_H - -#include <QThread> -#include <QDebug> -#include "myobject.h" - -class MyThread : public QThread -{ - Q_OBJECT - -private: - MyObject *obj; - -public: - MyThread(MyObject *obj) : obj(obj) - { - } - -protected: - void run() - { - qDebug() << QThread::currentThread(); - obj->queueOnce("five"); - obj->queueOnce("six"); - obj->queueOnce("five"); - obj->queueOnce("five"); - obj->queueOnce("six"); - obj->queueOnce("seven"); - } -}; -#endif |