summaryrefslogtreecommitdiff
path: root/controller.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'controller.hxx')
-rw-r--r--controller.hxx17
1 files changed, 7 insertions, 10 deletions
diff --git a/controller.hxx b/controller.hxx
index f92527c..1709aab 100644
--- a/controller.hxx
+++ b/controller.hxx
@@ -1,25 +1,22 @@
#ifndef CONTROLLER_HXX
#define CONTROLLER_HXX
-#include <QThread>
+#include <qrtclient.hxx>
#include <qrtclient/ticket.hxx>
#include <qrtclient/tickethistory.hxx>
+using namespace RTClient;
+
class Controller : public QObject
{
Q_OBJECT
-
public:
Controller(QObject* parent = nullptr);
~Controller();
-
- signals:
- void checked(QString const& name);
-
private:
- QThread thread;
- RTClient::TicketList* ticketList;
- RTClient::TicketHistoryList* ticketHistoryList;
+ Client* rt;
+ TicketList* ticketList;
+ TicketHistoryList* historyList;
};
-#endif // CONTROLLER_HXX
+#endif