diff options
| author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-10-22 18:08:56 +0800 |
|---|---|---|
| committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-10-22 18:08:56 +0800 |
| commit | 560a47463ec705715b4ce5f53a39030feb48e305 (patch) | |
| tree | a00f752859accc00bc4b4f28a9480ef17ed53821 /client.cxx | |
| parent | 0a94e177d28a1257dbe9cd4b8ff3c97fba3dfd46 (diff) | |
order is not a slot and takes a catalog argument
Diffstat (limited to 'client.cxx')
| -rw-r--r-- | client.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -21,6 +21,12 @@ namespace ICClient { emit gotAllProducts(catalog); } + void Client::order(QString const& sku, icclient_catalog* catalog) + { + icclient_ord_order* order = nullptr; + icclient_order(&order, sku.toLatin1().constData(), catalog); + } + void Client::logIn(QString const& username, QString const& password) { icclient_login(username.toLatin1().constData() |