From 57f4130c1dde59a4c918f3ba64e3c7510de14ffc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Sun, 12 Feb 2023 18:25:04 +0800 Subject: Account info getter wrapper --- interchange/member.hxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'interchange') diff --git a/interchange/member.hxx b/interchange/member.hxx index 31b9cc6..4031f7e 100644 --- a/interchange/member.hxx +++ b/interchange/member.hxx @@ -85,7 +85,7 @@ namespace QInterchange { void logIn(QString const& username, QString const& password, QString const& failPage = nullptr); - + void account(); void setAccount(QString const& firstName, QString const& lastName, QString const& address1, @@ -102,6 +102,7 @@ namespace QInterchange { signals: void created(QString const& response); void loggedIn(QString const& response); + void gotAccount(QString const& response); void userNameChanged(); void userNickChanged(); void passwordChanged(); @@ -125,6 +126,7 @@ namespace QInterchange { protected: void emitCreation(QString const& response); void emitLogin(QString const& response); + void emitAccount(QString const& response); private: QString m_userName; -- cgit v1.2.3