File indexing completed on 2024-12-22 04:14:02

0001 /* This file is part of the KDE libraries
0002    SPDX-FileCopyrightText: 2007 Urs Wolfer <uwolfer at kde.org>
0003 
0004    Parts of this class have been take from the KAboutKDE class, which was
0005    SPDX-FileCopyrightText: 2000 Espen Sand <espen@kde.org>
0006 
0007    SPDX-License-Identifier: LGPL-2.0-only
0008 */
0009 
0010 #ifndef KABOUT_KDE_DIALOG_H
0011 #define KABOUT_KDE_DIALOG_H
0012 
0013 #include <QDialog>
0014 
0015 namespace KDEPrivate
0016 {
0017 
0018 /**
0019  * @short Standard "About KDE" dialog box
0020  *
0021  * This class provides the standard "About KDE" dialog box that is used
0022  * in KisKHelpMenu. Normally you should not use this class directly, but
0023  * rather the KisKHelpMenu class or even better just subclass your
0024  * toplevel window from KisKMainWindow. If you do the latter, the help
0025  * menu and thereby this dialog box is available through the
0026  * KisKMainWindow::helpMenu() function.
0027  *
0028  * @author Urs Wolfer uwolfer @ kde.org
0029  * @internal
0030  */
0031 
0032 class KisKAboutKdeDialog : public QDialog
0033 {
0034     Q_OBJECT
0035 
0036 public:
0037     /**
0038      * Constructor. Creates a fully featured "About KDE" dialog box.
0039      * Note that this dialog is made modeless in the KisKHelpMenu class so
0040      * the users may expect a modeless dialog.
0041      *
0042      * @param parent The parent of the dialog box. You should use the
0043      *        toplevel window so that the dialog becomes centered.
0044      */
0045     explicit KisKAboutKdeDialog(QWidget *parent = 0);
0046 
0047 private:
0048     class Private;
0049     Private *const d;
0050     Q_DISABLE_COPY(KisKAboutKdeDialog)
0051 };
0052 
0053 }
0054 
0055 #endif