Warning, file /plasma/plasma-mobile/containments/homescreens/folio/homescreen.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 // SPDX-FileCopyrightText: 2015 Marco Martin <mart@kde.org>
0002 // SPDX-FileCopyrightText: 2022 Devin Lin <devin@kde.org>
0003 // SPDX-License-Identifier: GPL-2.0-or-later
0004 
0005 #pragma once
0006 
0007 #include <Plasma/Containment>
0008 #include <QSortFilterProxyModel>
0009 
0010 #include <applicationlistmodel.h>
0011 #include <desktopmodel.h>
0012 
0013 class HomeScreen : public Plasma::Containment
0014 {
0015     Q_OBJECT
0016     Q_PROPERTY(bool showingDesktop READ showingDesktop WRITE setShowingDesktop NOTIFY showingDesktopChanged)
0017 
0018 public:
0019     HomeScreen(QObject *parent, const KPluginMetaData &data, const QVariantList &args);
0020     ~HomeScreen() override;
0021 
0022     void configChanged() override;
0023 
0024     bool showingDesktop() const;
0025     void setShowingDesktop(bool showingDesktop);
0026 
0027 Q_SIGNALS:
0028     void showingDesktopChanged(bool showingDesktop);
0029 };