d11daecce5
Allow to display a dot in the category list when settings has changed from default. CCBUG: 426775
50 lines
1.1 KiB
C++
50 lines
1.1 KiB
C++
/*
|
|
KWin - the KDE window manager
|
|
This file is part of the KDE project.
|
|
|
|
SPDX-FileCopyrightText: 2020 Cyril Rossi <cyril.rossi@enioka.com>
|
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
#ifndef KWINTABBOXDATA_H
|
|
#define KWINTABBOXDATA_H
|
|
|
|
#include <QObject>
|
|
|
|
#include <KCModuleData>
|
|
|
|
namespace KWin
|
|
{
|
|
namespace TabBox
|
|
{
|
|
class TabBoxSettings;
|
|
class SwitchEffectSettings;
|
|
class PluginsSettings;
|
|
|
|
class KWinTabboxData : public KCModuleData
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit KWinTabboxData(QObject *parent = nullptr, const QVariantList &args = QVariantList());
|
|
|
|
TabBoxSettings *tabBoxConfig() const;
|
|
TabBoxSettings *tabBoxAlternativeConfig() const;
|
|
SwitchEffectSettings *coverSwitchConfig() const;
|
|
SwitchEffectSettings *flipSwitchConfig() const;
|
|
PluginsSettings *pluginsConfig() const;
|
|
|
|
private:
|
|
TabBoxSettings *m_tabBoxConfig;
|
|
TabBoxSettings *m_tabBoxAlternativeConfig;
|
|
SwitchEffectSettings *m_coverSwitchConfig;
|
|
SwitchEffectSettings *m_flipSwitchConfig;
|
|
PluginsSettings *m_pluginsConfig;
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif // KWINTABBOXDATA_H
|