diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2020-07-16 11:01:25 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2020-07-16 11:01:25 +0800 |
commit | 54ed8aaa4f989196b76334b5fb84e5bbc846bc0e (patch) | |
tree | 9f8fd4fd36c0555b0d7484a049439aa2959cba4e /qicclient | |
parent | e790f72bdbea00c353709dc5a9920527121eb57c (diff) |
Member data is emptied on logOut
Diffstat (limited to 'qicclient')
-rw-r--r-- | qicclient/member.hxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/qicclient/member.hxx b/qicclient/member.hxx index b81d4ea..631a8aa 100644 --- a/qicclient/member.hxx +++ b/qicclient/member.hxx @@ -75,7 +75,6 @@ namespace QICClient { void changePassword(QString const& passwordOld, QString const& password, QString const& verify) {} - void logOut(); QString const& userName() const { return m_userName; } QString const& userNick() const { return m_userNick; } @@ -117,6 +116,9 @@ namespace QICClient { void setPhoneDay(QString const& phoneDay); void setEmail(QString const& email); + public slots: + void logOut(); + signals: void userNameChanged(); void userNickChanged(); @@ -159,6 +161,7 @@ namespace QICClient { QString m_phoneDay; QString m_email; icclient_member* m_data; + void setData(icclient_member* data); }; } |