summaryrefslogtreecommitdiff
path: root/controller.hxx
diff options
context:
space:
mode:
authorAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2019-08-29 17:50:57 +0700
committerAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2019-08-29 17:50:57 +0700
commit933fa1019041966c908967567523e6f972da8186 (patch)
tree2e8316ef83e479d6b396293e06509771eaecffbf /controller.hxx
parenteeacda8d7edf463738d4527c377bc44e869a02c6 (diff)
parentc8891b50d1f30c7c07bf96f8eaf2e1002ce573b8 (diff)
Merge branch 'development' of ssh://darapsa.co.id/usr/local/git/kelakon into development
* 'development' of ssh://darapsa.co.id/usr/local/git/kelakon: Set up a way for the thread to quit Renamed NetworkWorker to just Worker
Diffstat (limited to 'controller.hxx')
-rw-r--r--controller.hxx18
1 files changed, 18 insertions, 0 deletions
diff --git a/controller.hxx b/controller.hxx
new file mode 100644
index 0000000..e293ec4
--- /dev/null
+++ b/controller.hxx
@@ -0,0 +1,18 @@
+#ifndef CONTROLLER_HXX
+#define CONTROLLER_HXX
+
+#include <QThread>
+
+class Controller : public QObject
+{
+ Q_OBJECT
+
+ public:
+ Controller();
+ ~Controller();
+
+ private:
+ QThread thread;
+};
+
+#endif // CONTROLLER_HXX