diff options
| author | Méven Car <[email protected]> | 2023-02-14 17:03:43 +0100 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2023-02-14 17:03:43 +0100 |
| commit | bb686052c7b353aa58151172cf215fd2349f8b94 (patch) | |
| tree | fa5ce5c0cebaa4d97e664d00ea2f3e46d15de452 /src/settings/general/configurepreviewplugindialog.h | |
| parent | 1c98a50d83a55dee582a19b69575ed1993c14b85 (diff) | |
Revert "Remove deprecated ConfigurePreviewPluginDialog"
This reverts commit d8de1c37e525580143c60bcd16aee3e7640890f1.
Diffstat (limited to 'src/settings/general/configurepreviewplugindialog.h')
| -rw-r--r-- | src/settings/general/configurepreviewplugindialog.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/settings/general/configurepreviewplugindialog.h b/src/settings/general/configurepreviewplugindialog.h new file mode 100644 index 000000000..66504cce2 --- /dev/null +++ b/src/settings/general/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 |
