KXmlGui

kaboutplugindialog.h
1 /*
2  This file is part of the KDE libraries
3  SPDX-FileCopyrightText: 2019 Friedrich W. H. Kossebau <[email protected]>
4 
5  SPDX-License-Identifier: LGPL-2.0-only
6 */
7 
8 #ifndef KABOUT_PLUGIN_DIALOG_H
9 #define KABOUT_PLUGIN_DIALOG_H
10 
11 #include <kxmlgui_export.h>
12 // Qt
13 #include <QDialog>
14 
15 class KPluginMetaData;
16 class KAboutPluginDialogPrivate;
17 
28 class KXMLGUI_EXPORT KAboutPluginDialog : public QDialog
29 {
30  Q_OBJECT
31 
32 public:
37  enum Option {
38  NoOptions = 0x0,
39  HideTranslators = 0x1,
40  };
44  Q_DECLARE_FLAGS(Options, Option)
45  Q_FLAG(Options)
46 
55  explicit KAboutPluginDialog(const KPluginMetaData &pluginMetaData, Options options, QWidget *parent = nullptr);
56 
64  explicit KAboutPluginDialog(const KPluginMetaData &pluginMetaData, QWidget *parent = nullptr);
65 
66  ~KAboutPluginDialog() override;
67 
68 private:
69  const QScopedPointer<KAboutPluginDialogPrivate> d;
70 
71  Q_DISABLE_COPY(KAboutPluginDialog)
72 };
73 
74 Q_DECLARE_OPERATORS_FOR_FLAGS(KAboutPluginDialog::Options)
75 
76 #endif
Option
Defines some options which can be applied to the about dialog.
Standard "About Plugin" dialog box.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed Aug 12 2020 22:50:46 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.