Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > by-pkgid > 6282078ae76a671f49c6af38c67b1a07 > files > 463

kdelibs-devel-2.2.2-49.2mdk.i586.rpm

<HTML>
<HEAD>
<TITLE>class KApplication</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 KApplication</h1>
		</TD>
		<TD valign="top" align="right" colspan="1">Controls and provides information to all KDE applications.
 <small><A HREF="#longdesc">More...</A></small></TD></TR>
	</TABLE>
	<HR>
	<TABLE BORDER="0">
		<TR><TH>Definition</TH><TD><code>#include &lt;<A HREF="kapp_h.html">kapp.h</A>&gt;</code></TD></TR>
<TR><TH>Inherits</TH><TD><A HREF="KInstance.html">KInstance</A> <small>[public ]</small>, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qapplication.html">QApplication</A> <small>(qt)</small> <small>[public ]</small></TD></TR>
<TR><TH>Inherited by</TH><TD><A HREF="KUniqueApplication.html">KUniqueApplication</A></TD></TR>
<TR><TH><A HREF="full-list-KApplication.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 Types</h4><ul><LI>enum <A HREF="#ref1">CaptionLayout</A> { CaptionAppLast=1, CaptionAppFirst, CaptionNoApp }
</LI>
<LI>enum <A HREF="#ref89">SettingsCategory</A> { SETTINGS_MOUSE, SETTINGS_COMPLETION, SETTINGS_PATHS,
         SETTINGS_POPUPMENU, SETTINGS_QT }
</LI>
</ul><h4>Public Methods</h4><ul><LI>&nbsp;<b><A HREF="#ref2">KApplication</A></b> ( bool allowStyles=true, bool GUIenabled=true) 
</LI>
<LI>&nbsp;<b><A HREF="#ref3">KApplication</A></b> (Display *display, int& argc, char** argv, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A>& rAppName,
               bool allowStyles=true, bool GUIenabled=true) 
</LI>
<LI>&nbsp;<b><A HREF="#ref4">KApplication</A></b> (int& argc, char** argv,
              const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A>& rAppName, bool allowStyles=true, bool GUIenabled=true) 
</LI>
<LI>virtual  &nbsp;<b><A HREF="#ref6">~KApplication</A></b> () 
</LI>
<LI><A HREF="KConfig.html">KConfig</A>* &nbsp;<b><A HREF="#ref8">sessionConfig</A></b> () 
</LI>
<LI>bool &nbsp;<b><A HREF="#ref9">isRestored</A></b> ()  const
</LI>
<LI>void &nbsp;<b><A HREF="#ref10">disableSessionManagement</A></b> () 
</LI>
<LI>bool &nbsp;<b><A HREF="#ref11">requestShutDown</A></b> () 
</LI>
<LI>bool &nbsp;<b><A HREF="#ref12">requestShutDown</A></b> ( bool bFast ) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref13">propagateSessionManager</A></b> () 
</LI>
<LI>void &nbsp;<b><A HREF="#ref14">commitData</A></b> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qsessionmanager.html">QSessionManager</A>& sm ) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref15">saveState</A></b> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qsessionmanager.html">QSessionManager</A>& sm ) 
</LI>
<LI>virtual  <A HREF="../dcop/DCOPClient.html">DCOPClient</A> *&nbsp;<b><A HREF="#ref16">dcopClient</A></b> () 
</LI>
<LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpixmap.html">QPixmap</A> &nbsp;<b><A HREF="#ref17">icon</A></b> ()  const
</LI>
<LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpixmap.html">QPixmap</A> &nbsp;<b><A HREF="#ref18">miniIcon</A></b> ()  const
</LI>
<LI>void &nbsp;<b><A HREF="#ref19">setTopWidget</A></b> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A> *topWidget ) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref20">invokeHelp</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& anchor = QString::null,
                   const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& appname = QString::null )  const
</LI>
<LI>void &nbsp;<b><A HREF="#ref21">invokeHTMLHelp</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& aFilename, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& aTopic = QString::null )  const
</LI>
<LI>void &nbsp;<b><A HREF="#ref22">invokeMailer</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &address, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &subject ) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref23">invokeMailer</A></b> ( const <A HREF="KURL.html">KURL</A> &mailtoURL ) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref24">invokeBrowser</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &url ) 
</LI>
<LI><A HREF="KStyle.html">KStyle</A>* &nbsp;<b><A HREF="#ref40">kstyle</A></b> ()  const
</LI>
<LI>bool &nbsp;<b><A HREF="#ref41">kdeFonts</A></b> (<A HREF="#QStringList">QStringList</A> &)  const
</LI>
<LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref42">caption</A></b> ()  const
</LI>
<LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref43">makeStdCaption</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &userCaption,
                          bool withAppName=true, bool modified=false )  const
</LI>
<LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref44">tempSaveName</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& pFilename )  const
</LI>
<LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref45">checkRecoverFile</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& pFilename, bool& bRecover )  const
</LI>
<LI>Display *&nbsp;<b><A HREF="#ref46">getDisplay</A></b> () 
</LI>
<LI>void &nbsp;<b><A HREF="#ref47">enableStyles</A></b> () 
</LI>
<LI>void &nbsp;<b><A HREF="#ref48">disableStyles</A></b> () 
</LI>
<LI>void &nbsp;<b><A HREF="#ref49">installX11EventFilter</A></b> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* filter ) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref52">addKipcEventMask</A></b> (int id) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref53">removeKipcEventMask</A></b> (int id) 
</LI>
<LI>const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A> &nbsp;<b><A HREF="#ref55">startupId</A></b> ()  const
</LI>
<LI>void &nbsp;<b><A HREF="#ref56">setStartupId</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A>& startup_id ) 
</LI>
<LI>bool &nbsp;<b><A HREF="#ref84">notify</A></b> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qobject.html">QObject</A> *receiver, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qevent.html">QEvent</A> *event) 
</LI>
<LI>int &nbsp;<b><A HREF="#ref85">xioErrhandler</A></b> () 
</LI>
<LI>void &nbsp;<b><A HREF="#ref86">iceIOErrorHandler</A></b> ( <A HREF="#_IceConn">_IceConn</A> *conn ) 
</LI>
</ul><h4>Public Slots</h4><ul><LI>void &nbsp;<b><A HREF="#ref57">ref</A></b> () 
</LI>
<LI>void &nbsp;<b><A HREF="#ref58">deref</A></b> () 
</LI>
<LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref59">geometryArgument</A></b> ()  const
</LI>
</ul><h4>Signals</h4><ul><LI>void &nbsp;<b><A HREF="#ref90">kdisplayPaletteChanged</A></b> () 
</LI>
<LI>void &nbsp;<b><A HREF="#ref91">kdisplayStyleChanged</A></b> () 
</LI>
<LI>void &nbsp;<b><A HREF="#ref92">kdisplayFontChanged</A></b> () 
</LI>
<LI>void &nbsp;<b><A HREF="#ref93">appearanceChanged</A></b> () 
</LI>
<LI>void &nbsp;<b><A HREF="#ref94">toolbarAppearanceChanged</A></b> (int) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref95">backgroundChanged</A></b> (int desk) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref96">settingsChanged</A></b> (int category) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref97">iconChanged</A></b> (int group) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref98">kipcMessage</A></b> (int id, int data) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref99">saveYourself</A></b> () 
</LI>
<LI>void &nbsp;<b><A HREF="#ref100">shutDown</A></b> () 
</LI>
</ul><h4>Public Static Methods</h4><ul><LI>static  void &nbsp;<b><A HREF="#ref5">addCmdLineOptions</A></b> () 
</LI>
<LI>static  <A HREF="KApplication.html">KApplication</A>* &nbsp;<b><A HREF="#ref7">kApplication</A></b> () 
</LI>
<LI>static  <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A> &nbsp;<b><A HREF="#ref25">launcher</A></b> () 
</LI>
<LI>static  int &nbsp;<b><A HREF="#ref26">startServiceByName</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& _name, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &URL,
                <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> *error, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A> *dcopService, int *pid, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A>& startup_id ) 
