/* SPDX-FileCopyrightText: 2015 Marco Martin SPDX-License-Identifier: GPL-2.0-or-later */ #include "homescreen.h" #include #include #include #include HomeScreen::HomeScreen(QObject *parent, const QVariantList &args) : Plasma::Containment(parent, args) { setHasConfigurationInterface(true); connect(KWindowSystem::self(), &KWindowSystem::showingDesktopChanged, this, &HomeScreen::showingDesktopChanged); } HomeScreen::~HomeScreen() = default; void HomeScreen::configChanged() { Plasma::Containment::configChanged(); } bool HomeScreen::showingDesktop() const { return KWindowSystem::showingDesktop(); } void HomeScreen::setShowingDesktop(bool showingDesktop) { KWindowSystem::setShowingDesktop(showingDesktop); } K_PLUGIN_CLASS_WITH_JSON(HomeScreen, "metadata.json") #include "homescreen.moc"