summaryrefslogtreecommitdiff
path: root/qicclient
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-27 16:21:02 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-27 16:21:02 +0800
commitf3bdb1378aba6e9ed2ff6a6b30931c9045680301 (patch)
tree5f09610dcd15a8cc46888c3bf018d4c5bfdcefef /qicclient
parentfaad7cb0e18d3316173b1f4b67d83ffdfb7424d1 (diff)
Make the catalog update slot public
Diffstat (limited to 'qicclient')
-rw-r--r--qicclient/catalog.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/qicclient/catalog.hxx b/qicclient/catalog.hxx
index 27b4c8e..782c864 100644
--- a/qicclient/catalog.hxx
+++ b/qicclient/catalog.hxx
@@ -61,15 +61,15 @@ namespace ICClient {
, int role = Qt::DisplayRole
) const Q_DECL_OVERRIDE;
+ public slots:
+ void update(icclient_catalog* catalog);
+
signals:
void updated();
protected:
QHash<int, QByteArray> roleNames() const Q_DECL_OVERRIDE;
- private slots:
- void update(icclient_catalog* catalog);
-
private:
QList<Product> products;
void addProduct(Product const& product);