From c1ac5962f0283b47780d850d5d507bcd5af1bf78 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: Tue, 21 Mar 2023 10:19:05 +0800 Subject: Rename created/ion to (setup)NewAccount --- interchange/member.hxx | 4 ++-- member.cxx | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/interchange/member.hxx b/interchange/member.hxx index 9b54493..526ac47 100644 --- a/interchange/member.hxx +++ b/interchange/member.hxx @@ -104,7 +104,7 @@ namespace QInterchange { void logOut(); signals: - void created(QString const& response); + void setupNewAccount(QString const& response); void loggedIn(QString const& response); void setAccount(QString const& response); void gotAccount(QString const& response); @@ -129,7 +129,7 @@ namespace QInterchange { void emailChanged(); protected: - void emitCreation(QString const& response); + void emitNewAccount(QString const& response); void emitLogin(QString const& response); void emitSetAccount(QString const& response); void emitAccount(QString const& response); diff --git a/member.cxx b/member.cxx index c716c83..6d3dc3b 100644 --- a/member.cxx +++ b/member.cxx @@ -134,7 +134,7 @@ namespace QInterchange { if (npCopy) free(npCopy); if (spCopy) free(spCopy); if (fpCopy) free(fpCopy); - member->emitCreation(QString{response->data}); + member->emitNewAccount(QString{response->data}); interchange_free_response(response); }, nullptr); } @@ -411,9 +411,9 @@ namespace QInterchange { interchange_member_logout(); } - void Member::emitCreation(QString const& response) + void Member::emitNewAccount(QString const& response) { - emit created(response); + emit setupNewAccount(response); } void Member::emitLogin(QString const& response) -- cgit v1.2.3