• Skip to content
  • Skip to link menu
KDE 4.6 API Reference
  • KDE API Reference
  • kdelibs
  • KDE Home
  • Contact Us
 

KDEUI

Public Types | Public Member Functions

KAboutApplicationDialog Class Reference

Standard "About Application" dialog box. More...

#include <kaboutapplicationdialog.h>

Inheritance diagram for KAboutApplicationDialog:
Inheritance graph
[legend]

List of all members.

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.

kaboutapplicationdialog.png

KDE About Application Dialog

Author:
Urs Wolfer uwolfer @ kde.org

Definition at line 48 of file kaboutapplicationdialog.h.


Member Enumeration Documentation

enum KAboutApplicationDialog::Option

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:
aboutDataA pointer to a KAboutData object which data will be used for filling the dialog.
optsAdditional options that can be applied, such as hiding the KDE version or the translators tab.
parentThe 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:
aboutDataA pointer to a KAboutData object which data will be used for filling the dialog.
parentThe 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:
  • kaboutapplicationdialog.h
  • kaboutapplicationdialog.cpp

KDEUI

Skip menu "KDEUI"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.7.3
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal