File indexing completed on 2024-11-10 04:56:52
0001 /* 0002 KWin - the KDE window manager 0003 This file is part of the KDE project. 0004 0005 SPDX-FileCopyrightText: 2020 Cyril Rossi <cyril.rossi@enioka.com> 0006 0007 SPDX-License-Identifier: GPL-2.0-or-later 0008 */ 0009 0010 #include "kwintabboxdata.h" 0011 0012 #include "kwinpluginssettings.h" 0013 #include "kwinswitcheffectsettings.h" 0014 #include "kwintabboxsettings.h" 0015 #include "shortcutsettings.h" 0016 0017 namespace KWin 0018 { 0019 namespace TabBox 0020 { 0021 0022 KWinTabboxData::KWinTabboxData(QObject *parent) 0023 : KCModuleData(parent) 0024 , m_tabBoxConfig(new TabBoxSettings(QStringLiteral("TabBox"), this)) 0025 , m_tabBoxAlternativeConfig(new TabBoxSettings(QStringLiteral("TabBoxAlternative"), this)) 0026 , m_pluginsConfig(new PluginsSettings(this)) 0027 , m_shortcutConfig(new ShortcutSettings(this)) 0028 { 0029 registerSkeleton(m_tabBoxConfig); 0030 registerSkeleton(m_tabBoxAlternativeConfig); 0031 registerSkeleton(m_shortcutConfig); 0032 } 0033 0034 TabBoxSettings *KWinTabboxData::tabBoxConfig() const 0035 { 0036 return m_tabBoxConfig; 0037 } 0038 0039 TabBoxSettings *KWinTabboxData::tabBoxAlternativeConfig() const 0040 { 0041 return m_tabBoxAlternativeConfig; 0042 } 0043 0044 PluginsSettings *KWinTabboxData::pluginsConfig() const 0045 { 0046 return m_pluginsConfig; 0047 } 0048 0049 ShortcutSettings *KWinTabboxData::shortcutConfig() const 0050 { 0051 return m_shortcutConfig; 0052 } 0053 } 0054 } 0055 0056 #include "moc_kwintabboxdata.cpp"