You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
619 B
28 lines
619 B
/* |
|
SPDX-FileCopyrightText: 1999 Matthias Hoelzer-Kluepfel <hoelzer@kde.org> |
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later |
|
*/ |
|
|
|
#pragma once |
|
|
|
#include <KPluginMetaData> |
|
#include <QCommandLineParser> |
|
|
|
class KCMInit : public QObject |
|
{ |
|
Q_OBJECT |
|
Q_CLASSINFO("D-Bus Interface", "org.kde.KCMInit") |
|
public Q_SLOTS: // dbus |
|
Q_SCRIPTABLE void runPhase1(); |
|
|
|
public: |
|
explicit KCMInit(const QCommandLineParser &args); |
|
~KCMInit() override; |
|
|
|
private: |
|
bool runModule(const KPluginMetaData &data); |
|
void runModules(int phase); |
|
QVector<KPluginMetaData> m_list; |
|
QStringList m_alreadyInitialized; |
|
};
|
|
|