summaryrefslogtreecommitdiff
path: root/interchange
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-02-12 18:25:04 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-02-12 18:25:04 +0800
commit57f4130c1dde59a4c918f3ba64e3c7510de14ffc (patch)
tree805d79c0104017bc41fedb53f4291bb5b1504705 /interchange
parentc7dabec166533a096fc9e06e797cac8636a75dda (diff)
Account info getter wrapper
Diffstat (limited to 'interchange')
-rw-r--r--interchange/member.hxx4
1 files changed, 3 insertions, 1 deletions
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;