]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/settings/general/behaviorsettingspage.h
Add clang-format and format code as in Frameworks
[dolphin.git] / src / settings / general / behaviorsettingspage.h
index 16a3e95c2eff235b3a555f7a80a4db43669672fa..ba8ce6384343e90d3f9ec82750f71cc72d71256c 100644 (file)
@@ -1,28 +1,15 @@
-/***************************************************************************
- *   Copyright (C) 2006 by Peter Penz                                      *
- *   peter.penz@gmx.at                                                     *
- *                                                                         *
- *   This program is free software; you can redistribute it and/or modify  *
- *   it under the terms of the GNU General Public License as published by  *
- *   the Free Software Foundation; either version 2 of the License, or     *
- *   (at your option) any later version.                                   *
- *                                                                         *
- *   This program is distributed in the hope that it will be useful,       *
- *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
- *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
- *   GNU General Public License for more details.                          *
- *                                                                         *
- *   You should have received a copy of the GNU General Public License     *
- *   along with this program; if not, write to the                         *
- *   Free Software Foundation, Inc.,                                       *
- *   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA            *
- ***************************************************************************/
+/*
+ * SPDX-FileCopyrightText: 2006 Peter Penz <peter.penz@gmx.at>
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ */
 #ifndef BEHAVIORSETTINGSPAGE_H
 #define BEHAVIORSETTINGSPAGE_H
 
-#include <settings/settingspagebase.h>
-#include <QUrl>
 #include "dolphin_generalsettings.h"
+#include "settings/settingspagebase.h"
+
+#include <QUrl>
 
 class QCheckBox;
 class QLabel;
@@ -36,7 +23,7 @@ class BehaviorSettingsPage : public SettingsPageBase
     Q_OBJECT
 
 public:
-    BehaviorSettingsPage(const QUrl &url, QWidgetparent);
+    BehaviorSettingsPage(const QUrl &url, QWidget *parent);
     ~BehaviorSettingsPage() override;
 
     /** @see SettingsPageBase::applySettings() */
@@ -47,25 +34,26 @@ public:
 
 private:
     void loadSettings();
-    void setSortingChoiceValue(GeneralSettingssettings);
+    void setSortingChoiceValue(GeneralSettings *settings);
     void loadSortingChoiceSettings();
 
 private:
     QUrl m_url;
 
-    QRadioButtonm_localViewProps;
-    QRadioButtonm_globalViewProps;
+    QRadioButton *m_localViewProps;
+    QRadioButton *m_globalViewProps;
 
-    QCheckBoxm_showToolTips;
-    QLabelm_configureToolTips;
-    QCheckBoxm_showSelectionToggle;
+    QCheckBox *m_showToolTips;
+    QLabel *m_configureToolTips;
+    QCheckBox *m_showSelectionToggle;
 
-    QRadioButtonm_naturalSorting;
-    QRadioButtonm_caseSensitiveSorting;
-    QRadioButtonm_caseInsensitiveSorting;
+    QRadioButton *m_naturalSorting;
+    QRadioButton *m_caseSensitiveSorting;
+    QRadioButton *m_caseInsensitiveSorting;
 
-    QCheckBox* m_renameInline;
-    QCheckBox* m_useTabForSplitViewSwitch;
+    QCheckBox *m_renameInline;
+    QCheckBox *m_useTabForSplitViewSwitch;
+    QCheckBox *m_closeActiveSplitView;
 };
 
 #endif