</LI>
<LI>static  int &nbsp;<b><A HREF="#ref27">startServiceByName</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& _name, const <A HREF="#QStringList">QStringList</A> &URLs,
                <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> *error, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A> *dcopService, int *pid, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A>& startup_id ) 
</LI>
<LI>static  int &nbsp;<b><A HREF="#ref28">startServiceByName</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& _name, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &URL,
                <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> *error=0, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A> *dcopService=0, int *pid=0 ) 
</LI>
<LI>static  int &nbsp;<b><A HREF="#ref29">startServiceByName</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& _name, const <A HREF="#QStringList">QStringList</A> &URLs=<A HREF="#QStringList">QStringList</A>(),
                <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> *error=0, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A> *dcopService=0, int *pid=0 ) 
</LI>
<LI>static  int &nbsp;<b><A HREF="#ref30">startServiceByDesktopPath</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& _name, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &URL,
                <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> *error, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A> *dcopService, int *pid, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A>& startup_id ) 
</LI>
<LI>static  int &nbsp;<b><A HREF="#ref31">startServiceByDesktopPath</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& _name, const <A HREF="#QStringList">QStringList</A> &URLs,
                <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> *error, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A> *dcopService, int *pid, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A>& startup_id ) 
</LI>
<LI>static  int &nbsp;<b><A HREF="#ref32">startServiceByDesktopPath</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& _name, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &URL,
                <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> *error=0, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A> *dcopService=0, int *pid = 0 ) 
</LI>
<LI>static  int &nbsp;<b><A HREF="#ref33">startServiceByDesktopPath</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& _name, const <A HREF="#QStringList">QStringList</A> &URLs=<A HREF="#QStringList">QStringList</A>(),
                <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> *error=0, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A> *dcopService=0, int *pid = 0 ) 
</LI>
<LI>static  int &nbsp;<b><A HREF="#ref34">startServiceByDesktopName</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& _name, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &URL,
                <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> *error, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A> *dcopService, int *pid, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A>& startup_id ) 
</LI>
<LI>static  int &nbsp;<b><A HREF="#ref35">startServiceByDesktopName</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& _name, const <A HREF="#QStringList">QStringList</A> &URLs,
                <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> *error, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A> *dcopService, int *pid, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A>& startup_id ) 
</LI>
<LI>static  int &nbsp;<b><A HREF="#ref36">startServiceByDesktopName</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& _name, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &URL,
                <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> *error=0, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A> *dcopService=0, int *pid = 0 ) 
</LI>
<LI>static  int &nbsp;<b><A HREF="#ref37">startServiceByDesktopName</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& _name, const <A HREF="#QStringList">QStringList</A> &URLs=<A HREF="#QStringList">QStringList</A>(),
                <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> *error=0, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A> *dcopService=0, int *pid = 0 ) 
</LI>
<LI>static  int &nbsp;<b><A HREF="#ref38">kdeinitExec</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& name, const <A HREF="#QStringList">QStringList</A> &args=<A HREF="#QStringList">QStringList</A>(),
                <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> *error=0, int *pid = 0 ) 
</LI>
<LI>static  int &nbsp;<b><A HREF="#ref39">kdeinitExecWait</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& name, const <A HREF="#QStringList">QStringList</A> &args=<A HREF="#QStringList">QStringList</A>(),
                <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> *error=0, int *pid = 0 ) 
</LI>
<LI>static  int &nbsp;<b><A HREF="#ref50">random</A></b> () 
</LI>
<LI>static  <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref51">randomString</A></b> (int length) 
</LI>
<LI>static  <A HREF="KDesktopWidget.html">KDesktopWidget</A> *&nbsp;<b><A HREF="#ref54">desktop</A></b> () 
</LI>
<LI>static  void &nbsp;<b><A HREF="#ref88">startKdeinit</A></b> () 
</LI>
</ul><h4>Public Members</h4><ul><LI>static bool <b><A HREF="#ref87">loadedByKdeinit</A></b></LI>
</ul><h4>Protected Methods</h4><ul><LI>bool &nbsp;<b><A HREF="#ref60">x11EventFilter</A></b> ( XEvent * ) 
</LI>
</ul><h4>Protected Members</h4><ul><LI>Display *<b><A HREF="#ref61">display</A></b></LI>
<LI>Atom <b><A HREF="#ref62">kipcCommAtom</A></b></LI>
<LI>int <b><A HREF="#ref63">kipcEventMask</A></b></LI>
<LI>static KApplication *<b><A HREF="#ref64">KApp</A></b></LI>
<LI>int <b><A HREF="#ref65">pArgc</A></b></LI>
</ul><HR><H2><A NAME="longdesc">Detailed Description</A></H2><p>
 Controls and provides information to all KDE applications.
</p>
<p> Only one object of this class can be instantiated in a single app.
 This instance is always accessible via the <A HREF="KApplication.html#kApplication">kApplication</A>() method.
</p>
<p> This class provides the following services to all KDE applications.
</p>
<p></p>

