]> cloud.milkyroute.net Git - dolphin.git/blob - src/settings/viewmodes/viewsettingspage.h
Add clang-format and format code as in Frameworks
[dolphin.git] / src / settings / viewmodes / viewsettingspage.h
1 /*
2 * SPDX-FileCopyrightText: 2006 Peter Penz <peter.penz@gmx.at>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 #ifndef VIEWSETTINGSPAGE_H
7 #define VIEWSETTINGSPAGE_H
8
9 #include "settings/settingspagebase.h"
10
11 class ViewSettingsTab;
12 class QWidget;
13
14 /**
15 * @brief Page for the 'View' settings of the Dolphin settings dialog.
16 *
17 * The views settings allow to set the properties for the icons mode,
18 * the details mode and the column mode.
19 */
20 class ViewSettingsPage : public SettingsPageBase
21 {
22 Q_OBJECT
23
24 public:
25 explicit ViewSettingsPage(QWidget *parent);
26 ~ViewSettingsPage() override;
27
28 /** @see SettingsPageBase::applySettings() */
29 void applySettings() override;
30
31 /** @see SettingsPageBase::restoreDefaults() */
32 void restoreDefaults() override;
33
34 private:
35 QList<ViewSettingsTab *> m_tabs;
36 };
37
38 #endif