summaryrefslogtreecommitdiff
path: root/qicclient
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2020-07-11 10:03:41 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2020-07-11 10:03:41 +0800
commitbd37f0cf61b9c520a7f9289919312fadff56b942 (patch)
treecc382933f0d992abdbacee0c11003e007f8f164d /qicclient
parentf4f583a3e3bb2afa66b1b780f3a9e1f67e2d3494 (diff)
Rename icclient_user to icclient_member
Diffstat (limited to 'qicclient')
-rw-r--r--qicclient/client.hxx6
-rw-r--r--qicclient/user.hxx4
2 files changed, 5 insertions, 5 deletions
diff --git a/qicclient/client.hxx b/qicclient/client.hxx
index c6344f7..26d540d 100644
--- a/qicclient/client.hxx
+++ b/qicclient/client.hxx
@@ -3,7 +3,7 @@
#include <QObject>
-struct icclient_user;
+struct icclient_member;
namespace QICClient {
@@ -57,7 +57,7 @@ namespace QICClient {
Basket& order);
void logIn(size_t (*handler)(void*, size_t, size_t, void*),
- icclient_user* user,
+ icclient_member* member,
QString const& username,
QString const& password,
QString const& successPage = nullptr,
@@ -94,7 +94,7 @@ namespace QICClient {
signals:
void gotResults(Catalog* catalog);
void gotFlyPage(shared_ptr<Product> product);
- void loggedIn(icclient_user* user);
+ void loggedIn(icclient_member* member);
void loggedOut();
};
diff --git a/qicclient/user.hxx b/qicclient/user.hxx
index a100b8d..bb3ca00 100644
--- a/qicclient/user.hxx
+++ b/qicclient/user.hxx
@@ -4,7 +4,7 @@
#include <QObject>
#include <icclient/member.h>
-struct icclient_user;
+struct icclient_member;
namespace QICClient {
@@ -97,7 +97,7 @@ namespace QICClient {
void setEmail(QString const& email);
public slots:
- void update(icclient_user* user);
+ void update(icclient_member* member);
signals:
void userNameChanged();