<ul>
<li>It controls the event queue (see <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qapplication.html">QApplication</A> ).
</li>
<li>It provides the application with KDE resources such as
 accelerators, common menu entries, a <A HREF="KConfig.html">KConfig</A> object. session
 management events, help invocation etc.
</li>
<li>Installs a signal handler for the SIGCHLD signal in order to
 avoid zombie children. If you want to catch this signal yourself or
 don't want it to be caught at all, you have set a new signal handler
 (or SIG_IGN) after KApplication's constructor has run.
</li>
</ul>

<p>
</p>
<p></p>
<A NAME="CaptionLayout"></A><A NAME="ref1"></A><table width="100%"><tr bgcolor="#eeeeee"><td>enum <strong>CaptionLayout</strong> { CaptionAppLast=1, CaptionAppFirst, CaptionNoApp }
</td><td align="right"><h3><strong>CaptionLayout</strong></h3></td></tr></table><p></p><A NAME="KApplication"></A><A NAME="ref2"></A><table width="100%"><tr bgcolor="#eeeeee"><td>&nbsp;<strong>KApplication</strong> ( bool allowStyles=true, bool GUIenabled=true)
<br></td><td align="right"><h3><strong>KApplication</strong></h3></td></tr></table><p></p><p>
 This constructor takes aboutData and command line
  arguments from <A HREF="KCmdLineArgs.html">KCmdLineArgs</A>.
</p>
<p></p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>allowStyles</i></TD><TD align="left" valign="top">Set to false to disable the loading on plugin based
 styles. This is only useful to applications that do not display a GUI
 normally. If you do create an application with <code>allowStyles</code> set to false
 it normally runs in the background but under special circumstances
 displays widgets.  Call <A HREF="KApplication.html#enableStyles">enableStyles</A>() before displaying any widgets.
</TD></TR>
<TR><TD align="left" valign="top"><i>GUIenabled</i></TD><TD align="left" valign="top">Set to false to disable all GUI stuff. This implies
 no styles either.
   </TD></TR>
</TABLE></P>
<A NAME="KApplication"></A><A NAME="ref3"></A><table width="100%"><tr bgcolor="#eeeeee"><td>&nbsp;<strong>KApplication</strong> (Display *display, int& argc, char** argv, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A>& rAppName,
               bool allowStyles=true, bool GUIenabled=true)
<br></td><td align="right"><h3><strong>KApplication</strong></h3></td></tr></table><p></p><p>
 Constructor. Parses command-line arguments. Use this constructor to use KApplication
 in a Motif or Xt program.
</p>
<p></p>
<p></p>
<p></p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>display</i></TD><TD align="left" valign="top">Will be passed to Qt as the X display. The display must be valid and already
 opened.
</TD></TR>
<TR><TD align="left" valign="top"><i>rAppName</i></TD><TD align="left" valign="top">application name. Will be used for finding the
 associated message files and icon files, and as the default
 registration name for DCOP. This is a mandatory parameter.
</TD></TR>
<TR><TD align="left" valign="top"><i>allowStyles</i></TD><TD align="left" valign="top">Set to false to disable the loading on plugin based
 styles. This is only useful to applications that do not display a GUI
 normally. If you do create an application with <code>allowStyles</code> set to false
 that normally runs in the background but under special circumstances
 displays widgets call <A HREF="KApplication.html#enableStyles">enableStyles</A>() before displaying any widgets.
</TD></TR>
<TR><TD align="left" valign="top"><i>GUIenabled</i></TD><TD align="left" valign="top">Set to false to disable all GUI stuff. This implies
 no styles either.
   </TD></TR>
</TABLE></P>
<A NAME="KApplication"></A><A NAME="ref4"></A><table width="100%"><tr bgcolor="#eeeeee"><td>&nbsp;<strong>KApplication</strong> (int& argc, char** argv,
              const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A>& rAppName, bool allowStyles=true, bool GUIenabled=true)
<br></td><td align="right"><h3><strong>KApplication</strong></h3></td></tr></table><p></p><p>
</p>
<p> Constructor. Parses command-line arguments.
</p>
<p></p>
<p></p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>rAppName</i></TD><TD align="left" valign="top">application name. Will be used for finding the
 associated message files and icon files, and as the default
 registration name for DCOP. This is a mandatory parameter.
</TD></TR>
<TR><TD align="left" valign="top"><i>allowStyles</i></TD><TD align="left" valign="top">Set to false to disable the loading on plugin based
 styles. This is only useful to applications that do not display a GUI
 normally. If you do create an application with <code>allowStyles</code> set to false
 that normally runs in the background but under special circumstances
 displays widgets call <A HREF="KApplication.html#enableStyles">enableStyles</A>() before displaying any widgets.
</TD></TR>
<TR><TD align="left" valign="top"><i>GUIenabled</i></TD><TD align="left" valign="top">Set to false to disable all GUI stuff. This implies
 no styles either.
   </TD></TR>
</TABLE></P>
<A NAME="addCmdLineOptions"></A><A NAME="ref5"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>addCmdLineOptions</strong> ()
<br></td><td align="right"><h3><strong>addCmdLineOptions</strong></h3></td></tr></table><p> <small>[static]</small></p><p>
 Add Qt and KDE command line options to KCmdLineArgs.
    </p>
<A NAME="~KApplication"></A><A NAME="ref6"></A><table width="100%"><tr bgcolor="#eeeeee"><td> &nbsp;<strong>~KApplication</strong> ()
<br></td><td align="right"><h3><strong>~KApplication</strong></h3></td></tr></table><p> <small>[virtual]</small></p><A NAME="kApplication"></A><A NAME="ref7"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <A HREF="KApplication.html">KApplication</A>* &nbsp;<strong>kApplication</strong> ()
<br></td><td align="right"><h3><strong>kApplication</strong></h3></td></tr></table><p> <small>[static]</small></p><p>
 Retrieve the current application object.
</p>
<p> This is similar to the global <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qapplication.html">QApplication</A> pointer qApp. It
 allows access to the single global <A HREF="KApplication.html#KApplication">KApplication</A> object, since
 more than one cannot be created in the same application. It
 saves you the trouble of having to pass the pointer explicitly
 to every function that may require it.
   </p>
<A NAME="sessionConfig"></A><A NAME="ref8"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="KConfig.html">KConfig</A>* &nbsp;<strong>sessionConfig</strong> ()
<br></td><td align="right"><h3><strong>sessionConfig</strong></h3></td></tr></table><p></p><p>
 Retrieve the application session config object.
</p>
<p></p>
<p><b>Returns</b>: A pointer to the application's instance specific
    <A HREF="KConfig.html">KConfig</A> object.
</p>
<p><b>See also</b>: <A HREF="KConfig.html">KConfig</A></p>
<A NAME="isRestored"></A><A NAME="ref9"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>isRestored</strong> ()
<br></td><td align="right"><h3><strong>isRestored</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Is the application restored from the session manager?
</p>
<p></p>
<p><b>Returns</b>: If <code>true</code>, this application was restored by the session manager.
    Note that this may mean the config object returned by
    <A HREF="KApplication.html#sessionConfig">sessionConfig</A>() contains data saved by a session closedown.
</p>
<p><b>See also</b>: sessionConfig()</p>
<A NAME="disableSessionManagement"></A><A NAME="ref10"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>disableSessionManagement</strong> ()
<br></td><td align="right"><h3><strong>disableSessionManagement</strong></h3></td></tr></table><p></p><p>
 Disable session management for this application.
</p>
<p> Useful in case  your application is started by the
 initial "startkde" script.
   </p>
<A NAME="requestShutDown"></A><A NAME="ref11"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>requestShutDown</strong> ()
<br></td><td align="right"><h3><strong>requestShutDown</strong></h3></td></tr></table><p></p><p>
 Asks the session manager to shut the session down.
</p>
<p> Returns TRUE on sucess, FALSE if the session manager could not be
 contacted.
   </p>
<A NAME="requestShutDown"></A><A NAME="ref12"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>requestShutDown</strong> ( bool bFast )
<br></td><td align="right"><h3><strong>requestShutDown</strong></h3></td></tr></table><p></p><A NAME="propagateSessionManager"></A><A NAME="ref13"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>propagateSessionManager</strong> ()
<br></td><td align="right"><h3><strong>propagateSessionManager</strong></h3></td></tr></table><p></p><p>
 Propagates the network address of the session manager in the
 SESSION_MANAGER environment variable so that child processes can
 pick it up.
</p>
<p> If SESSION_MANAGER isn't defined yet, the address is searched in
 $HOME/.KSMserver.
</p>
<p> This function is called by clients that are started outside the
 session ( i.e. before ksmserver is started), but want to launch
 other processes that should participate in the session.  Examples
 are kdesktop or kicker.
   </p>
<A NAME="commitData"></A><A NAME="ref14"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>commitData</strong> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qsessionmanager.html">QSessionManager</A>& sm )
<br></td><td align="right"><h3><strong>commitData</strong></h3></td></tr></table><p></p><p>Reimplemented from <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qapplication.html#d7ce0a">QApplication</A>.</p>
<A NAME="saveState"></A><A NAME="ref15"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>saveState</strong> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qsessionmanager.html">QSessionManager</A>& sm )
<br></td><td align="right"><h3><strong>saveState</strong></h3></td></tr></table><p></p><p>Reimplemented from <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qapplication.html#7bd5f2">QApplication</A>.</p>
<A NAME="dcopClient"></A><A NAME="ref16"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <A HREF="../dcop/DCOPClient.html">DCOPClient</A> *&nbsp;<strong>dcopClient</strong> ()
<br></td><td align="right"><h3><strong>dcopClient</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p>
 Retrieve a pointer to a <A HREF="../dcop/DCOPClient.html">DCOPClient</A> for the application.
   </p>
<A NAME="icon"></A><A NAME="ref17"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpixmap.html">QPixmap</A> &nbsp;<strong>icon</strong> ()
<br></td><td align="right"><h3><strong>icon</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Get the application icon.
</p>
<p><b>Returns</b>: a <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpixmap.html">QPixmap</A> with the icon.
</p>
<p><b>See also</b>: <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpixmap.html">QPixmap</A></p>
<A NAME="miniIcon"></A><A NAME="ref18"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpixmap.html">QPixmap</A> &nbsp;<strong>miniIcon</strong> ()
<br></td><td align="right"><h3><strong>miniIcon</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Get the mini-icon for the application.
</p>
<p><b>Returns</b>: a <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpixmap.html">QPixmap</A> with the icon.
</p>
<p><b>See also</b>: <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpixmap.html">QPixmap</A></p>
<A NAME="setTopWidget"></A><A NAME="ref19"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>setTopWidget</strong> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A> *topWidget )
<br></td><td align="right"><h3><strong>setTopWidget</strong></h3></td></tr></table><p></p><p>
   Set the top widget of the application.
