┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/settings/interface/configurepreviewplugindialog.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/interface/configurepreviewplugindialog.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/interface/configurepreviewplugindialog.h')
-rw-r--r--src/settings/interface/configurepreviewplugindialog.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/settings/interface/configurepreviewplugindialog.h b/src/settings/interface/configurepreviewplugindialog.h
new file mode 100644
index 000000000..66504cce2
--- /dev/null
+++ b/src/settings/interface/configurepreviewplugindialog.h
@@ -0,0 +1,36 @@
+/*
+ * SPDX-FileCopyrightText: 2011 Peter Penz <[email protected]>
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ */
+
+#ifndef CONFIGUREPREVIEWPLUGINDIALOG_H
+#define CONFIGUREPREVIEWPLUGINDIALOG_H
+
+#include <kiowidgets_export.h>
+
+#if KIOWIDGETS_BUILD_DEPRECATED_SINCE(5, 87)
+
+#include <QDialog>
+
+/**
+ * @brief Dialog for configuring preview-plugins.
+ */
+class ConfigurePreviewPluginDialog : public QDialog
+{
+ Q_OBJECT
+
+public:
+ /**
+ * @param pluginName User visible name of the plugin
+ * @param desktopEntryName The name of the plugin that is noted in the desktopentry.
+ * Is used to instantiate the plugin to get the configuration
+ * widget.
+ * @param parent Parent widget.
+ */
+ ConfigurePreviewPluginDialog(const QString &pluginName, const QString &desktopEntryName, QWidget *parent);
+ ~ConfigurePreviewPluginDialog() override = default;
+};
+#endif // KIOWIDGETS_BUILD_DEPRECATED_SINCE
+
+#endif