kwin/kcmkwin/kwinscripts/kwinscriptsdata.h
Cyril Rossi 8a79f38de8 KCM KWinScripts implement KCModuleData to highlight default at module level
Use highlight in KPluginSelector
Also remove PluginKeyword in .desktop file
2021-01-05 08:53:04 +00:00

32 lines
610 B
C++

/*
SPDX-FileCopyrightText: 2020 Cyril Rossi <cyril.rossi@enioka.com>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef KWINSCRIPTSDATA_H
#define KWINSCRIPTSDATA_H
#include <QObject>
#include <QList>
#include <KCModuleData>
#include <KPluginInfo>
#include <KSharedConfig>
class KWinScriptsData : public KCModuleData
{
Q_OBJECT
public:
KWinScriptsData(QObject *parent = nullptr, const QVariantList &args = QVariantList());
bool isDefaults() const override;
QList<KPluginInfo> pluginInfoList() const;
private:
KSharedConfigPtr m_kwinConfig;
};
#endif // KWINSCRIPTSDATA_H