diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-02 17:17:09 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-02 17:17:09 +0800 |
commit | c3dce22abc40aa880d8b63ef5e7f1f0f02678e1c (patch) | |
tree | bca52614b03ac0f43a04b04aab63b65454838351 | |
parent | d8d979db74055c1c73a9488c73501efcdbe8d2c2 (diff) |
Make addProduct public
-rw-r--r-- | interchange/catalog.hxx | 2 |
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; }; |