mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-06-11 08:57:21 +00:00
Detect the device class, stage the selected experience, and write the resulting setup choices through SetupState. Load the new device and experience modules before the existing setup pages, and use the Shift icon on the finished page.
21 lines
407 B
C++
21 lines
407 B
C++
// SPDX-FileCopyrightText: 2023 Devin Lin <devin@kde.org>
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#include <KConfig>
|
|
#include <KSharedConfig>
|
|
#include <QObject>
|
|
|
|
class Settings : public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
Settings(QObject *parent = nullptr);
|
|
static Settings *self();
|
|
|
|
bool shouldStartWizard();
|
|
void setWizardFinished();
|
|
|
|
private:
|
|
KSharedConfig::Ptr m_mobileConfig;
|
|
};
|