aboutsummaryrefslogtreecommitdiff
path: root/sandbox/multithreading-tests/using-backend-from-thread/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/multithreading-tests/using-backend-from-thread/thread.h')
-rw-r--r--sandbox/multithreading-tests/using-backend-from-thread/thread.h39
1 files changed, 0 insertions, 39 deletions
diff --git a/sandbox/multithreading-tests/using-backend-from-thread/thread.h b/sandbox/multithreading-tests/using-backend-from-thread/thread.h
deleted file mode 100644
index cd77a298..00000000
--- a/sandbox/multithreading-tests/using-backend-from-thread/thread.h
+++ /dev/null
@@ -1,39 +0,0 @@
-#ifndef THREAD_H
-#define THREAD_H
-
-#include <contextproperty.h>
-#include <contextpropertyinfo.h>
-
-#include <QThread>
-#include <QDebug>
-
-class Listener : public QObject
-{
- Q_OBJECT
-
-public:
- Listener()
- {
- cp = new ContextProperty("test.int");
- qDebug() << "Provider is: " << cp->info()->providerDBusName();
- }
-
- ContextProperty* cp;
-};
-
-class Thread : public QThread
-{
- Q_OBJECT
-
-protected:
- void run()
- {
- qDebug() << "Thread::run(), and current thread is" << QThread::currentThread();
- Listener listener;
-
- qDebug() << "Returning from run";
- }
-
-};
-
-#endif