summaryrefslogtreecommitdiff
path: root/interchange
diff options
context:
space:
mode:
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,