KWin
Loading...
Searching...
No Matches
main.h
Go to the documentation of this file.
1/*
2 KWin - the KDE window manager
3 This file is part of the KDE project.
4
5 SPDX-FileCopyrightText: 2009 Martin Gräßlin <mgraesslin@kde.org>
6 SPDX-FileCopyrightText: 2020 Cyril Rossi <cyril.rossi@enioka.com>
7 SPDX-FileCopyrightText: 2023 Ismael Asensio <isma.af@gmail.com>
8
9 SPDX-License-Identifier: GPL-2.0-or-later
10*/
11
12#pragma once
13
14#include <kcmodule.h>
15#include <ksharedconfig.h>
16
17namespace KWin
18{
19class KWinTabBoxConfigForm;
20namespace TabBox
21{
22class KWinTabboxData;
23class TabBoxSettings;
24}
25
26class KWinTabBoxConfig : public KCModule
27{
28 Q_OBJECT
29
30public:
31 explicit KWinTabBoxConfig(QObject *parent, const KPluginMetaData &data);
33
34public Q_SLOTS:
35 void save() override;
36 void load() override;
37 void defaults() override;
38
39private Q_SLOTS:
40 void updateUnmanagedState();
41 void configureEffectClicked();
42
43private:
44 void initLayoutLists();
45 void createConnections(KWinTabBoxConfigForm *form);
46
47private:
48 KWinTabBoxConfigForm *m_primaryTabBoxUi = nullptr;
49 KWinTabBoxConfigForm *m_alternativeTabBoxUi = nullptr;
50 KSharedConfigPtr m_config;
51
53};
54
55} // namespace
void load() override
void defaults() override
void save() override
~KWinTabBoxConfig() override
KWinTabBoxConfig(QObject *parent, const KPluginMetaData &data)