diff options
| author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-11-18 19:25:35 +0700 |
|---|---|---|
| committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-11-18 19:25:35 +0700 |
| commit | 2bf032f097da081fc45ff7249f789bdfe142fd28 (patch) | |
| tree | f45764a8bef15d3a8a5a51c8949052fba2e8c3a6 /client.cxx | |
| parent | 5b388f581333d9d3eee1c993054354243be13183 (diff) | |
logIn takes page arguments and is not a slot any more
Diffstat (limited to 'client.cxx')
| -rw-r--r-- | client.cxx | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -29,11 +29,15 @@ namespace ICClient { emit ordered(order); } - void Client::logIn(QString const& username, QString const& password) + void Client::logIn(QString const& username, QString const& password + , QString const& successPage, QString const& nextPage + , QString const& failPage) { icclient_login(username.toLatin1().constData() - , password.toLatin1().constData(), nullptr, nullptr - , nullptr); + , password.toLatin1().constData() + , successPage.toLatin1().constData() + , nextPage.toLatin1().constData() + , failPage.toLatin1().constData()); emit loggedIn(username); } |