summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-12-29 08:45:39 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-12-29 08:45:39 +0800
commitbaefbee691355fccc6b64b0171d2f02959759a37 (patch)
tree4d05e872c76b7b7adde9263455eaf65f42c8676a
parent7079898ae28c6cc417ba8eadc4bd2466886bbc63 (diff)
Change loggedIn signal parameter type to IC client user
-rw-r--r--client.cxx2
-rw-r--r--qicclient/client.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/client.cxx b/client.cxx
index c0dd1c2..8484387 100644
--- a/client.cxx
+++ b/client.cxx
@@ -40,7 +40,7 @@ namespace ICClient {
, successPage.toLatin1().constData()
, nextPage.toLatin1().constData()
, failPage.toLatin1().constData());
- emit loggedIn(username);
+ emit loggedIn(user);
}
void Client::logOut()
diff --git a/qicclient/client.hxx b/qicclient/client.hxx
index 0fb01f8..ef8a5bf 100644
--- a/qicclient/client.hxx
+++ b/qicclient/client.hxx
@@ -60,7 +60,7 @@ namespace ICClient {
signals:
void gotAllProducts(icclient_catalog* catalog);
void ordered(icclient_ord_order* order);
- void loggedIn(QString const& userName);
+ void loggedIn(icclient_user* user);
void loggedOut();
};