summaryrefslogtreecommitdiff
path: root/controller.hxx
blob: 66a3cd40f794ac5a9bb0c971b3ad0fe5c9bdbfbe (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>

struct rtclient_user;

class Controller : public QObject
{
	Q_OBJECT

	public:
		Controller(QObject* parent = nullptr);
		~Controller();

	signals:
		void checked(QString const& name);

	private:
		QThread thread;
		RTClient::TicketList* taskList;
};

#endif // CONTROLLER_HXX