From 61c312c1e059b97ff131d375af78c7362bb0fc5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=20=EA=A6=AB=EA=A6=B6=20=EA=A6=8F=EA=A7=80?= =?UTF-8?q?=EA=A6=A6=EA=A6=BF=20=EA=A6=A7=20=EA=A6=AE=20=EA=A6=91=20?= =?UTF-8?q?=EA=A6=A9=20=EA=A6=AD=EA=A7=80?= Date: Thu, 19 Sep 2019 18:22:41 +0800 Subject: Separated userShow from logIn Each emitting different signals --- qrtclient/client.hxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'qrtclient') 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); }; -- cgit v1.2.3