]> cloud.milkyroute.net Git - dolphin.git/blob - src/settings/general/configurepreviewplugindialog.h
GIT_SILENT Sync po/docbooks with svn
[dolphin.git] / src / settings / general / configurepreviewplugindialog.h
1 /*
2 * SPDX-FileCopyrightText: 2011 Peter Penz <peter.penz19@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
7 #ifndef CONFIGUREPREVIEWPLUGINDIALOG_H
8 #define CONFIGUREPREVIEWPLUGINDIALOG_H
9
10 #include <kiowidgets_export.h>
11
12 #if KIOWIDGETS_BUILD_DEPRECATED_SINCE(5, 87)
13
14 #include <QDialog>
15
16 /**
17 * @brief Dialog for configuring preview-plugins.
18 */
19 class ConfigurePreviewPluginDialog : public QDialog
20 {
21 Q_OBJECT
22
23 public:
24 /**
25 * @param pluginName User visible name of the plugin
26 * @param desktopEntryName The name of the plugin that is noted in the desktopentry.
27 * Is used to instantiate the plugin to get the configuration
28 * widget.
29 * @param parent Parent widget.
30 */
31 ConfigurePreviewPluginDialog(const QString &pluginName, const QString &desktopEntryName, QWidget *parent);
32 ~ConfigurePreviewPluginDialog() override = default;
33 };
34 #endif // KIOWIDGETS_BUILD_DEPRECATED_SINCE
35
36 #endif