From 4a64f8d229461abbe262ba66ee189d9c3fa4c5ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Wed, 2 Feb 2022 12:58:03 +0800 Subject: Conform to updated qrtclient & design --- controller.hxx | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'controller.hxx') 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 +#include #include #include +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 -- cgit v1.2.3