summaryrefslogtreecommitdiff
path: root/member.cxx
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-02-10 21:24:23 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-02-10 21:24:23 +0800
commitbe6b49c531478b06e8f88ad8609ed2e29fa27f47 (patch)
treef24c95bc64e549576956d1cad2e145831f0a8744 /member.cxx
parentfa11214a4e9181cff9f29e5774e09004ac5acfea (diff)
Account creation signal & emission
Diffstat (limited to 'member.cxx')
-rw-r--r--member.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/member.cxx b/member.cxx
index 610d7f0..86027d3 100644
--- a/member.cxx
+++ b/member.cxx
@@ -55,6 +55,7 @@ namespace QInterchange {
free(pwCopy);
free(vCopy);
free(fpCopy);
+ member->emitCreation(QString{response->data});
interchange_free_response(response);
}, nullptr);
}
@@ -361,6 +362,11 @@ namespace QInterchange {
setData(nullptr);
}
+ void Member::emitCreation(QString const& response)
+ {
+ emit created(response);
+ }
+
void Member::emitLogin(QString const& response)
{
emit loggedIn(response);