]> cloud.milkyroute.net Git - dolphin.git/blob - src/settings/general/configurepreviewplugindialog.h
Port away from deprecated ThumbCreator API
[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 <QtGlobal>
11 #include <kiowidgets_export.h>
12
13 #if KIOWIDGETS_BUILD_DEPRECATED_SINCE(5, 87)
14
15 #include <QDialog>
16
17 /**
18 * @brief Dialog for configuring preview-plugins.
19 */
20 class ConfigurePreviewPluginDialog : public QDialog
21 {
22 Q_OBJECT
23
24 public:
25 /**
26 * @param pluginName User visible name of the plugin
27 * @param desktopEntryName The name of the plugin that is noted in the desktopentry.
28 * Is used to instantiate the plugin to get the configuration
29 * widget.
30 * @param parent Parent widget.
31 */
32 ConfigurePreviewPluginDialog(const QString& pluginName,
33 const QString& desktopEntryName,
34 QWidget* parent);
35 ~ConfigurePreviewPluginDialog() override = default;
36 };
37 #endif // KIOWIDGETS_BUILD_DEPRECATED_SINCE
38
39 #endif