]> cloud.milkyroute.net Git - dolphin.git/blob - src/settings/navigation/navigationsettingspage.h
Add clang-format and format code as in Frameworks
[dolphin.git] / src / settings / navigation / navigationsettingspage.h
1 /*
2 * SPDX-FileCopyrightText: 2009 Peter Penz <peter.penz19@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 #ifndef NAVIGATIONSETTINGSPAGE_H
7 #define NAVIGATIONSETTINGSPAGE_H
8
9 #include "settings/settingspagebase.h"
10
11 class QCheckBox;
12 class QRadioButton;
13
14 /**
15 * @brief Page for the 'Navigation' settings of the Dolphin settings dialog.
16 */
17 class NavigationSettingsPage : public SettingsPageBase
18 {
19 Q_OBJECT
20
21 public:
22 explicit NavigationSettingsPage(QWidget *parent);
23 ~NavigationSettingsPage() override;
24
25 /** @see SettingsPageBase::applySettings() */
26 void applySettings() override;
27
28 /** @see SettingsPageBase::restoreDefaults() */
29 void restoreDefaults() override;
30
31 private:
32 void loadSettings();
33
34 private:
35 QCheckBox *m_openArchivesAsFolder;
36 QCheckBox *m_autoExpandFolders;
37 QRadioButton *m_openNewTabAfterLastTab;
38 QRadioButton *m_openNewTabAfterCurrentTab;
39 };
40
41 #endif