aboutsummaryrefslogtreecommitdiff
path: root/sandbox/multithreading-tests/single-thread/listener.h
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/multithreading-tests/single-thread/listener.h')
-rw-r--r--sandbox/multithreading-tests/single-thread/listener.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/sandbox/multithreading-tests/single-thread/listener.h b/sandbox/multithreading-tests/single-thread/listener.h
deleted file mode 100644
index 9980f62a..00000000
--- a/sandbox/multithreading-tests/single-thread/listener.h
+++ /dev/null
@@ -1,30 +0,0 @@
-#ifndef LISTENER_H
-#define LISTENER_H
-
-#include <contextproperty.h>
-
-#include <QDebug>
-
-class Listener : public QObject
-{
- Q_OBJECT
-
-public:
- Listener()
- {
- cp = new ContextProperty("test.int");
- connect(cp, SIGNAL(valueChanged()), this, SLOT(onValueChanged()));
- }
-
- ContextProperty* cp;
-
-public slots:
- void onValueChanged()
- {
- qDebug() << "Listener::valueChanged()";
- qDebug() << "The value is:" << cp->value();
- exit(1);
- }
-};
-
-#endif