summaryrefslogtreecommitdiff
path: root/interchange
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-01-16 07:09:31 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-01-16 07:09:31 +0800
commitfa5129b1b4443c948c998f8eeb6dd191cf2a549e (patch)
tree3671ebdb81ed26c064d9804dcb63dcadbe1017f6 /interchange
parent1e3acb613c9bfcc87c88aa6bfde2b21330dd7dd3 (diff)
Conform to failpage param
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,