diff options
Diffstat (limited to 'interchange/catalog.hxx')
-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; }; |