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 * @short 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 * @author Urs Wolfer uwolfer @ kde.org
29 * @internal
30 */
31
32class KAboutKdeDialog : public QDialog
33{
34 Q_OBJECT
35
36public:
37 /**
38 * Constructor. Creates a fully featured "About KDE" dialog box.
39 * Note that this dialog is made modeless in the KHelpMenu class so
40 * the users may expect a modeless dialog.
41 *
42 * @param parent The parent of the dialog box. You should use the
43 * toplevel window so that the dialog becomes centered.
44 */
45 explicit KAboutKdeDialog(QWidget *parent = nullptr);
46
47private:
48 class Private;
49 Private *const d;
50 Q_DISABLE_COPY(KAboutKdeDialog)
51};
52
53}
54
55#endif
56

source code of kxmlgui/src/kaboutkdedialog_p.h