summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--interchange/member.hxx12
-rw-r--r--member.cxx15
2 files changed, 17 insertions, 10 deletions
diff --git a/interchange/member.hxx b/interchange/member.hxx
index 18891ca..31b9cc6 100644
--- a/interchange/member.hxx
+++ b/interchange/member.hxx
@@ -86,10 +86,14 @@ namespace QInterchange {
QString const& password,
QString const& failPage = 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,
+ void setAccount(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);
diff --git a/member.cxx b/member.cxx
index 86027d3..fd6167e 100644
--- a/member.cxx
+++ b/member.cxx
@@ -334,17 +334,20 @@ namespace QInterchange {
if (m_data != data) m_data = data;
}
- void Member::account(QString const& firstName, QString const& lastName,
- QString const& address1, QString const& address2,
- QString const& city, QString const& state, QString const& zip,
+ void Member::setAccount(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)
{
- interchange_member_account(firstName.toLatin1().constData(),
+ interchange_member_setaccount(firstName.toLatin1().constData(),
lastName.toLatin1().constData(),
address1.toLatin1().constData(),
address2.toLatin1().constData(),
- city.toLatin1().constData(), state.toLatin1().constData(),
- zip.toLatin1().constData(), email.toLatin1().constData(),
+ city.toLatin1().constData(),
+ state.toLatin1().constData(),
+ zip.toLatin1().constData(),
+ email.toLatin1().constData(),
phoneDay.toLatin1().constData());
}