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

#include <QObject>

class Worker : public QObject
{
	Q_OBJECT

	public:
		Worker();
		~Worker();

	public slots:
		void logIn(QString const& name, QString const& password);
		void search(QString const& owner);

	signals:
		void logged(struct rt_user* user);
		void foundTasks(struct rt_ticketlist* list);
};

#endif // WORKER_HXX