KXmlGui

kaboutapplicationdialog.h
1 /*
2  This file is part of the KDE libraries
3  SPDX-FileCopyrightText: 2007 Urs Wolfer <uwolfer at kde.org>
4 
5  Parts of this class have been take from the KAboutApplication class, which was:
6  SPDX-FileCopyrightText: 2000 Waldo Bastian <[email protected]>
7  SPDX-FileCopyrightText: 2000 Espen Sand <[email protected]>
8 
9  SPDX-License-Identifier: LGPL-2.0-only
10 */
11 
12 #ifndef KABOUT_APPLICATION_DIALOG_H
13 #define KABOUT_APPLICATION_DIALOG_H
14 
15 #include <QDialog>
16 
17 #include <kxmlgui_export.h>
18 
19 
20 class KAboutData;
21 
41 class KXMLGUI_EXPORT KAboutApplicationDialog : public QDialog
42 {
43  Q_OBJECT
44 public:
45 
52  enum Option {
53  NoOptions = 0x0,
54  HideTranslators = 0x1,
55  HideKdeVersion = 0x2
56  };
60  Q_DECLARE_FLAGS(Options, Option)
61  Q_FLAG(Options)
62 
75  explicit KAboutApplicationDialog(const KAboutData &aboutData, Options opts, QWidget *parent = nullptr);
76 
85  explicit KAboutApplicationDialog(const KAboutData &aboutData, QWidget *parent = nullptr);
86 
87  virtual ~KAboutApplicationDialog();
88 
89 private:
90  class Private;
91  Private *const d;
92 
93  Q_DISABLE_COPY(KAboutApplicationDialog)
94 };
95 
96 Q_DECLARE_OPERATORS_FOR_FLAGS(KAboutApplicationDialog::Options)
97 
98 #endif
Standard "About Application" dialog box.
Option
Defines some options which can be applied to the about dialog.
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.