KAboutApplicationDialog Class Reference
Standard "About Application" dialog box. More...
#include <kaboutapplicationdialog.h>

Public Types | |
| enum | Option { NoOptions = 0x0, HideTranslators = 0x1, HideKdeVersion = 0x2 } |
Public Member Functions | |
| KAboutApplicationDialog (const KAboutData *aboutData, Options opts, QWidget *parent=0) | |
| KAboutApplicationDialog (const KAboutData *aboutData, QWidget *parent=0) | |
| virtual | ~KAboutApplicationDialog () |
Detailed Description
Standard "About Application" dialog box.
This class provides the standard "About Application" dialog box that is used by KHelpMenu. It uses the information of the global KAboutData that is specified at the start of your program in main(). Normally you should not use this class directly but rather the KHelpMenu class or even better just subclass your toplevel window from KMainWindow. If you do the latter, the help menu and thereby this dialog box is available through the KMainWindow::helpMenu() function.
KDE About Application Dialog
Definition at line 48 of file kaboutapplicationdialog.h.
Member Enumeration Documentation
Defines some options which can be applied to the about dialog.
- Since:
- 4.4
- Enumerator:
NoOptions No options, show the standard about dialog.
HideTranslators Don't show the translators tab.
HideKdeVersion Don't show the KDE version next to the application name and version.
Definition at line 59 of file kaboutapplicationdialog.h.
Constructor & Destructor Documentation
| KAboutApplicationDialog::KAboutApplicationDialog | ( | const KAboutData * | aboutData, |
| Options | opts, | ||
| QWidget * | parent = 0 |
||
| ) | [explicit] |
Constructor.
Creates a fully featured "About Application" dialog box.
- Parameters:
-
aboutData A pointer to a KAboutData object which data will be used for filling the dialog. opts Additional options that can be applied, such as hiding the KDE version or the translators tab. parent The parent of the dialog box. You should use the toplevel window so that the dialog becomes centered.
- Since:
- 4.4
Definition at line 69 of file kaboutapplicationdialog.cpp.
| KAboutApplicationDialog::KAboutApplicationDialog | ( | const KAboutData * | aboutData, |
| QWidget * | parent = 0 |
||
| ) | [explicit] |
Constructor.
Creates a fully featured "About Application" dialog box.
- Parameters:
-
aboutData A pointer to a KAboutData object which data will be used for filling the dialog. parent The parent of the dialog box. You should use the toplevel window so that the dialog becomes centered.
Definition at line 62 of file kaboutapplicationdialog.cpp.
| KAboutApplicationDialog::~KAboutApplicationDialog | ( | ) | [virtual] |
Definition at line 303 of file kaboutapplicationdialog.cpp.
The documentation for this class was generated from the following files:
KDE 4.6 API Reference