summaryrefslogtreecommitdiff
path: root/controller.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'controller.hxx')
-rw-r--r--controller.hxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/controller.hxx b/controller.hxx
index dcfdb7c..8eb4017 100644
--- a/controller.hxx
+++ b/controller.hxx
@@ -4,6 +4,8 @@
#include <QThread>
#include <qrtclient/ticket.hxx>
+struct rtclient_user;
+
class Controller : public QObject
{
Q_OBJECT
@@ -12,6 +14,13 @@ class Controller : public QObject
Controller(QObject* parent = nullptr);
~Controller();
+ signals:
+ void checked(rtclient_user* user);
+ void checked(QString const& name);
+
+ private slots:
+ void check(rtclient_user* user);
+
private:
QThread thread;
RTClient::TicketList* taskList;