┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/settings/startup/startupsettingspage.h
diff options
context:
space:
mode:
authorDimosthenis Krallis <[email protected]>2023-08-18 07:07:48 +0000
committerMéven Car <[email protected]>2023-08-18 07:07:48 +0000
commit489b56b68bb29e81337e115c490eea4403001b71 (patch)
tree4d88f18b937387cb2b8b025f1bdf7efde12f7c4f /src/settings/startup/startupsettingspage.h
parentf413e83a2266db274409dfc01bf157b74eea922a (diff)
Dolphin settings revamp
It includes a move of the settings in the Navigation and Startup sections to the Interface (formerly Behavior) section. It also includes a new tab in the View (formerly View Mode) section, called General where some settings regarding Display style, Browsing and Miscellaneous settings The Interface section has new tabs named Folders & Tabs and Status & Location bars respectively where most of the Startup and Navigation settings moved. The `dolphin/kcms/kcm_dolphinnavigation` kcm is removed.
Diffstat (limited to 'src/settings/startup/startupsettingspage.h')
-rw-r--r--src/settings/startup/startupsettingspage.h64
1 files changed, 0 insertions, 64 deletions
diff --git a/src/settings/startup/startupsettingspage.h b/src/settings/startup/startupsettingspage.h
deleted file mode 100644
index b1cf387fa..000000000
--- a/src/settings/startup/startupsettingspage.h
+++ /dev/null
@@ -1,64 +0,0 @@
-/*
- * SPDX-FileCopyrightText: 2008 Peter Penz <[email protected]>
- *
- * SPDX-License-Identifier: GPL-2.0-or-later
- */
-#ifndef STARTUPSETTINGSPAGE_H
-#define STARTUPSETTINGSPAGE_H
-
-#include "settings/settingspagebase.h"
-
-#include <QUrl>
-
-class QCheckBox;
-class QLineEdit;
-class QRadioButton;
-
-/**
- * @brief Page for the 'Startup' settings of the Dolphin settings dialog.
- *
- * The startup settings allow to set the home URL and to configure the
- * state of the view mode, split mode and the filter bar when starting Dolphin.
- */
-class StartupSettingsPage : public SettingsPageBase
-{
- Q_OBJECT
-
-public:
- StartupSettingsPage(const QUrl &url, QWidget *parent);
- ~StartupSettingsPage() override;
-
- /** @see SettingsPageBase::applySettings() */
- void applySettings() override;
-
- /** @see SettingsPageBase::restoreDefaults() */
- void restoreDefaults() override;
-
-private Q_SLOTS:
- void slotSettingsChanged();
- void updateInitialViewOptions();
- void selectHomeUrl();
- void useCurrentLocation();
- void useDefaultLocation();
-
-private:
- void loadSettings();
- void showSetDefaultDirectoryError();
-
-private:
- QUrl m_url;
- QLineEdit *m_homeUrl;
- QWidget *m_homeUrlBoxLayoutContainer;
- QWidget *m_buttonBoxLayoutContainer;
- QRadioButton *m_rememberOpenedTabsRadioButton;
- QRadioButton *m_homeUrlRadioButton;
-
- QCheckBox *m_splitView;
- QCheckBox *m_editableUrl;
- QCheckBox *m_showFullPath;
- QCheckBox *m_filterBar;
- QCheckBox *m_showFullPathInTitlebar;
- QCheckBox *m_openExternallyCalledFolderInNewTab;
-};
-
-#endif