diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2022-02-02 12:58:03 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2022-02-02 12:58:03 +0800 |
commit | 4a64f8d229461abbe262ba66ee189d9c3fa4c5ff (patch) | |
tree | f8159059fc2b25bf3840fd68289b6f0315a0aab6 /controller.hxx | |
parent | 8a9b4521d3e1b68d35ab6221f6317329be7e8122 (diff) |
Conform to updated qrtclient & design
Diffstat (limited to 'controller.hxx')
-rw-r--r-- | controller.hxx | 17 |
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 |