diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2020-07-16 21:29:55 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2020-07-16 21:29:55 +0800 |
commit | a385d4f20c81b190ac2556c9d57eaccd79f98cd5 (patch) | |
tree | bbbb8a1247043ebc59cf8c9e88d3bce86029eb9a /qicclient/member.hxx | |
parent | 3f8fd4249c5ddcf2cd5952c64678cb0a484669bf (diff) |
Implement changePassword
Diffstat (limited to 'qicclient/member.hxx')
-rw-r--r-- | qicclient/member.hxx | 19 |
1 files changed, 9 insertions, 10 deletions
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: |