summaryrefslogtreecommitdiff
path: root/qicclient/catalog.hxx
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-18 21:31:37 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-18 21:31:37 +0800
commit582ad4435408bdc19a007315e2c41770174cd606 (patch)
tree31abd30ae87ecf62410509e5d10663549206a8e1 /qicclient/catalog.hxx
parenta01bfc11355f041eb4225d5d104fee83e17db444 (diff)
Conform to updated libicclient function names
Diffstat (limited to 'qicclient/catalog.hxx')
-rw-r--r--qicclient/catalog.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/qicclient/catalog.hxx b/qicclient/catalog.hxx
index 244f4f0..4deeff3 100644
--- a/qicclient/catalog.hxx
+++ b/qicclient/catalog.hxx
@@ -13,11 +13,11 @@ namespace QICClient {
Q_OBJECT
public:
- Catalog(icclient_catalog* catalog, QObject* parent = nullptr);
+ Catalog(struct icclient_catalog* catalog, QObject* parent = nullptr);
~Catalog();
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* constData() const { return m_data; }
+ struct icclient_catalog const* constData() const { return m_data; }
protected:
QHash<int, QByteArray> roleNames() const Q_DECL_OVERRIDE;
@@ -25,7 +25,7 @@ namespace QICClient {
private:
void addProduct(Product const& product);
QList<Product> products;
- icclient_catalog* m_data;
+ struct icclient_catalog* m_data;
};
}