summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-02 17:17:09 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-02 17:17:09 +0800
commitc3dce22abc40aa880d8b63ef5e7f1f0f02678e1c (patch)
treebca52614b03ac0f43a04b04aab63b65454838351
parentd8d979db74055c1c73a9488c73501efcdbe8d2c2 (diff)
Make addProduct public
-rw-r--r--interchange/catalog.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/interchange/catalog.hxx b/interchange/catalog.hxx
index 8204d6b..9e96a3e 100644
--- a/interchange/catalog.hxx
+++ b/interchange/catalog.hxx
@@ -19,12 +19,12 @@ namespace QInterchange {
int rowCount(QModelIndex const& parent = QModelIndex()) const Q_DECL_OVERRIDE;
QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const Q_DECL_OVERRIDE;
struct interchange_catalog const* constData() const { return m_data; }
+ void addProduct(Product const& product);
protected:
QHash<int, QByteArray> roleNames() const Q_DECL_OVERRIDE;
private:
- void addProduct(Product const& product);
QList<Product> products;
struct interchange_catalog* m_data;
};