diff options
| author | Dimosthenis Krallis <[email protected]> | 2023-08-18 07:07:48 +0000 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2023-08-18 07:07:48 +0000 |
| commit | 489b56b68bb29e81337e115c490eea4403001b71 (patch) | |
| tree | 4d88f18b937387cb2b8b025f1bdf7efde12f7c4f /src/settings/kcm/kcmdolphinnavigation.cpp | |
| parent | f413e83a2266db274409dfc01bf157b74eea922a (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/kcm/kcmdolphinnavigation.cpp')
| -rw-r--r-- | src/settings/kcm/kcmdolphinnavigation.cpp | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/src/settings/kcm/kcmdolphinnavigation.cpp b/src/settings/kcm/kcmdolphinnavigation.cpp deleted file mode 100644 index dd4756d8b..000000000 --- a/src/settings/kcm/kcmdolphinnavigation.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/* - * SPDX-FileCopyrightText: 2009 Peter Penz <[email protected]> - * - * SPDX-License-Identifier: GPL-2.0-or-later - */ - -#include "kcmdolphinnavigation.h" - -#include "settings/navigation/navigationsettingspage.h" -#include <kconfigwidgets_version.h> - -#include <KPluginFactory> - -#include <QVBoxLayout> - -K_PLUGIN_CLASS_WITH_JSON(DolphinNavigationConfigModule, "kcmdolphinnavigation.json") - -DolphinNavigationConfigModule::DolphinNavigationConfigModule(QWidget *parent, const QVariantList &args) - : KCModule(parent, args) - , m_navigation(nullptr) -{ - setButtons(KCModule::Default | KCModule::Help | KCModule::Apply); - - QVBoxLayout *topLayout = new QVBoxLayout(this); - topLayout->setContentsMargins(0, 0, 0, 0); - - m_navigation = new NavigationSettingsPage(this); - connect(m_navigation, &NavigationSettingsPage::changed, this, &DolphinNavigationConfigModule::markAsChanged); - topLayout->addWidget(m_navigation, 0, {}); -} - -DolphinNavigationConfigModule::~DolphinNavigationConfigModule() -{ -} - -void DolphinNavigationConfigModule::save() -{ - m_navigation->applySettings(); -} - -void DolphinNavigationConfigModule::defaults() -{ - m_navigation->restoreDefaults(); -} - -#include "kcmdolphinnavigation.moc" - -#include "moc_kcmdolphinnavigation.cpp" |
