diff options
| author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-18 10:09:12 +0800 |
|---|---|---|
| committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-18 10:09:12 +0800 |
| commit | a7e82434ad76c9a254f81dd116b8efe4c7a7208e (patch) | |
| tree | a94c1de86d7833b66a524db62dd2c36109c4ad3a /interchange/admin.hxx | |
| parent | 4f0a8bdb67c1dea70e92465ff91bdefb6073dcdd (diff) | |
Interface for setting successPage
Diffstat (limited to 'interchange/admin.hxx')
| -rw-r--r-- | interchange/admin.hxx | 5 |
1 files changed, 3 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, |