mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-27 14:33:08 +00:00
29 lines
785 B
C++
29 lines
785 B
C++
// SPDX-FileCopyrightText: 2015 Marco Martin <mart@kde.org>
|
|
// SPDX-FileCopyrightText: 2022 Devin Lin <devin@kde.org>
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <Plasma/Containment>
|
|
#include <QSortFilterProxyModel>
|
|
|
|
#include <applicationlistmodel.h>
|
|
#include <desktopmodel.h>
|
|
|
|
class HomeScreen : public Plasma::Containment
|
|
{
|
|
Q_OBJECT
|
|
Q_PROPERTY(bool showingDesktop READ showingDesktop WRITE setShowingDesktop NOTIFY showingDesktopChanged)
|
|
|
|
public:
|
|
HomeScreen(QObject *parent, const KPluginMetaData &data, const QVariantList &args);
|
|
~HomeScreen() override;
|
|
|
|
void configChanged() override;
|
|
|
|
bool showingDesktop() const;
|
|
void setShowingDesktop(bool showingDesktop);
|
|
|
|
Q_SIGNALS:
|
|
void showingDesktopChanged(bool showingDesktop);
|
|
};
|