</p>
<p></p>
<p>  This means basically applying the right window caption and
  icon. An application may have several top widgets. You don't
  need to call this function manually when using KMainWindow.
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>topWidget</i></TD><TD align="left" valign="top">A top widget of the application.
</TD></TR>
</TABLE></P>
<p><b>See also</b>: icon(), caption()</p>
<A NAME="invokeHelp"></A><A NAME="ref20"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>invokeHelp</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& anchor = QString::null,
                   const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& appname = QString::null )
<br></td><td align="right"><h3><strong>invokeHelp</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Invoke the KHelpCenter HTML help viewer from docbook sources.
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>anchor</i></TD><TD align="left" valign="top">This has to be a defined anchor in your
                    docbook sources. If empty the main index
                    is loaded
</TD></TR>
<TR><TD align="left" valign="top"><i>appname</i></TD><TD align="left" valign="top">This allows you to show the help of another
                    application. If empty the current name() is
                    used
   </TD></TR>
</TABLE></P>
<A NAME="invokeHTMLHelp"></A><A NAME="ref21"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>invokeHTMLHelp</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& aFilename, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& aTopic = QString::null )
<br></td><td align="right"><h3><strong>invokeHTMLHelp</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Invoke the khelpcenter HTML help viewer from HTML sources.
 Please use invokeHelp() instead.
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>aFilename</i></TD><TD align="left" valign="top">The filename that is to be loaded. Its
                   location is computed automatically
                   according to the KFSSTND.  If <code>aFilename</code>
                   is empty, the logical appname with .html
                   appended to it is used.
</TD></TR>
<TR><TD align="left" valign="top"><i>aTopic</i></TD><TD align="left" valign="top">This allows context-sensitive help. Its
                   value will be appended to the filename,
                   prefixed with a "#" (hash) character.
   </TD></TR>
</TABLE></P>
<A NAME="invokeMailer"></A><A NAME="ref22"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>invokeMailer</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &address, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &subject )
<br></td><td align="right"><h3><strong>invokeMailer</strong></h3></td></tr></table><p></p><p>
 Convenience method; invokes the standard email application.
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>address</i></TD><TD align="left" valign="top">The destination address
</TD></TR>
<TR><TD align="left" valign="top"><i>subject</i></TD><TD align="left" valign="top">Subject string. Can be QString::null.
   </TD></TR>
</TABLE></P>
<A NAME="invokeMailer"></A><A NAME="ref23"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>invokeMailer</strong> ( const <A HREF="KURL.html">KURL</A> &mailtoURL )
<br></td><td align="right"><h3><strong>invokeMailer</strong></h3></td></tr></table><p></p><p>
 Invokes the standard email application.
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>mailtoURL</i></TD><TD align="left" valign="top">A mailto URL.
   </TD></TR>
</TABLE></P>
<A NAME="invokeBrowser"></A><A NAME="ref24"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>invokeBrowser</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &url )
<br></td><td align="right"><h3><strong>invokeBrowser</strong></h3></td></tr></table><p></p><p>
 Invoke the standard browser.
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>url</i></TD><TD align="left" valign="top">The destination address
   </TD></TR>
