]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/settings/general/behaviorsettingspage.h
Output of licensedigger + manual cleanup afterwards.
[dolphin.git] / src / settings / general / behaviorsettingspage.h
index 6e491696c8b9298311e82455c975cf544be690c0..b054e6d35e83599c95420ee901b1abc752f6000f 100644 (file)
@@ -1,26 +1,14 @@
-/***************************************************************************
- *   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 "dolphin_generalsettings.h"
+#include "settings/settingspagebase.h"
+
 #include <QUrl>
 
 class QCheckBox;
@@ -36,16 +24,18 @@ class BehaviorSettingsPage : public SettingsPageBase
 
 public:
     BehaviorSettingsPage(const QUrl &url, QWidget* parent);
-    virtual ~BehaviorSettingsPage();
+    ~BehaviorSettingsPage() override;
 
     /** @see SettingsPageBase::applySettings() */
-    virtual void applySettings() Q_DECL_OVERRIDE;
+    void applySettings() override;
 
     /** @see SettingsPageBase::restoreDefaults() */
-    virtual void restoreDefaults() Q_DECL_OVERRIDE;
+    void restoreDefaults() override;
 
 private:
     void loadSettings();
+    void setSortingChoiceValue(GeneralSettings* settings);
+    void loadSortingChoiceSettings();
 
 private:
     QUrl m_url;
@@ -56,8 +46,14 @@ private:
     QCheckBox* m_showToolTips;
     QLabel* m_configureToolTips;
     QCheckBox* m_showSelectionToggle;
-    QCheckBox* m_naturalSorting;
+
+    QRadioButton* m_naturalSorting;
+    QRadioButton* m_caseSensitiveSorting;
+    QRadioButton* m_caseInsensitiveSorting;
+
     QCheckBox* m_renameInline;
+    QCheckBox* m_useTabForSplitViewSwitch;
+    QCheckBox* m_closeActiveSplitView;
 };
 
 #endif