summaryrefslogtreecommitdiff
path: root/controller.hxx
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-07-12 12:17:45 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-07-12 12:17:45 +0800
commit088159182a5a6d3533a7812b48323125fefc1e61 (patch)
tree968e5dd4ddabd16b90b830ec11fe2cc667a89862 /controller.hxx
parente5429cf6eb8f83be50b4fb7d764375f7c3713265 (diff)
Init shop client right away
to avoid it getting re-initialised if we ever need to request catalog again.
Diffstat (limited to 'controller.hxx')
-rw-r--r--controller.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/controller.hxx b/controller.hxx
index f0f3a1f..13b981d 100644
--- a/controller.hxx
+++ b/controller.hxx
@@ -11,9 +11,11 @@ class Controller : public QObject
~Controller();
public slots:
void signUp(QString const& brand);
- void catalog(QString const& brand);
+ void allProducts(QString const& brand);
signals:
void pushed();
+ protected:
+ void link(QString const& brand);
};
#endif