/* SPDX-FileCopyrightText: 2015 Marco Martin SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef HOMESCREEN_H #define HOMESCREEN_H #include class QQuickItem; class ApplicationListModel; class FavoritesModel; class HomeScreen : public Plasma::Containment { Q_OBJECT Q_PROPERTY(bool showingDesktop READ showingDesktop WRITE setShowingDesktop NOTIFY showingDesktopChanged) public: HomeScreen(QObject *parent, const QVariantList &args); ~HomeScreen() override; void configChanged() override; bool showingDesktop() const; void setShowingDesktop(bool showingDesktop); Q_INVOKABLE void stackBefore(QQuickItem *item1, QQuickItem *item2); Q_INVOKABLE void stackAfter(QQuickItem *item1, QQuickItem *item2); Q_SIGNALS: void showingDesktopChanged(bool showingDesktop); protected: // void configChanged() override; private: bool m_showAllApps = false; }; #endif