From 98dab0eebc3dc0f567be3f80ab129cbcc71738db Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Mon, 13 Apr 2020 14:48:20 +0300 Subject: app: Fixes and some monior tweaks to the qml file - app.pro: Remove depends on windowmanager and homescreen when building - app: Fake an event - adjust the window size - add the app state events Signed-off-by: Marius Vlad --- app/onscreenmodel.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'app/onscreenmodel.h') diff --git a/app/onscreenmodel.h b/app/onscreenmodel.h index e12b269..4227cf8 100644 --- a/app/onscreenmodel.h +++ b/app/onscreenmodel.h @@ -35,10 +35,9 @@ public: Q_INVOKABLE int buttonNum(void) const {return m_buttons.size();} Q_INVOKABLE QString buttonName(int index) const; Q_INVOKABLE void setModel(QVariant data); + Q_INVOKABLE void clearModel(void); private: - void clearModel(void); - QString m_title; QString m_type; QString m_contents; -- cgit 1.2.3-korg