From c3dce22abc40aa880d8b63ef5e7f1f0f02678e1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Thu, 2 Mar 2023 17:17:09 +0800 Subject: Make addProduct public --- interchange/catalog.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 roleNames() const Q_DECL_OVERRIDE; private: - void addProduct(Product const& product); QList products; struct interchange_catalog* m_data; }; -- cgit v1.2.3