]> cloud.milkyroute.net Git - dolphin.git/blob - src/settings/general/configurepreviewplugindialog.h
SVN_SILENT made messages (.desktop file) - always resolve ours
[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 <QDialog>
11
12 /**
13 * @brief Dialog for configuring preview-plugins.
14 */
15 class ConfigurePreviewPluginDialog : public QDialog
16 {
17 Q_OBJECT
18
19 public:
20 /**
21 * @param pluginName User visible name of the plugin
22 * @param desktopEntryName The name of the plugin that is noted in the desktopentry.
23 * Is used to instantiate the plugin to get the configuration
24 * widget.
25 * @param parent Parent widget.
26 */
27 ConfigurePreviewPluginDialog(const QString& pluginName,
28 const QString& desktopEntryName,
29 QWidget* parent);
30 ~ConfigurePreviewPluginDialog() override = default;
31 };
32
33 #endif