┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/settings/services/servicessettingspage.h
diff options
context:
space:
mode:
authorDuong Do Minh Chau <[email protected]>2020-11-12 16:38:44 +0700
committerElvis Angelaccio <[email protected]>2020-12-28 20:18:31 +0000
commita512176b4bdbf0f0471a9b9089f4a936c14e2732 (patch)
tree51f1ecf98d29b9994af950d9ca2fb0085f29e337 /src/settings/services/servicessettingspage.h
parentb339ac1b5f22efb57619c738eb39268c3e00948d (diff)
Add options to hide some context menu entries
This commit add options to hide the following context menu entries: - Add to Places - Copy Location - Duplicate Here - Open in New Tab and Open in New Tabs - Open in New Window - Sort By - View Mode The Services settings page is renamed to Context Menu ShowCopyMoveMenu option is moved from GeneralSettings to ContextMenuSettings BUG: 314594
Diffstat (limited to 'src/settings/services/servicessettingspage.h')
-rw-r--r--src/settings/services/servicessettingspage.h69
1 files changed, 0 insertions, 69 deletions
diff --git a/src/settings/services/servicessettingspage.h b/src/settings/services/servicessettingspage.h
deleted file mode 100644
index b569852ae..000000000
--- a/src/settings/services/servicessettingspage.h
+++ /dev/null
@@ -1,69 +0,0 @@
-/*
- * SPDX-FileCopyrightText: 2009-2010 Peter Penz <[email protected]>
- *
- * SPDX-License-Identifier: GPL-2.0-or-later
- */
-#ifndef SERVICESSETTINGSPAGE_H
-#define SERVICESSETTINGSPAGE_H
-
-#include "settings/settingspagebase.h"
-
-#include <QString>
-
-class QListView;
-class QSortFilterProxyModel;
-class ServiceModel;
-class QLineEdit;
-
-/**
- * @brief Page for the 'Services' settings of the Dolphin settings dialog.
- */
-class ServicesSettingsPage : public SettingsPageBase
-{
- Q_OBJECT
-
-public:
- explicit ServicesSettingsPage(QWidget* parent);
- ~ServicesSettingsPage() override;
-
- /** @see SettingsPageBase::applySettings() */
- void applySettings() override;
-
- /** @see SettingsPageBase::restoreDefaults() */
- void restoreDefaults() override;
-
-protected:
- void showEvent(QShowEvent* event) override;
-
-private slots:
- /**
- * Loads locally installed services.
- */
- void loadServices();
-
-private:
- /**
- * Loads installed version control systems.
- */
- void loadVersionControlSystems();
-
- bool isInServicesList(const QString &service) const;
-
- /**
- * Adds a row to the model of m_listView.
- */
- void addRow(const QString &icon,
- const QString &text,
- const QString &value,
- bool checked);
-
-private:
- bool m_initialized;
- ServiceModel *m_serviceModel;
- QSortFilterProxyModel *m_sortModel;
- QListView* m_listView;
- QLineEdit *m_searchLineEdit;
- QStringList m_enabledVcsPlugins;
-};
-
-#endif