</TABLE></P>
<A NAME="launcher"></A><A NAME="ref25"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A> &nbsp;<strong>launcher</strong> ()
<br></td><td align="right"><h3><strong>launcher</strong></h3></td></tr></table><p> <small>[static]</small></p><p>
 Get the DCOP name of the service launcher. This will be something like
 klaucher_$host_$uid.
</p>
<p><b>Returns</b>: The DCOP name of the launcher.
   </p>
<A NAME="startServiceByName"></A><A NAME="ref26"></A><table width="100%"><tr bgcolor="#eeeeee"><td> int &nbsp;<strong>startServiceByName</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& _name, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &URL,
                <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> *error, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A> *dcopService, int *pid, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A>& startup_id )
<br></td><td align="right"><h3><strong>startServiceByName</strong></h3></td></tr></table><p> <small>[static]</small></p><p>
 Starts a service based on the (translated) name of the service.
 E.g. "Web Browser"
</p>
<p></p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>URL</i></TD><TD align="left" valign="top">- if not empty this URL is passed to the service
</TD></TR>
<TR><TD align="left" valign="top"><i>startup_id</i></TD><TD align="left" valign="top">- for app startup notification, "0" for none,
           "" ( empty string ) is the default
</TD></TR>
</TABLE></P>
<p><b>Returns</b>: On failure, 'error' contains a description of the error
         that occured.
   </p>
<A NAME="startServiceByName"></A><A NAME="ref27"></A><table width="100%"><tr bgcolor="#eeeeee"><td> int &nbsp;<strong>startServiceByName</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& _name, const <A HREF="#QStringList">QStringList</A> &URLs,
                <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> *error, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A> *dcopService, int *pid, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A>& startup_id )
<br></td><td align="right"><h3><strong>startServiceByName</strong></h3></td></tr></table><p> <small>[static]</small></p><A NAME="startServiceByName"></A><A NAME="ref28"></A><table width="100%"><tr bgcolor="#eeeeee"><td> int &nbsp;<strong>startServiceByName</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& _name, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &URL,
                <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> *error=0, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A> *dcopService=0, int *pid=0 )
<br></td><td align="right"><h3><strong>startServiceByName</strong></h3></td></tr></table><p> <small>[static]</small></p><A NAME="startServiceByName"></A><A NAME="ref29"></A><table width="100%"><tr bgcolor="#eeeeee"><td> int &nbsp;<strong>startServiceByName</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& _name, const <A HREF="#QStringList">QStringList</A> &URLs=<A HREF="#QStringList">QStringList</A>(),
                <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> *error=0, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A> *dcopService=0, int *pid=0 )
<br></td><td align="right"><h3><strong>startServiceByName</strong></h3></td></tr></table><p> <small>[static]</small></p><A NAME="startServiceByDesktopPath"></A><A NAME="ref30"></A><table width="100%"><tr bgcolor="#eeeeee"><td> int &nbsp;<strong>startServiceByDesktopPath</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& _name, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &URL,
                <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> *error, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A> *dcopService, int *pid, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A>& startup_id )
<br></td><td align="right"><h3><strong>startServiceByDesktopPath</strong></h3></td></tr></table><p> <small>[static]</small></p><p>
 Starts a service based on the desktop path of the service.
 E.g. "Applications/konqueror.desktop" or "/home/user/bla/myfile.desktop"
</p>
<p></p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>URL</i></TD><TD align="left" valign="top">- if not empty this URL is passed to the service
</TD></TR>
<TR><TD align="left" valign="top"><i>startup_id</i></TD><TD align="left" valign="top">- for app startup notification, "0" for none,
           "" ( empty string ) is the default
</TD></TR>
</TABLE></P>
<p><b>Returns</b>: On failure, 'error' contains a description of the error
         that occured.
   </p>
<A NAME="startServiceByDesktopPath"></A><A NAME="ref31"></A><table width="100%"><tr bgcolor="#eeeeee"><td> int &nbsp;<strong>startServiceByDesktopPath</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& _name, const <A HREF="#QStringList">QStringList</A> &URLs,
                <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> *error, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A> *dcopService, int *pid, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A>& startup_id )
<br></td><td align="right"><h3><strong>startServiceByDesktopPath</strong></h3></td></tr></table><p> <small>[static]</small></p><A NAME="startServiceByDesktopPath"></A><A NAME="ref32"></A><table width="100%"><tr bgcolor="#eeeeee"><td> int &nbsp;<strong>startServiceByDesktopPath</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& _name, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &URL,
                <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> *error=0, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A> *dcopService=0, int *pid = 0 )
<br></td><td align="right"><h3><strong>startServiceByDesktopPath</strong></h3></td></tr></table><p> <small>[static]</small></p><A NAME="startServiceByDesktopPath"></A><A NAME="ref33"></A><table width="100%"><tr bgcolor="#eeeeee"><td> int &nbsp;<strong>startServiceByDesktopPath</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& _name, const <A HREF="#QStringList">QStringList</A> &URLs=<A HREF="#QStringList">QStringList</A>(),
                <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> *error=0, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A> *dcopService=0, int *pid = 0 )
<br></td><td align="right"><h3><strong>startServiceByDesktopPath</strong></h3></td></tr></table><p> <small>[static]</small></p><A NAME="startServiceByDesktopName"></A><A NAME="ref34"></A><table width="100%"><tr bgcolor="#eeeeee"><td> int &nbsp;<strong>startServiceByDesktopName</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& _name, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &URL,
                <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> *error, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A> *dcopService, int *pid, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A>& startup_id )
<br></td><td align="right"><h3><strong>startServiceByDesktopName</strong></h3></td></tr></table><p> <small>[static]</small></p><p>
 Starts a service based on the desktop name of the service.
 E.g. "konqueror"
</p>
<p></p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>URL</i></TD><TD align="left" valign="top">- if not empty this URL is passed to the service
</TD></TR>
<TR><TD align="left" valign="top"><i>startup_id</i></TD><TD align="left" valign="top">- for app startup notification, "0" for none,
           "" ( empty string ) is the default
</TD></TR>
</TABLE></P>
<p><b>Returns</b>: On failure, 'error' contains a description of the error
         that occured.
   </p>
<A NAME="startServiceByDesktopName"></A><A NAME="ref35"></A><table width="100%"><tr bgcolor="#eeeeee"><td> int &nbsp;<strong>startServiceByDesktopName</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& _name, const <A HREF="#QStringList">QStringList</A> &URLs,
                <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> *error, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A> *dcopService, int *pid, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A>& startup_id )
<br></td><td align="right"><h3><strong>startServiceByDesktopName</strong></h3></td></tr></table><p> <small>[static]</small></p><A NAME="startServiceByDesktopName"></A><A NAME="ref36"></A><table width="100%"><tr bgcolor="#eeeeee"><td> int &nbsp;<strong>startServiceByDesktopName</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& _name, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &URL,
                <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> *error=0, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A> *dcopService=0, int *pid = 0 )
