From a385d4f20c81b190ac2556c9d57eaccd79f98cd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=20=EA=A6=AB=EA=A6=B6=20=EA=A6=8F=EA=A7=80?= =?UTF-8?q?=EA=A6=A6=EA=A6=BF=20=EA=A6=A7=20=EA=A6=AE=20=EA=A6=91=20?= =?UTF-8?q?=EA=A6=A9=20=EA=A6=AD=EA=A7=80?= Date: Thu, 16 Jul 2020 21:29:55 +0800 Subject: Implement changePassword --- qicclient/member.hxx | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'qicclient') diff --git a/qicclient/member.hxx b/qicclient/member.hxx index aac831e..86289c0 100644 --- a/qicclient/member.hxx +++ b/qicclient/member.hxx @@ -57,16 +57,6 @@ namespace QICClient { {} ~Member() {} - void logIn(QString const& username, QString const& password, - QString const& successPage = nullptr, - QString const& nextPage = nullptr, - QString const& failPage = nullptr, - size_t (*handler)(void*, size_t, size_t, - void*) = nullptr); - void changePassword(QString const& passwordOld, - QString const& password, - QString const& verify) {} - QString const& userName() const { return m_userName; } QString const& userNick() const { return m_userNick; } QString const& password() const { return m_password; } @@ -107,12 +97,21 @@ namespace QICClient { void setPhoneDay(QString const& phoneDay); void setEmail(QString const& email); + void logIn(QString const& username, QString const& password, + QString const& successPage = nullptr, + QString const& nextPage = nullptr, + QString const& failPage = nullptr, + size_t (*handler)(void*, size_t, size_t, + void*) = nullptr); + public slots: void account(QString const& firstName, QString const& lastName, QString const& address1, QString const& address2, QString const& city, QString const& state, QString const& zip, QString const& email, QString const& phoneDay); + void changePassword(QString const& passwordOld, + QString const& password, QString const& verify); void logOut(); signals: -- cgit v1.2.3