2022-02-13 04:23:57 +00:00
|
|
|
/**
|
|
|
|
|
* SPDX-FileCopyrightText: 2022 Devin Lin <devin@kde.org>
|
|
|
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#include <KPluginFactory>
|
|
|
|
|
|
2023-06-10 08:53:50 +00:00
|
|
|
#include <KConfigGroup>
|
|
|
|
|
#include <KQuickManagedConfigModule>
|
|
|
|
|
#include <KSharedConfig>
|
2022-02-13 04:23:57 +00:00
|
|
|
|
2023-06-10 08:53:50 +00:00
|
|
|
class KCMMobileShell : public KQuickManagedConfigModule
|
2022-02-13 04:23:57 +00:00
|
|
|
{
|
2023-06-10 08:53:50 +00:00
|
|
|
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_mobileshell.json")
|
2022-02-13 04:23:57 +00:00
|
|
|
|
|
|
|
|
#include "kcm.moc"
|