]> cloud.milkyroute.net Git - dolphin.git/blob - src/settings/kcm/kcmdolphinviewmodes.h
Port to Qt6
[dolphin.git] / src / settings / kcm / kcmdolphinviewmodes.h
1 /*
2 * SPDX-FileCopyrightText: 2008 Peter Penz <peter.penz19@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
7 #ifndef KCMDOLPHINVIEWMODES_H
8 #define KCMDOLPHINVIEWMODES_H
9
10 #include <KCModule>
11
12 class ViewSettingsTab;
13
14 /**
15 * @brief Allow to configure the Dolphin views.
16 */
17 class DolphinViewModesConfigModule : public KCModule
18 {
19 Q_OBJECT
20
21 public:
22 DolphinViewModesConfigModule(QObject *parent, const KPluginMetaData &data);
23 ~DolphinViewModesConfigModule() override;
24
25 void save() override;
26 void defaults() override;
27
28 private:
29 void reparseConfiguration();
30
31 private Q_SLOTS:
32 void viewModeChanged();
33
34 private:
35 QList<ViewSettingsTab *> m_tabs;
36 };
37
38 #endif