summaryrefslogtreecommitdiff
path: root/controller.hxx
blob: f92527c4c26b6c112ab167218aeb2cbedec2b553 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef CONTROLLER_HXX
#define CONTROLLER_HXX

#include <QThread>
#include <qrtclient/ticket.hxx>
#include <qrtclient/tickethistory.hxx>

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;
};

#endif // CONTROLLER_HXX