<br></td><td align="right"><h3><strong>startServiceByDesktopName</strong></h3></td></tr></table><p> <small>[static]</small></p><A NAME="startServiceByDesktopName"></A><A NAME="ref37"></A><table width="100%"><tr bgcolor="#eeeeee"><td> int &nbsp;<strong>startServiceByDesktopName</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& _name, const <A HREF="#QStringList">QStringList</A> &URLs=<A HREF="#QStringList">QStringList</A>(),
                <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> *error=0, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A> *dcopService=0, int *pid = 0 )
<br></td><td align="right"><h3><strong>startServiceByDesktopName</strong></h3></td></tr></table><p> <small>[static]</small></p><A NAME="kdeinitExec"></A><A NAME="ref38"></A><table width="100%"><tr bgcolor="#eeeeee"><td> int &nbsp;<strong>kdeinitExec</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& name, const <A HREF="#QStringList">QStringList</A> &args=<A HREF="#QStringList">QStringList</A>(),
                <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> *error=0, int *pid = 0 )
<br></td><td align="right"><h3><strong>kdeinitExec</strong></h3></td></tr></table><p> <small>[static]</small></p><p>
 Start a program via kdeinit.
 There will be no application startup notification, so you should
 use it only for starting internal processes. 
</p>
<p> program name and arguments are converted to according to the
 local encoding and passed as is to kdeinit.
</p>
<p></p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>prog</i></TD><TD align="left" valign="top">Name of the program to start
</TD></TR>
<TR><TD align="left" valign="top"><i>args</i></TD><TD align="left" valign="top">Arguments to pass to the program
</TD></TR>
</TABLE></P>
<p><b>Returns</b>: On failure, 'error' contains a description of the error
         that occured.
   </p>
<A NAME="kdeinitExecWait"></A><A NAME="ref39"></A><table width="100%"><tr bgcolor="#eeeeee"><td> int &nbsp;<strong>kdeinitExecWait</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& name, const <A HREF="#QStringList">QStringList</A> &args=<A HREF="#QStringList">QStringList</A>(),
                <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> *error=0, int *pid = 0 )
<br></td><td align="right"><h3><strong>kdeinitExecWait</strong></h3></td></tr></table><p> <small>[static]</small></p><p>
 Start a program via kdeinit and wait for it to finish.
</p>
<p> Like kdeinitExec but it waits till the program is finished.
 As such it behaves similair to the system(...) function.
   </p>
<A NAME="kstyle"></A><A NAME="ref40"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="KStyle.html">KStyle</A>* &nbsp;<strong>kstyle</strong> ()
<br></td><td align="right"><h3><strong>kstyle</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Retrieve the current KDE style object if a plugin is in use,
  or else NULL if a Qt internal style is being used.
</p>
<p>   </p>
<A NAME="kdeFonts"></A><A NAME="ref41"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>kdeFonts</strong> (<A HREF="#QStringList">QStringList</A> &)
<br></td><td align="right"><h3><strong>kdeFonts</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
   </p>
<A NAME="caption"></A><A NAME="ref42"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<strong>caption</strong> ()
<br></td><td align="right"><h3><strong>caption</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Return a text for the window caption.
</p>
<p> This may be set by
 "-caption", otherwise it will be equivalent to the name of the
 executable.
   </p>
<A NAME="makeStdCaption"></A><A NAME="ref43"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<strong>makeStdCaption</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &userCaption,
                          bool withAppName=true, bool modified=false )
<br></td><td align="right"><h3><strong>makeStdCaption</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Build a caption that contains the application name along with the
 userCaption() using a standard layout.
</p>
<p> To make a compliant caption
 for your window, simply do: <code>setCaption</code>(kapp->makeStdCaption(yourCaption));
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>userCaption</i></TD><TD align="left" valign="top">The caption string you want to display in the
 window caption area. Do not include the application name!
</TD></TR>
<TR><TD align="left" valign="top"><i>withAppName</i></TD><TD align="left" valign="top">Indicates that the method shall include or ignore
 the application name when making the caption string. You are not
 compliant if you set this to <code>false</code>.
</TD></TR>
<TR><TD align="left" valign="top"><i>modified</i></TD><TD align="left" valign="top">If true, a 'modified' sign will be included in the
 returned string. This is useful when indicating that a file is
 modified, i.e., it contains data that has not been saved.
   </TD></TR>
</TABLE></P>
<A NAME="tempSaveName"></A><A NAME="ref44"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<strong>tempSaveName</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& pFilename )
<br></td><td align="right"><h3><strong>tempSaveName</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Get a file name in order to make a temporary copy of your document.
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>pFilename</i></TD><TD align="left" valign="top">The full path to the current file of your
 document.
</TD></TR>
</TABLE></P>
<p><b>Returns</b>: A new filename for auto-saving.
   </p>
<A NAME="checkRecoverFile"></A><A NAME="ref45"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<strong>checkRecoverFile</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& pFilename, bool& bRecover )
<br></td><td align="right"><h3><strong>checkRecoverFile</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Check whether  an auto-save file exists for the document you want to
 open.
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>pFilename</i></TD><TD align="left" valign="top">The full path to the document you want to open.
</TD></TR>
<TR><TD align="left" valign="top"><i>bRecover</i></TD><TD align="left" valign="top">This gets set to true if there was a recover
 file.
</TD></TR>
</TABLE></P>
<p><b>Returns</b>: The full path of the file to open.
   </p>
<A NAME="getDisplay"></A><A NAME="ref46"></A><table width="100%"><tr bgcolor="#eeeeee"><td>Display *&nbsp;<strong>getDisplay</strong> ()
<br></td><td align="right"><h3><strong>getDisplay</strong></h3></td></tr></table><p></p><p>
 Get the X11 display
   </p>
<A NAME="enableStyles"></A><A NAME="ref47"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>enableStyles</strong> ()
<br></td><td align="right"><h3><strong>enableStyles</strong></h3></td></tr></table><p></p><p>
 Enable style plugins.
</p>
<p> This is useful only to applications that normally
 do not display a GUI and create the <A HREF="KApplication.html#KApplication">KApplication</A> with
  <code>allowStyles</code> set to <code>false</code>.
   </p>
<A NAME="disableStyles"></A><A NAME="ref48"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>disableStyles</strong> ()
<br></td><td align="right"><h3><strong>disableStyles</strong></h3></td></tr></table><p></p><p>
 Disable style plugins.
</p>
<p> Current style plugins do not get unloaded.
</p>
<p> This is only usefull when used in combination with <A HREF="KApplication.html#enableStyles">enableStyles</A>.
   </p>
<A NAME="installX11EventFilter"></A><A NAME="ref49"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>installX11EventFilter</strong> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* filter )
<br></td><td align="right"><h3><strong>installX11EventFilter</strong></h3></td></tr></table><p></p><p>
  Install widget filter as global X11 event filter.
