summaryrefslogtreecommitdiff
path: root/qicclient/basket.hxx
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2020-06-29 15:38:47 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2020-06-29 15:38:47 +0800
commit228307e324190e760dc298ef84c3ffb29d4c8237 (patch)
tree36f97ddb46c12ac98fb81b5969dbf6c64b474702 /qicclient/basket.hxx
parenta2a5964bddaf61c830f9a2a2a9bf6226c0168e64 (diff)
C++ instances keep a pointer to the C version
Diffstat (limited to 'qicclient/basket.hxx')
-rw-r--r--qicclient/basket.hxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/qicclient/basket.hxx b/qicclient/basket.hxx
index 019b165..f5665cd 100644
--- a/qicclient/basket.hxx
+++ b/qicclient/basket.hxx
@@ -54,9 +54,7 @@ namespace ICClient {
double subtotal() const { return m_subtotal; }
double shipping() const { return m_shipping; }
double totalCost() const { return m_totalCost; }
-
- public slots:
- void update(icclient_ord_order* order);
+ icclient_ord_order* c_order() { return order; }
signals:
void rowCountChanged();
@@ -73,6 +71,7 @@ namespace ICClient {
double m_subtotal;
double m_shipping;
double m_totalCost;
+ icclient_ord_order* order;
};
}