summaryrefslogtreecommitdiff
path: root/qicclient
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-13 17:49:57 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-13 17:49:57 +0800
commitd6e1d66de6b539b6af4a7f517d84a07f17e75c2f (patch)
treece226a5aacb0de6cdee4494e60cfe5b888f96bba /qicclient
parentf91691a987aaca4a16a2ffe8d4ad3b6c6b8c8059 (diff)
gotResults now passes icclient_fetch_t*
so the signal can be connected to some slot.
Diffstat (limited to 'qicclient')
-rw-r--r--qicclient/admin.hxx2
-rw-r--r--qicclient/member.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/qicclient/admin.hxx b/qicclient/admin.hxx
index c123a2d..f242227 100644
--- a/qicclient/admin.hxx
+++ b/qicclient/admin.hxx
@@ -32,7 +32,7 @@ namespace QICClient {
QString const& successPage = nullptr,
QString const& nextPage = nullptr,
QString const& failPage = nullptr,
- icclient_handler handler = nullptr);
+ void (*handler)(icclient_fetch_t *) = nullptr);
QString const& userName() const { return m_userName; }
QString const& password() const { return m_password; }
diff --git a/qicclient/member.hxx b/qicclient/member.hxx
index 4e8010f..e2a3dcb 100644
--- a/qicclient/member.hxx
+++ b/qicclient/member.hxx
@@ -62,7 +62,7 @@ namespace QICClient {
QString const& successPage = nullptr,
QString const& nextPage = nullptr,
QString const& failPage = nullptr,
- icclient_handler handler = nullptr);
+ void (*handler)(icclient_fetch_t *) = nullptr);
QString const& userName() const { return m_userName; }
QString const& userNick() const { return m_userNick; }