summaryrefslogtreecommitdiff
path: root/interchange
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-18 10:09:12 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-18 10:09:12 +0800
commita7e82434ad76c9a254f81dd116b8efe4c7a7208e (patch)
treea94c1de86d7833b66a524db62dd2c36109c4ad3a /interchange
parent4f0a8bdb67c1dea70e92465ff91bdefb6073dcdd (diff)
Interface for setting successPage
Diffstat (limited to 'interchange')
-rw-r--r--interchange/admin.hxx5
-rw-r--r--interchange/member.hxx2
2 files changed, 5 insertions, 2 deletions
diff --git a/interchange/admin.hxx b/interchange/admin.hxx
index 1f00df4..4642e76 100644
--- a/interchange/admin.hxx
+++ b/interchange/admin.hxx
@@ -39,8 +39,9 @@ namespace QInterchange {
public slots:
void logIn(QString const& username,
QString const& password,
- QString const& nextPage = nullptr,
- QString const& failPage = nullptr);
+ QString const& nextPage = "",
+ QString const& successPage = "",
+ QString const& failPage = "");
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 5137071..9b54493 100644
--- a/interchange/member.hxx
+++ b/interchange/member.hxx
@@ -82,10 +82,12 @@ namespace QInterchange {
QString const& password,
QString const& confirm,
QString const& nextPage = "",
+ QString const& successPage = "",
QString const& failPage = "");
void logIn(QString const& userName,
QString const& passWord,
QString const& nextPage = "",
+ QString const& successPage = "",
QString const& failPage = "");
void account();
void setAccount(QString const& firstName,