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.
34 lines
801 B
34 lines
801 B
/* |
|
SPDX-FileCopyrightText: 2017 Roman Gilg <subdiff@gmail.com> |
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later |
|
*/ |
|
#pragma once |
|
|
|
#include <KQuickAddons/ManagedConfigModule> |
|
|
|
#include "nightcolorsettings.h" |
|
|
|
class NightColorData; |
|
|
|
namespace ColorCorrect |
|
{ |
|
class KCMNightColor : public KQuickAddons::ManagedConfigModule |
|
{ |
|
Q_OBJECT |
|
|
|
Q_PROPERTY(NightColorSettings *nightColorSettings READ nightColorSettings CONSTANT) |
|
Q_PROPERTY(QString worldMapFile MEMBER worldMapFile CONSTANT) |
|
public: |
|
KCMNightColor(QObject *parent, const KPluginMetaData &data, const QVariantList &args); |
|
~KCMNightColor() override = default; |
|
|
|
NightColorSettings *nightColorSettings() const; |
|
Q_INVOKABLE bool isIconThemeBreeze(); |
|
|
|
private: |
|
NightColorData *const m_data; |
|
QString worldMapFile; |
|
}; |
|
|
|
}
|
|
|