<HTML> <HEAD> <TITLE>class KAboutApplication</TITLE> <META NAME="Generator" CONTENT="KDOC "> </HEAD> <BODY bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#000099" alink= "#ffffff"> <TABLE WIDTH="100%" BORDER="0"> <TR> <TD> <TABLE BORDER="0"> <TR><TD valign="top" align="left" cellspacing="10"> <h1>class KAboutApplication</h1> </TD> <TD valign="top" align="right" colspan="1">Standard "About Application" dialog box. <small><A HREF="#longdesc">More...</A></small></TD></TR> </TABLE> <HR> <TABLE BORDER="0"> <TR><TH>Definition</TH><TD><code>#include <<A HREF="kaboutapplication_h.html">kaboutapplication.h</A>></code></TD></TR> <TR><TH>Inherits</TH><TD><A HREF="KAboutDialog.html">KAboutDialog</A> <small>[public ]</small></TD></TR> <TR><TH><A HREF="full-list-KAboutApplication.html">List of all Methods</A></TH></TR> </TABLE> </TD> <TD align="right"><TABLE BORDER="0"><TR><TD><small><A HREF="index-long.html">Annotated List</A></small></TD></TR> <TR><TD><small><A HREF="header-list.html">Files</A></small></TD></TR> <TR><TD><small><A HREF="all-globals.html">Globals</A></small></TD></TR> <TR><TD><small><A HREF="hier.html">Hierarchy</A></small></TD></TR> <TR><TD><small><A HREF="index.html">Index</A></small></TD></TR> </TABLE></TD></TR></TABLE> <h4>Public Methods</h4><ul><LI> <b><A HREF="#ref1">KAboutApplication</A></b> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A> *parent=0, const char *name=0, bool modal=true ) </LI> <LI> <b><A HREF="#ref2">KAboutApplication</A></b> ( const <A HREF="../kdecore/KAboutData.html">KAboutData</A> *aboutData, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A> *parent=0, const char *name=0, bool modal=true ) </LI> </ul><h4>Protected Methods</h4><ul><LI>void <b><A HREF="#ref3">buildDialog</A></b> ( const <A HREF="../kdecore/KAboutData.html">KAboutData</A> *aboutData ) </LI> </ul><HR><H2><A NAME="longdesc">Detailed Description</A></H2><p> This class provides the standard "About Application" dialog box that is used by <A HREF="KHelpMenu.html">KHelpMenu</A>. It uses the information of the global <A HREF="../kdecore/KAboutData.html">KAboutData</A> that is specified at the start of you program in main(). Normally you should not use this class directly but rather the <A HREF="KHelpMenu.html">KHelpMenu</A> class or even better just subclass your toplevel window from <A HREF="KMainWindow.html">KMainWindow</A>. If you do the latter, the help menu and thereby this dialog box is available through the <A HREF="KMainWindow.html#helpMenu">KMainWindow::helpMenu</A>() function. </p> <p></p> <A NAME="KAboutApplication"></A><A NAME="ref1"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <strong>KAboutApplication</strong> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A> *parent=0, const char *name=0, bool modal=true ) <br></td><td align="right"><h3><strong>KAboutApplication</strong></h3></td></tr></table><p></p><p> Constructor. Creates a fully featured "About Application" dialog box. Note that this dialog is made modeless in the <A HREF="KHelpMenu.html">KHelpMenu</A> class so the users may expect a modeless dialog. </p> <p></p> <p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5"> <TR><TD align="left" valign="top"><i>parent</i></TD><TD align="left" valign="top">The parent of the dialog box. You should use the toplevel window so that the dialog becomes centered. </TD></TR> <TR><TD align="left" valign="top"><i>name</i></TD><TD align="left" valign="top">Internal name of the widget. This name is not used in the caption. </TD></TR> <TR><TD align="left" valign="top"><i>modal</i></TD><TD align="left" valign="top">If false, this widget will be modeless and must be made visible using <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html#ccc8f7">QWidget::show</A>(). Otherwise it will be modal and must be made visible using QWidget::exec(). </TD></TR> </TABLE></P> <A NAME="KAboutApplication"></A><A NAME="ref2"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <strong>KAboutApplication</strong> ( const <A HREF="../kdecore/KAboutData.html">KAboutData</A> *aboutData, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A> *parent=0, const char *name=0, bool modal=true ) <br></td><td align="right"><h3><strong>KAboutApplication</strong></h3></td></tr></table><p></p><p> Constructor. Mostly does the same stuff as the above constructor, except that it can take a custom KAboutData object instead of the one specified in your main() function. This is especially useful for applications which are implemented as (dynamically loaded) libraries, e.g. panel applets. </p> <p></p> <p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5"> <TR><TD align="left" valign="top"><i>aboutData</i></TD><TD align="left" valign="top">A pointer to a <A HREF="../kdecore/KAboutData.html">KAboutData</A> object which data will be used for filling the dialog. </TD></TR> <TR><TD align="left" valign="top"><i>parent</i></TD><TD align="left" valign="top">The parent of the dialog box. You should use the toplevel window so that the dialog becomes centered. </TD></TR> <TR><TD align="left" valign="top"><i>name</i></TD><TD align="left" valign="top">Internal name of the widget. This name is not used in the caption. </TD></TR> <TR><TD align="left" valign="top"><i>modal</i></TD><TD align="left" valign="top">If false, this widget will be modeless and must be made visible using <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html#ccc8f7">QWidget::show</A>(). Otherwise it will be modal and must be made visible using QWidget::exec(). </TD></TR> </TABLE></P> <A NAME="buildDialog"></A><A NAME="ref3"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>buildDialog</strong> ( const <A HREF="../kdecore/KAboutData.html">KAboutData</A> *aboutData ) <br></td><td align="right"><h3><strong>buildDialog</strong></h3></td></tr></table><p> <small>[protected]</small></p><HR><UL><LI><i>Version</i>: $Id </LI><LI><i>Author</i>: Waldo Bastian (bastian@kde.org) and Espen Sand (espen@kde.org) </LI><LI><i>Generated</i>: qateam on updates.mandrakesoft.com on Mon Dec 30 16:09:05 2002, using kdoc 2.0a53.</LI></UL></BODY></HTML>