diff options
-rw-r--r-- | member.cxx | 14 | ||||
-rw-r--r-- | qicclient/member.hxx | 14 |
2 files changed, 19 insertions, 9 deletions
@@ -17,6 +17,20 @@ namespace QICClient { handler)); } + void Member::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) + { + icclient_member_account(firstName.toLatin1().constData(), + lastName.toLatin1().constData(), + address1.toLatin1().constData(), + address2.toLatin1().constData(), + city.toLatin1().constData(), state.toLatin1().constData(), + zip.toLatin1().constData(), email.toLatin1().constData(), + phoneDay.toLatin1().constData()); + } + void Member::logOut() { icclient_member_logout(m_data); diff --git a/qicclient/member.hxx b/qicclient/member.hxx index 631a8aa..aac831e 100644 --- a/qicclient/member.hxx +++ b/qicclient/member.hxx @@ -63,15 +63,6 @@ namespace QICClient { QString const& failPage = nullptr, size_t (*handler)(void*, size_t, size_t, void*) = nullptr); - 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) {} @@ -117,6 +108,11 @@ namespace QICClient { void setEmail(QString const& email); 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 logOut(); signals: |