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 KAboutKDE class, which was
6 SPDX-FileCopyrightText: 2000 Espen Sand <espen@kde.org>
7
8 SPDX-License-Identifier: LGPL-2.0-only
9*/
10
11#ifndef KABOUT_KDE_DIALOG_H
12#define KABOUT_KDE_DIALOG_H
13
14#include <QDialog>
15
16namespace KDEPrivate
17{
18/*!
19 * \brief Standard "About KDE" dialog box
20 *
21 * This class provides the standard "About KDE" dialog box that is used
22 * in KHelpMenu. Normally you should not use this class directly, but
23 * rather the KHelpMenu class or even better just subclass your
24 * toplevel window from KMainWindow. If you do the latter, the help
25 * menu and thereby this dialog box is available through the
26 * KMainWindow::helpMenu() function.
27 *
28 * \internal
29 */
30
31class KAboutKdeDialog : public QDialog
32{
33 Q_OBJECT
34
35public:
36 /*!
37 * Constructor. Creates a fully featured "About KDE" dialog box.
38 * Note that this dialog is made modeless in the KHelpMenu class so
39 * the users may expect a modeless dialog.
40 *
41 * \a parent The parent of the dialog box. You should use the
42 * toplevel window so that the dialog becomes centered.
43 */
44 explicit KAboutKdeDialog(QWidget *parent = nullptr);
45
46private:
47 class Private;
48 Private *const d;
49 Q_DISABLE_COPY(KAboutKdeDialog)
50};
51
52}
53
54#endif
55

source code of kxmlgui/src/kaboutkdedialog_p.h