mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
32 lines
642 B
C++
32 lines
642 B
C++
/**
|
|
* SPDX-FileCopyrightText: 2022 Devin Lin <devin@kde.org>
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
#include <KPluginFactory>
|
|
|
|
#include <KConfigGroup>
|
|
#include <KQuickManagedConfigModule>
|
|
#include <KSharedConfig>
|
|
|
|
class KCMMobileShell : public KQuickManagedConfigModule
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
KCMMobileShell(QObject *parent, const KPluginMetaData &data)
|
|
: KQuickManagedConfigModule(parent, data)
|
|
{
|
|
setButtons({});
|
|
}
|
|
|
|
Q_SIGNALS:
|
|
void navigationPanelEnabledChanged();
|
|
|
|
private:
|
|
KSharedConfig::Ptr m_config;
|
|
};
|
|
|
|
K_PLUGIN_CLASS_WITH_JSON(KCMMobileShell, "kcm_navigation.json")
|
|
|
|
#include "kcm.moc"
|