</p>
<p> The widget
  filter receives XEvents in its standard QWidget::x11Event() function.
</p>
<p>  Warning: Only do this when absolutely necessary. An installed X11 filter
  can slow things down.
</p>
<A NAME="random"></A><A NAME="ref50"></A><table width="100%"><tr bgcolor="#eeeeee"><td> int &nbsp;<strong>random</strong> ()
<br></td><td align="right"><h3><strong>random</strong></h3></td></tr></table><p> <small>[static]</small></p><p>
 Generate a uniform random number.
</p>
<p><b>Returns</b>: A truly unpredictable number in the range [0, RAND_MAX)
   </p>
<A NAME="randomString"></A><A NAME="ref51"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<strong>randomString</strong> (int length)
<br></td><td align="right"><h3><strong>randomString</strong></h3></td></tr></table><p> <small>[static]</small></p><p>
 Generate a random string.  It operates in the range [A-Za-z0-9]
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>length</i></TD><TD align="left" valign="top">Generate a string of this length.
   </TD></TR>
</TABLE></P>
<A NAME="addKipcEventMask"></A><A NAME="ref52"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>addKipcEventMask</strong> (int id)
<br></td><td align="right"><h3><strong>addKipcEventMask</strong></h3></td></tr></table><p></p><p>
 Add a message type to the KIPC event mask. You can only add "system
 messages" to the event mask. These are the messages with id < 32.
 Messages with id >= 32 are user messages.
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>id</i></TD><TD align="left" valign="top">The message id. See <A HREF="KIPC.html#Message">KIPC::Message</A>.
   </TD></TR>
</TABLE></P>
<A NAME="removeKipcEventMask"></A><A NAME="ref53"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>removeKipcEventMask</strong> (int id)
<br></td><td align="right"><h3><strong>removeKipcEventMask</strong></h3></td></tr></table><p></p><p>
 Remove a message type from the KIPC event mask. This message will not
 be handled anymore.
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>id</i></TD><TD align="left" valign="top">The message id.
   </TD></TR>
</TABLE></P>
<A NAME="desktop"></A><A NAME="ref54"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <A HREF="KDesktopWidget.html">KDesktopWidget</A> *&nbsp;<strong>desktop</strong> ()
<br></td><td align="right"><h3><strong>desktop</strong></h3></td></tr></table><p> <small>[static]</small></p><p>
 Return a desktop widget that overrides the one in QT.  This is to
 provide Xinerama support.
   </p>
<p>Reimplemented from <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qapplication.html#031a89">QApplication</A>.</p>
<A NAME="startupId"></A><A NAME="ref55"></A><table width="100%"><tr bgcolor="#eeeeee"><td>const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A> &nbsp;<strong>startupId</strong> ()
<br></td><td align="right"><h3><strong>startupId</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Returns the app startup notification identifier for this running application.
   </p>
<A NAME="setStartupId"></A><A NAME="ref56"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>setStartupId</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A>& startup_id )
<br></td><td align="right"><h3><strong>setStartupId</strong></h3></td></tr></table><p></p><p>
 Sets a new value for the application startup notification window property for newly
 created toplevel windows.
   </p>
<A NAME="ref"></A><A NAME="ref57"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>ref</strong> ()
<br></td><td align="right"><h3><strong>ref</strong></h3></td></tr></table><p> <small>[slot]</small></p><p>
 Tell KApplication about one more operation that should be finished
 before the application exits. The standard behaviour is to exit on the
 "last window closed" event, but some events should outlive the last window closed
 (e.g. a file copy for a file manager, or 'compacting folders on exit' for a mail client).
   </p>
<A NAME="deref"></A><A NAME="ref58"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>deref</strong> ()
<br></td><td align="right"><h3><strong>deref</strong></h3></td></tr></table><p> <small>[slot]</small></p><p>
 Tell KApplication that one operation such as those described in <A HREF="KApplication.html#ref">ref</A> just finished.
 The application exits if the counter is back to 0.
   </p>
<A NAME="geometryArgument"></A><A NAME="ref59"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<strong>geometryArgument</strong> ()
<br></td><td align="right"><h3><strong>geometryArgument</strong></h3></td></tr></table><p> <small>[const slot]</small></p><p>
 Returns the argument to --geometry if any, so the geometry can be set
 wherever necessary
    </p>
<A NAME="x11EventFilter"></A><A NAME="ref60"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>x11EventFilter</strong> ( XEvent * )
<br></td><td align="right"><h3><strong>x11EventFilter</strong></h3></td></tr></table><p> <small>[protected]</small></p><p>
 Used to catch X11 events
   </p>
<A NAME="display"></A><A NAME="ref61"></A><table width="100%"><tr bgcolor="#eeeeee"><td>Display * <strong>display</strong>
</td><td align="right"><h3><strong>display</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="kipcCommAtom"></A><A NAME="ref62"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="#Atom">Atom</A>  <strong>kipcCommAtom</strong>
</td><td align="right"><h3><strong>kipcCommAtom</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="kipcEventMask"></A><A NAME="ref63"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int  <strong>kipcEventMask</strong>
</td><td align="right"><h3><strong>kipcEventMask</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="KApp"></A><A NAME="ref64"></A><table width="100%"><tr bgcolor="#eeeeee"><td>static <A HREF="KApplication.html">KApplication</A> * <strong>KApp</strong>
</td><td align="right"><h3><strong>KApp</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="pArgc"></A><A NAME="ref65"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int  <strong>pArgc</strong>
</td><td align="right"><h3><strong>pArgc</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="notify"></A><A NAME="ref84"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>notify</strong> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qobject.html">QObject</A> *receiver, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qevent.html">QEvent</A> *event)
<br></td><td align="right"><h3><strong>notify</strong></h3></td></tr></table><p></p><p>
   </p>
<p>Reimplemented from <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qapplication.html#d6093b">QApplication</A>.</p>
<A NAME="xioErrhandler"></A><A NAME="ref85"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int &nbsp;<strong>xioErrhandler</strong> ()
<br></td><td align="right"><h3><strong>xioErrhandler</strong></h3></td></tr></table><p></p><p>
    </p>
<A NAME="iceIOErrorHandler"></A><A NAME="ref86"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>iceIOErrorHandler</strong> ( <A HREF="#_IceConn">_IceConn</A> *conn )
<br></td><td align="right"><h3><strong>iceIOErrorHandler</strong></h3></td></tr></table><p></p><p>
   </p>
<A NAME="loadedByKdeinit"></A><A NAME="ref87"></A><table width="100%"><tr bgcolor="#eeeeee"><td>static bool  <strong>loadedByKdeinit</strong>
</td><td align="right"><h3><strong>loadedByKdeinit</strong></h3></td></tr></table><p></p><A NAME="startKdeinit"></A><A NAME="ref88"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>startKdeinit</strong> ()
<br></td><td align="right"><h3><strong>startKdeinit</strong></h3></td></tr></table><p> <small>[static]</small></p><p>
   </p>
