summaryrefslogtreecommitdiff
path: root/interchange
diff options
context:
space:
mode:
Diffstat (limited to 'interchange')
-rw-r--r--interchange/admin.hxx4
-rw-r--r--interchange/member.hxx7
2 files changed, 8 insertions, 3 deletions
diff --git a/interchange/admin.hxx b/interchange/admin.hxx
index 34597c2..2c0d86b 100644
--- a/interchange/admin.hxx
+++ b/interchange/admin.hxx
@@ -37,7 +37,9 @@ namespace QInterchange {
void setSuper(bool super);
public slots:
- void logIn(QString const& username, QString const& password);
+ void logIn(QString const& username,
+ QString const& password,
+ QString const& failPage = nullptr);
void newAdmin(QString const& userName, QString const& password, QString const& name, bool super,
enum interchange_admin_group group);
void newItem(QString const& description, QString const& comment, QString const& price,
diff --git a/interchange/member.hxx b/interchange/member.hxx
index c75c7a3..2cd9c49 100644
--- a/interchange/member.hxx
+++ b/interchange/member.hxx
@@ -101,8 +101,11 @@ namespace QInterchange {
public slots:
void newAccount(QString const& username,
QString const& password,
- QString const& confirm);
- void logIn(QString const& username, QString const& password);
+ QString const& confirm,
+ QString const& failPage = nullptr);
+ void logIn(QString const& username,
+ 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,