summaryrefslogtreecommitdiff
path: root/qicclient
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2020-06-30 18:02:59 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2020-06-30 18:02:59 +0800
commit9aea7c06c3702b313aea183e841df94a27b8c06a (patch)
tree271ca9cd2dfa6199fe08fe68401ebfcbd13fc815 /qicclient
parent30da849074d90ecd7baaf7705aee81149c732dcd (diff)
Catalog uses similar term as previous commit
Diffstat (limited to 'qicclient')
-rw-r--r--qicclient/catalog.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/qicclient/catalog.hxx b/qicclient/catalog.hxx
index 7f1dcfd..d643d2e 100644
--- a/qicclient/catalog.hxx
+++ b/qicclient/catalog.hxx
@@ -17,7 +17,7 @@ namespace ICClient {
Catalog(QObject* parent = nullptr) : QAbstractListModel{parent} {}
int rowCount(QModelIndex const& parent = QModelIndex()) const Q_DECL_OVERRIDE;
QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const Q_DECL_OVERRIDE;
- icclient_catalog const* c_catalog() const { return catalog; }
+ icclient_catalog const* constData() const { return m_data; }
public slots:
void update(Catalog* catalog);
@@ -31,7 +31,7 @@ namespace ICClient {
private:
void addProduct(Product const& product);
QList<Product> products;
- icclient_catalog* catalog;
+ icclient_catalog* m_data;
};
}