<A NAME="SettingsCategory"></A><A NAME="ref89"></A><table width="100%"><tr bgcolor="#eeeeee"><td>enum <strong>SettingsCategory</strong> { SETTINGS_MOUSE, SETTINGS_COMPLETION, SETTINGS_PATHS,
         SETTINGS_POPUPMENU, SETTINGS_QT }
</td><td align="right"><h3><strong>SettingsCategory</strong></h3></td></tr></table><p></p><p>
 Valid values for the settingsChanged signal
   </p>
<A NAME="kdisplayPaletteChanged"></A><A NAME="ref90"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>kdisplayPaletteChanged</strong> ()
<br></td><td align="right"><h3><strong>kdisplayPaletteChanged</strong></h3></td></tr></table><p> <small>[signal]</small></p><p>
 KApplication has changed its palette due to a KDisplay request.
</p>
<p> Normally, widgets will update their palettes automatically, but you
 should connect to this to program special behaviour.
   </p>
<A NAME="kdisplayStyleChanged"></A><A NAME="ref91"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>kdisplayStyleChanged</strong> ()
<br></td><td align="right"><h3><strong>kdisplayStyleChanged</strong></h3></td></tr></table><p> <small>[signal]</small></p><p>
 KApplication has changed its GUI style in response to a KDisplay request.
</p>
<p> Normally, widgets will update their styles automatically (as they would
 respond to an explicit setGUIStyle() call), but you should connect to
 this to program special behaviour.
   </p>
<A NAME="kdisplayFontChanged"></A><A NAME="ref92"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>kdisplayFontChanged</strong> ()
<br></td><td align="right"><h3><strong>kdisplayFontChanged</strong></h3></td></tr></table><p> <small>[signal]</small></p><p>
 KApplication has changed its font in response to a KDisplay request.
</p>
<p> Normally widgets will update their fonts automatically, but you should
 connect to this to monitor global font changes, especially if you are
 using explicit fonts.
   </p>
<A NAME="appearanceChanged"></A><A NAME="ref93"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>appearanceChanged</strong> ()
<br></td><td align="right"><h3><strong>appearanceChanged</strong></h3></td></tr></table><p> <small>[signal]</small></p><p>
 <A HREF="KApplication.html#KApplication">KApplication</A> has changed either its GUI style, its font or its palette
 in response to a kdisplay request. Normally, widgets will update their styles
 automatically, but you should connect to this to program special
 behavior. </p>
<A NAME="toolbarAppearanceChanged"></A><A NAME="ref94"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>toolbarAppearanceChanged</strong> (int)
<br></td><td align="right"><h3><strong>toolbarAppearanceChanged</strong></h3></td></tr></table><p> <small>[signal]</small></p><p>
 The settings for toolbars have been changed. KToolBar will know what to do.
   </p>
<A NAME="backgroundChanged"></A><A NAME="ref95"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>backgroundChanged</strong> (int desk)
<br></td><td align="right"><h3><strong>backgroundChanged</strong></h3></td></tr></table><p> <small>[signal]</small></p><p>
 The desktop background has been changed by <code>kcmdisplay</code>.
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>desk</i></TD><TD align="left" valign="top">The desktop whose background has changed.
   </TD></TR>
</TABLE></P>
<A NAME="settingsChanged"></A><A NAME="ref96"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>settingsChanged</strong> (int category)
<br></td><td align="right"><h3><strong>settingsChanged</strong></h3></td></tr></table><p> <small>[signal]</small></p><p>
 The global settings have been changed - see KGlobalSettings
 KApplication takes care of calling reparseConfiguration on KGlobal::config()
 so that applications/classes using this only have to re-read the configuration
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>category</i></TD><TD align="left" valign="top">the category among the enum above
   </TD></TR>
</TABLE></P>
<A NAME="iconChanged"></A><A NAME="ref97"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>iconChanged</strong> (int group)
<br></td><td align="right"><h3><strong>iconChanged</strong></h3></td></tr></table><p> <small>[signal]</small></p><p>
 The global icon settings have been changed.
   </p>
<A NAME="kipcMessage"></A><A NAME="ref98"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>kipcMessage</strong> (int id, int data)
<br></td><td align="right"><h3><strong>kipcMessage</strong></h3></td></tr></table><p> <small>[signal]</small></p><p>
 Emitted when a KIPC user message has been received.
   </p>
<A NAME="saveYourself"></A><A NAME="ref99"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>saveYourself</strong> ()
<br></td><td align="right"><h3><strong>saveYourself</strong></h3></td></tr></table><p> <small>[signal]</small></p><p>
      Session management asks you to save the state of your application.
</p>
<p>     This signal is provided for compatibility only. For new
     appliations, simply use KMainWindow. By reimplementing KMainWindow::queryClose(), KMainWindow::saveProperties() and
     KMainWindow::readProperties() you can simply handle session
     management for applications with multiple toplevel windows.
</p>
<p>     For purposes without KMainWindow, create an instance of
     KSessionManaged and reimplement the functions <A HREF="KSessionManaged.html#commitData">KSessionManaged::commitData</A>() and/or <A HREF="KSessionManaged.html#saveState">KSessionManaged::saveState</A>()
</p>
<p>     If you still want to use this signal, here is what you should do:
</p>
<p>     Connect to this signal in order to save your data. Do NOT
     manipulate the UI in that slot, it is blocked by the session
     manager.
</p>
<p>     Use the <A HREF="KApplication.html#sessionConfig">sessionConfig</A>() KConfig object to store all your
     instance specific datas.
</p>
<p>     Do not do any closing at this point! The user may still select
     Cancel  wanting to continue working with your
     application. Cleanups could be done after shutDown() (see
     the following).
</p>
<p>  </p>
<A NAME="shutDown"></A><A NAME="ref100"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>shutDown</strong> ()
<br></td><td align="right"><h3><strong>shutDown</strong></h3></td></tr></table><p> <small>[signal]</small></p><p> Your application is killed. Either by your program itself,
      <code>xkill</code> or (the usual case) by KDE's logout.
</p>
<p>      The signal is particularly useful if your application has to do some
      last-second cleanups. Note that no user interaction is possible at
      this state.
   </p>
<HR><UL><LI><i>Version</i>: $Id: kapp.h,v 1.227.2.5 2001/11/06 04:13:29 waba Exp $
</LI><LI><i>Author</i>: Matthias Kalle Dalheimer <kalle@kde.org>
</LI><LI><i>Generated</i>: qateam on updates.mandrakesoft.com on Mon Dec 30 16:08:56 2002, using kdoc 2.0a53.</LI></UL></BODY></HTML>