summaryrefslogtreecommitdiff
path: root/qrtclient
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-19 18:22:41 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-19 18:22:41 +0800
commit61c312c1e059b97ff131d375af78c7362bb0fc5a (patch)
tree7a7734c41832786a5842450ed9cbea95e314f740 /qrtclient
parent0b05904d38acb050ead71ad256d59f70b9c9fe87 (diff)
Separated userShow from logIn
Each emitting different signals
Diffstat (limited to 'qrtclient')
-rw-r--r--qrtclient/client.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/qrtclient/client.hxx b/qrtclient/client.hxx
index 2cdccd2..08f5b29 100644
--- a/qrtclient/client.hxx
+++ b/qrtclient/client.hxx
@@ -43,6 +43,8 @@ namespace RTClient {
, rtclient_timezone timeZone = RTCLIENT_TIMEZONE_NONE
, bool disabled = false
, bool privileged = false);
+ void userShow(unsigned int id);
+ void userShow(QString const& name);
void ticketNew(QString const& queue = nullptr
, QString const& requestor = nullptr
, QString const& subject = nullptr
@@ -60,7 +62,8 @@ namespace RTClient {
void ticketSearch(QString const& owner);
signals:
- void logged(rtclient_user* user);
+ void loggedIn(QString const& name);
+ void userShown(rtclient_user* user);
void foundTickets(rtclient_ticketlist* list);
};