shift-shell/containments/homescreens/halcyon/homescreen.h
Devin Lin 1d3ceb5801 homescreens/halcyon: Add settings page
Add a settings page to halcyon, which allows for toggling whether the
wallpaper is blurred and double tapping on the homescreen to lock the
device. This also does a bit of refactoring for folio and halcyon to
share the same wallpaper blurring item.
2025-06-26 18:57:12 -04:00

26 lines
590 B
C++

// SPDX-FileCopyrightText: 2022 Devin Lin <devin@kde.org>
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <Plasma/Containment>
#include "halcyonsettings.h"
class HomeScreen : public Plasma::Containment
{
Q_OBJECT
Q_PROPERTY(HalcyonSettings *settings READ settings CONSTANT)
public:
HomeScreen(QObject *parent, const KPluginMetaData &data, const QVariantList &args);
~HomeScreen() override;
HalcyonSettings *settings() const;
Q_SIGNALS:
void showingDesktopChanged(bool showingDesktop);
private:
HalcyonSettings *m_settings{nullptr};
};