summaryrefslogtreecommitdiff
path: root/qicclient/catalog.hxx
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-18 15:33:05 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-18 15:33:05 +0800
commita01bfc11355f041eb4225d5d104fee83e17db444 (patch)
tree64e8333c21de36d8ef80e011a6c99e5cf3551c9f /qicclient/catalog.hxx
parent4870212610b467e6fca26639b8fb129c04f300dc (diff)
Simplify catalog and product
Diffstat (limited to 'qicclient/catalog.hxx')
-rw-r--r--qicclient/catalog.hxx10
1 files changed, 2 insertions, 8 deletions
diff --git a/qicclient/catalog.hxx b/qicclient/catalog.hxx
index 7d4dda2..244f4f0 100644
--- a/qicclient/catalog.hxx
+++ b/qicclient/catalog.hxx
@@ -14,17 +14,11 @@ namespace QICClient {
public:
Catalog(icclient_catalog* catalog, QObject* parent = nullptr);
- Catalog(QObject* parent = nullptr) : QAbstractListModel{parent} {}
+ ~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; }
- public slots:
- void update(Catalog* catalog);
-
- signals:
- void updated();
-
protected:
QHash<int, QByteArray> roleNames() const Q_DECL_OVERRIDE;
@@ -36,4 +30,4 @@ namespace QICClient {
}
-#endif // QICCLIENT_CATALOG_HXX
+#endif