Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 1f9eb832ba1e4b88d9a5c2b384813bb4 > files > 1672

kdelibs3-apidocs-3.5.10-31.fc15.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en_US" xml:lang="en_US">

<head>
  <title>kdecore: KApplication Class Reference (kdecore)</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

  <meta http-equiv="Content-Style-Type" content="text/css" />

  <meta http-equiv="pics-label" content='(pics-1.1 "http://www.icra.org/ratingsv02.html" comment "ICRAonline DE v2.0" l gen true for "http://www.kde.org"  r (nz 1 vz 1 lz 1 oz 1 cb 1) "http://www.rsac.org/ratingsv01.html" l gen true for "http://www.kde.org"  r (n 0 s 0 v 0 l 0))' />

  <meta name="trademark" content="KDE e.V." />
  <meta name="description" content="K Desktop Environment Homepage, KDE.org" />
  <meta name="MSSmartTagsPreventParsing" content="true" />
  <meta name="robots" content="all" />

  <link rel="shortcut icon" href="../../favicon.ico" />

<link rel="stylesheet" media="screen" type="text/css" title="APIDOX" href="doxygen.css" />



</head>

<body>

<div id="nav_header_top" align="right">
  <a href="#content" class="doNotDisplay" accesskey="2">Skip to main content ::</a>

  <a href="../.."><img id="nav_header_logo" alt="Home" align="left" src="../../kde_gear_64.png" border="0" /></a>
  <span class="doNotDisplay">::</span>

  <div id="nav_header_title" align="left">KDE API Reference</div>


</div>

<div id="nav_header_bottom" align="right">
  <span class="doNotDisplay">:: <a href="#navigation" accesskey="5">Skip to Link Menu</a><br/></span>
  <div id="nav_header_bottom_right" style="text-align: left;">
/ <a href="../..">API Reference</a>
 / <a href=".">kdecore</a>
  </div>
</div>


<table id="main" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
      <td valign="top" class="menuheader" height="0"></td>

  <td id="contentcolumn" valign="top" rowspan="2" >
    <div id="content" style="padding-top: 0px;"><div style="width:100%; margin: 0px; padding: 0px;">
    <a name="content"></a>


<!-- Generated by Doxygen 1.7.4 -->
</div>
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-slots">Public Slots</a> &#124;
<a href="#signals">Signals</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#pro-static-attribs">Static Protected Attributes</a>  </div>
  <div class="headertitle">
<div class="title">KApplication Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="KApplication" --><!-- doxytag: inherits="QApplication,KInstance" -->
<p>Controls and provides information to all <a class="el" href="namespaceKDE.html" title="Namespace for general KDE functions.">KDE</a> applications.  
 <a href="classKApplication.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="kapplication_8h_source.html">kapplication.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for KApplication:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classKApplication.png" usemap="#KApplication_map" alt=""/>
  <map id="KApplication_map" name="KApplication_map">
<area href="qapplication.html" alt="QApplication" shape="rect" coords="0,0,121,24"/>
<area href="classKInstance.html" title="Access to KDE global objects for use in shared libraries." alt="KInstance" shape="rect" coords="131,0,252,24"/>
<area href="classKUniqueApplication.html" title="Maintains only a single instance of a running application at a time." alt="KUniqueApplication" shape="rect" coords="65,112,186,136"/>
</map>
 </div></div>

<p><a href="classKApplication-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a42a17f01005bf4c65a842d3d513a9951">CaptionLayout</a> { <a class="el" href="classKApplication.html#a42a17f01005bf4c65a842d3d513a9951a5a298c7f1e738261890141604d047624">CaptionAppLast</a> = 1, 
<a class="el" href="classKApplication.html#a42a17f01005bf4c65a842d3d513a9951a88006668a25f5630f24237cc8c6c8c7a">CaptionAppFirst</a>, 
<a class="el" href="classKApplication.html#a42a17f01005bf4c65a842d3d513a9951a79a878f83571d0ed228d74ea83a89dbf">CaptionNoApp</a>
 }</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#abcec18c56392104429bdefe034b886f1">ShutdownConfirm</a> { <a class="el" href="classKApplication.html#abcec18c56392104429bdefe034b886f1a5ac1d722000b682c6a6461788a93348a">ShutdownConfirmDefault</a> =  -1, 
<a class="el" href="classKApplication.html#abcec18c56392104429bdefe034b886f1a1f660cecd4fe39a99bacb4562265f516">ShutdownConfirmNo</a> =  0, 
<a class="el" href="classKApplication.html#abcec18c56392104429bdefe034b886f1a4f744d95b8a7ecf8da34d04877a7224d">ShutdownConfirmYes</a> =  1
 }</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#af65227718bbf8c864b1cc23e13a9ff75">ShutdownType</a> { <a class="el" href="classKApplication.html#af65227718bbf8c864b1cc23e13a9ff75a45e2580d948d5b7dbc97ac934c99a07a">ShutdownTypeDefault</a> =  -1, 
<a class="el" href="classKApplication.html#af65227718bbf8c864b1cc23e13a9ff75adbbb414b077bf13825b4bf0a73ee2962">ShutdownTypeNone</a> =  0, 
<a class="el" href="classKApplication.html#af65227718bbf8c864b1cc23e13a9ff75af40e2b4cdf16db775702bb4610c9b82c">ShutdownTypeReboot</a> =  1, 
<a class="el" href="classKApplication.html#af65227718bbf8c864b1cc23e13a9ff75ac473afb676336ac059917e381baab7a6">ShutdownTypeHalt</a> =  2
 }</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a2d3767be32b1bff9deceee6c89ffebcd">ShutdownMode</a> { <br/>
&#160;&#160;<a class="el" href="classKApplication.html#a2d3767be32b1bff9deceee6c89ffebcdaa963f050e3f19ec1de342a175f4a60db">ShutdownModeDefault</a> =  -1, 
<a class="el" href="classKApplication.html#a2d3767be32b1bff9deceee6c89ffebcda62a0105f119f47e00ef66d0bc38266c7">ShutdownModeSchedule</a> =  0, 
<a class="el" href="classKApplication.html#a2d3767be32b1bff9deceee6c89ffebcdaa0d5519fdc0fea7917ea05a520386f31">ShutdownModeTryNow</a> =  1, 
<a class="el" href="classKApplication.html#a2d3767be32b1bff9deceee6c89ffebcdac09e23d5f3bfba6115cb1393ac230d9d">ShutdownModeForceNow</a> =  2, 
<br/>
&#160;&#160;<a class="el" href="classKApplication.html#a2d3767be32b1bff9deceee6c89ffebcda6abd9c27ca858c7c7e8fb77306a61cc4">ShutdownModeInteractive</a> =  3
<br/>
 }</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom">{ <br/>
&#160;&#160;<b>ShiftModifier</b> =  1&lt;&lt;0, 
<b>LockModifier</b> =  1&lt;&lt;1, 
<b>ControlModifier</b> =  1&lt;&lt;2, 
<b>Modifier1</b> =  1&lt;&lt;3, 
<br/>
&#160;&#160;<b>Modifier2</b> =  1&lt;&lt;4, 
<b>Modifier3</b> =  1&lt;&lt;5, 
<b>Modifier4</b> =  1&lt;&lt;6, 
<b>Modifier5</b> =  1&lt;&lt;7
<br/>
 }</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom">{ <br/>
&#160;&#160;<b>Button1Pressed</b> =  1&lt;&lt;8, 
<b>Button2Pressed</b> =  1&lt;&lt;9, 
<b>Button3Pressed</b> =  1&lt;&lt;10, 
<b>Button4Pressed</b> =  1&lt;&lt;11, 
<br/>
&#160;&#160;<b>Button5Pressed</b> =  1&lt;&lt;12
<br/>
 }</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#aeadf5ea041127ad130cbfdafa5e4ad19">SettingsCategory</a> { <br/>
&#160;&#160;<b>SETTINGS_MOUSE</b>, 
<b>SETTINGS_COMPLETION</b>, 
<b>SETTINGS_PATHS</b>, 
<b>SETTINGS_POPUPMENU</b>, 
<br/>
&#160;&#160;<b>SETTINGS_QT</b>, 
<b>SETTINGS_SHORTCUTS</b>
<br/>
 }</td></tr>
<tr><td colspan="2"><h2><a name="pub-slots"></a>
Public Slots</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a1cecbd9ad94b0cdb68a6c67d984d985d">invokeBrowser</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;url, const <a class="elRef" href="qcstring.html">QCString</a> &amp;startup_id)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#ae9dd87b2d98725befc1d585fa2315608">invokeBrowser</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;url)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#adbda6554787db3a72fc228b3b958241f">cut</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#ad166d9f4c0dc8130a5046cfaedbcfe4e">copy</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#ae7ce9fde3ead06d92c742cffb52eeb3c">paste</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a509d0c27c8fa9db38ba5f1f70ce56f20">clear</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#aa7303b428f366ac688effab651ac6d70">selectAll</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a6d71eee5f2331eba54816853c3767cc1">ref</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a1d90a9032f3b3438f770c8cd826d54cc">deref</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="signals"></a>
Signals</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a8ee6bcb4d63ac3b07c82c060b3586e93">kdisplayPaletteChanged</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a3b26710ce718e3cb239377315d197562">kdisplayStyleChanged</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a7975231c1eda9dd014703a6686d640e0">kdisplayFontChanged</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#ae486cb33eb81e8880b99813a539fa194">appearanceChanged</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a485c4ae7c0e6d1184a7fc037d20e8077">toolbarAppearanceChanged</a> (int)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a672451ac982ef3d56cd20c1f2593f6fe">backgroundChanged</a> (int desk)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a242d8c6f2f2a56a2bea8242b647188ef">settingsChanged</a> (int category)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a89f272e448637321a491c1ae298e249a">iconChanged</a> (int group)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#ac25c7a681f47692246bdebe34df42403">kipcMessage</a> (int id, int data)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#aa52ec4fb57485f25e44e7df6e3c3f3a4">saveYourself</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#affc90bf43c70ceee3255361bde856f2b">shutDown</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afe3fbfff88f5716b2180f184f1f37958"></a><!-- doxytag: member="KApplication::updateIconLoaders" ref="afe3fbfff88f5716b2180f184f1f37958" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>updateIconLoaders</b> ()</td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a5ad657f665fa1d814d66c0ed92eb6242">KApplication</a> (bool allowStyles=true, bool GUIenabled=true)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#ab128b3111e25e9d0b607472e2710c266">KApplication</a> (int &amp;<a class="elRef" href="qapplication.html#argc">argc</a>, char **<a class="elRef" href="qapplication.html#argv">argv</a>, const <a class="elRef" href="qcstring.html">QCString</a> &amp;rAppName, bool allowStyles=true, bool GUIenabled=true) KDE_DEPRECATED</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classKConfig.html">KConfig</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a8f88369c240d6d90a04d29b2761989d9">sessionConfig</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a49d25f4dfa0601b0d8a5925542882a87">isRestored</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a1bc20cf9c94c1f36156c480b917e05c6">disableSessionManagement</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a42ff55c83a514627c27371dcd4215a6e">enableSessionManagement</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a16cad2b1d09eb7abbf04e576a296b3bc">requestShutDown</a> (<a class="el" href="classKApplication.html#abcec18c56392104429bdefe034b886f1">ShutdownConfirm</a> confirm=ShutdownConfirmDefault, <a class="el" href="classKApplication.html#af65227718bbf8c864b1cc23e13a9ff75">ShutdownType</a> sdtype=ShutdownTypeDefault, <a class="el" href="classKApplication.html#a2d3767be32b1bff9deceee6c89ffebcd">ShutdownMode</a> sdmode=ShutdownModeDefault)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a62676ecdbedd0506b7acc96e8fe570bb">propagateSessionManager</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a1a8b6822cf52815ff06460ffcf56a764">commitData</a> (<a class="elRef" href="qsessionmanager.html">QSessionManager</a> &amp;sm)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a124451d863583e6ad095576f49e065ea">saveState</a> (<a class="elRef" href="qsessionmanager.html">QSessionManager</a> &amp;sm)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#adb9aaa46be611366c57f5875f44885a4">sessionSaving</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qpixmap.html">QPixmap</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a770b48d60ccca6e3a53d0647b4211a19">icon</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qstring.html">QString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a285b1727f6ef9d2cf1b492c0e77d4281">iconName</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qpixmap.html">QPixmap</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#aad3e954b56527a34de0d541c63997b0a">miniIcon</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qstring.html">QString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a220293e9c4f373424b820d9ca807ca71">miniIconName</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a4ca52b277f11f5b216e44b675ff70ee4">setTopWidget</a> (<a class="elRef" href="qwidget.html">QWidget</a> *topWidget)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a745730abd7ec0494a94fef9049de2e4a">invokeHelp</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;anchor, const <a class="elRef" href="qstring.html">QString</a> &amp;appname, const <a class="elRef" href="qcstring.html">QCString</a> &amp;startup_id) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="affc02ea10dc2baa69a90e97fdb45ea32"></a><!-- doxytag: member="KApplication::invokeHelp" ref="affc02ea10dc2baa69a90e97fdb45ea32" args="(const QString &amp;anchor=QString::null, const QString &amp;appname=QString::null) const " -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>invokeHelp</b> (const <a class="elRef" href="qstring.html">QString</a> &amp;anchor=QString::null, const <a class="elRef" href="qstring.html">QString</a> &amp;appname=QString::null) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a409208147e5b42517a6cf51f38dc9f6d">invokeHTMLHelp</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;aFilename, const <a class="elRef" href="qstring.html">QString</a> &amp;aTopic=QString::null) const KDE_DEPRECATED</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a027950d3055aaa049b77b07dd7da8b77">invokeMailer</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;address, const <a class="elRef" href="qstring.html">QString</a> &amp;subject, const <a class="elRef" href="qcstring.html">QCString</a> &amp;startup_id)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a79ab2ef0fc8eb0521fde62c04ec967c3"></a><!-- doxytag: member="KApplication::invokeMailer" ref="a79ab2ef0fc8eb0521fde62c04ec967c3" args="(const QString &amp;address, const QString &amp;subject)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>invokeMailer</b> (const <a class="elRef" href="qstring.html">QString</a> &amp;address, const <a class="elRef" href="qstring.html">QString</a> &amp;subject)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#ae5faa7b50220a958690afed000c942f8">invokeMailer</a> (const <a class="el" href="classKURL.html">KURL</a> &amp;mailtoURL, const <a class="elRef" href="qcstring.html">QCString</a> &amp;startup_id, bool allowAttachments)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a62e8cf1f6b82572df11e8f7f2f5a470d"></a><!-- doxytag: member="KApplication::invokeMailer" ref="a62e8cf1f6b82572df11e8f7f2f5a470d" args="(const KURL &amp;mailtoURL, const QCString &amp;startup_id)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>invokeMailer</b> (const <a class="el" href="classKURL.html">KURL</a> &amp;mailtoURL, const <a class="elRef" href="qcstring.html">QCString</a> &amp;startup_id)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa4b9d86838baaa5874a5dc29686e5fe8"></a><!-- doxytag: member="KApplication::invokeMailer" ref="aa4b9d86838baaa5874a5dc29686e5fe8" args="(const KURL &amp;mailtoURL)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>invokeMailer</b> (const <a class="el" href="classKURL.html">KURL</a> &amp;mailtoURL)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a4544666590ffae32f7305fcac7d75f4d">invokeMailer</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;to, const <a class="elRef" href="qstring.html">QString</a> &amp;cc, const <a class="elRef" href="qstring.html">QString</a> &amp;bcc, const <a class="elRef" href="qstring.html">QString</a> &amp;subject, const <a class="elRef" href="qstring.html">QString</a> &amp;body, const <a class="elRef" href="qstring.html">QString</a> &amp;messageFile, const <a class="elRef" href="qstringlist.html">QStringList</a> &amp;attachURLs, const <a class="elRef" href="qcstring.html">QCString</a> &amp;startup_id)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7b13173f5491cbcbc19fae99318c392b"></a><!-- doxytag: member="KApplication::invokeMailer" ref="a7b13173f5491cbcbc19fae99318c392b" args="(const QString &amp;to, const QString &amp;cc, const QString &amp;bcc, const QString &amp;subject, const QString &amp;body, const QString &amp;messageFile=QString::null, const QStringList &amp;attachURLs=QStringList())" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>invokeMailer</b> (const <a class="elRef" href="qstring.html">QString</a> &amp;to, const <a class="elRef" href="qstring.html">QString</a> &amp;cc, const <a class="elRef" href="qstring.html">QString</a> &amp;bcc, const <a class="elRef" href="qstring.html">QString</a> &amp;subject, const <a class="elRef" href="qstring.html">QString</a> &amp;body, const <a class="elRef" href="qstring.html">QString</a> &amp;messageFile=QString::null, const <a class="elRef" href="qstringlist.html">QStringList</a> &amp;attachURLs=<a class="elRef" href="qstringlist.html">QStringList</a>())</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qstring.html">QString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a5a31c97501016f1ab7b78c6382936f0c">caption</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">KDE_DEPRECATED KStyle *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a795b74c2e28723e127e6fe17a56f9009">kstyle</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qstring.html">QString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a1d78d1faf0df8f1803a7482af2f2d053">makeStdCaption</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;userCaption, bool withAppName=true, bool modified=false) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qstring.html">QString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#adf413bbd66946666d4b04979846ee7db">tempSaveName</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;pFilename) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qstring.html">QString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a385ed36190506e9141429c90424aee12">checkRecoverFile</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;pFilename, bool &amp;bRecover) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a86e333d243d31d8147ccaf29637c59d6">enableStyles</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a81a9a0187aadc83f9797f83ade7ede0e">disableStyles</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a784b62d9bb47f23a1187e8948cd3ef22">installX11EventFilter</a> (<a class="elRef" href="qwidget.html">QWidget</a> *filter)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a23e2a3bdb787c80024c26df1f97a0bb4">removeX11EventFilter</a> (const <a class="elRef" href="qwidget.html">QWidget</a> *filter)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a86a4917f024ec7a076655501b6fe393f">addKipcEventMask</a> (int id)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#abc4748c14f1a45809e6a941c35e1c791">removeKipcEventMask</a> (int id)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qcstring.html">QCString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a3dee962d7f51f7ea7cf03b77bacf53e6">startupId</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa6f38dffae868808f225fbbbad8f1519"></a><!-- doxytag: member="KApplication::setStartupId" ref="aa6f38dffae868808f225fbbbad8f1519" args="(const QCString &amp;startup_id)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>setStartupId</b> (const <a class="elRef" href="qcstring.html">QCString</a> &amp;startup_id)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a97864c3aef67e169b79936382f01b190">updateUserTimestamp</a> (unsigned long time=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">unsigned long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a7fb1cd7d7b4add1f1e68c6a40aabf5b4">userTimestamp</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a1064f3f494fafbc02762c6c5c06b421c">updateRemoteUserTimestamp</a> (const <a class="elRef" href="qcstring.html">QCString</a> &amp;dcopId, unsigned long time=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qstring.html">QString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#aa0d1258ecad6015d15b7b807f880545c">geometryArgument</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#aa55f1cc34fe39f4c9636ac07eb972c53">installKDEPropertyMap</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#ae9152bd5dd5dade049f5118f07a2577f">authorize</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;genericAction)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#aab498550055c9e9a8b8d3113b0970b38">authorizeKAction</a> (const char *action)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a3a2f197537d723f21aa2b90432e789bf">authorizeURLAction</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;action, const <a class="el" href="classKURL.html">KURL</a> &amp;baseURL, const <a class="el" href="classKURL.html">KURL</a> &amp;destURL)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a64fa1bdf687157df27826cb8e4015e18">allowURLAction</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;action, const <a class="el" href="classKURL.html">KURL</a> &amp;_baseURL, const <a class="el" href="classKURL.html">KURL</a> &amp;_destURL)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#ac1e75e3b8e096a16b553ae636d775c7b">authorizeControlModule</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;menuId)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qstringlist.html">QStringList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a2c549f478000b6a2449e18049d99a0e4">authorizeControlModules</a> (const <a class="elRef" href="qstringlist.html">QStringList</a> &amp;menuIds)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acb9519202c34c6022ab189d8f102de53"></a><!-- doxytag: member="KApplication::notify" ref="acb9519202c34c6022ab189d8f102de53" args="(QObject *receiver, QEvent *event)" -->
bool&#160;</td><td class="memItemRight" valign="bottom"><b>notify</b> (<a class="elRef" href="qobject.html">QObject</a> *receiver, <a class="elRef" href="qevent.html">QEvent</a> *event)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7f95414502fed111c457fb7dbb456793"></a><!-- doxytag: member="KApplication::xErrhandler" ref="a7f95414502fed111c457fb7dbb456793" args="(Display *, void *)" -->
int&#160;</td><td class="memItemRight" valign="bottom"><b>xErrhandler</b> (Display *, void *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a398535449fabde53e548973115a931c0"></a><!-- doxytag: member="KApplication::xioErrhandler" ref="a398535449fabde53e548973115a931c0" args="(Display *)" -->
int&#160;</td><td class="memItemRight" valign="bottom"><b>xioErrhandler</b> (Display *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4d48bd7c7b0f14d259a5894076f97109"></a><!-- doxytag: member="KApplication::iceIOErrorHandler" ref="a4d48bd7c7b0f14d259a5894076f97109" args="(_IceConn *conn)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>iceIOErrorHandler</b> (_IceConn *conn)</td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#ae79b9bdc2652ea9b71e8dcad443fa215">addCmdLineOptions</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classKApplication.html">KApplication</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a331290a72b521dae15b4a8c590c0c59d">kApplication</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" doxygen="dcop.tag:../../dcop/html/" href="../../dcop/html/classDCOPClient.html">DCOPClient</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a70b63a8a22f2544d0e322fb6a4f2571b">dcopClient</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#ad7fb5d92aa28302d2be1c6b97c49bc39">disableAutoDcopRegistration</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qcstring.html">QCString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a95128f245265f770afd3b6088ed574c4">launcher</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a0931d4a09fc26f89c05ce5423b6acf99">startServiceByName</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;_name, const <a class="elRef" href="qstring.html">QString</a> &amp;URL, <a class="elRef" href="qstring.html">QString</a> *error=0, <a class="elRef" href="qcstring.html">QCString</a> *dcopService=0, int *pid=0, const <a class="elRef" href="qcstring.html">QCString</a> &amp;startup_id=&quot;&quot;, bool noWait=false)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#afac4ea083ffb6047367f3fadf77e0aa9">startServiceByName</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;_name, const <a class="elRef" href="qstringlist.html">QStringList</a> &amp;URLs=<a class="elRef" href="qstringlist.html">QStringList</a>(), <a class="elRef" href="qstring.html">QString</a> *error=0, <a class="elRef" href="qcstring.html">QCString</a> *dcopService=0, int *pid=0, const <a class="elRef" href="qcstring.html">QCString</a> &amp;startup_id=&quot;&quot;, bool noWait=false)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#addee966620b3572c56a399210a77c715">startServiceByDesktopPath</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;_name, const <a class="elRef" href="qstring.html">QString</a> &amp;URL, <a class="elRef" href="qstring.html">QString</a> *error=0, <a class="elRef" href="qcstring.html">QCString</a> *dcopService=0, int *pid=0, const <a class="elRef" href="qcstring.html">QCString</a> &amp;startup_id=&quot;&quot;, bool noWait=false)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a7c59cf37434a89a05b51c52f9f842d6c">startServiceByDesktopPath</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;_name, const <a class="elRef" href="qstringlist.html">QStringList</a> &amp;URLs=<a class="elRef" href="qstringlist.html">QStringList</a>(), <a class="elRef" href="qstring.html">QString</a> *error=0, <a class="elRef" href="qcstring.html">QCString</a> *dcopService=0, int *pid=0, const <a class="elRef" href="qcstring.html">QCString</a> &amp;startup_id=&quot;&quot;, bool noWait=false)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a8228e2636445def9e3a731341a023e16">startServiceByDesktopName</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;_name, const <a class="elRef" href="qstring.html">QString</a> &amp;URL, <a class="elRef" href="qstring.html">QString</a> *error=0, <a class="elRef" href="qcstring.html">QCString</a> *dcopService=0, int *pid=0, const <a class="elRef" href="qcstring.html">QCString</a> &amp;startup_id=&quot;&quot;, bool noWait=false)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a1f062181acd334b13f9f8a93f8d6c36a">startServiceByDesktopName</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;_name, const <a class="elRef" href="qstringlist.html">QStringList</a> &amp;URLs=<a class="elRef" href="qstringlist.html">QStringList</a>(), <a class="elRef" href="qstring.html">QString</a> *error=0, <a class="elRef" href="qcstring.html">QCString</a> *dcopService=0, int *pid=0, const <a class="elRef" href="qcstring.html">QCString</a> &amp;startup_id=&quot;&quot;, bool noWait=false)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#ada9371fd4e484e2ae12f68a4d60f583e">kdeinitExec</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;name, const <a class="elRef" href="qstringlist.html">QStringList</a> &amp;args, <a class="elRef" href="qstring.html">QString</a> *error, int *pid, const <a class="elRef" href="qcstring.html">QCString</a> &amp;startup_id)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a74462b26de39801f565ec3b417e137d4"></a><!-- doxytag: member="KApplication::kdeinitExec" ref="a74462b26de39801f565ec3b417e137d4" args="(const QString &amp;name, const QStringList &amp;args=QStringList(), QString *error=0, int *pid=0)" -->
static int&#160;</td><td class="memItemRight" valign="bottom"><b>kdeinitExec</b> (const <a class="elRef" href="qstring.html">QString</a> &amp;name, const <a class="elRef" href="qstringlist.html">QStringList</a> &amp;args=<a class="elRef" href="qstringlist.html">QStringList</a>(), <a class="elRef" href="qstring.html">QString</a> *error=0, int *pid=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a0db4c295635463b1a01f8e0dc74028f4">kdeinitExecWait</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;name, const <a class="elRef" href="qstringlist.html">QStringList</a> &amp;args, <a class="elRef" href="qstring.html">QString</a> *error, int *pid, const <a class="elRef" href="qcstring.html">QCString</a> &amp;startup_id)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa286b6cd57ebe973b967bb30bb2a92a1"></a><!-- doxytag: member="KApplication::kdeinitExecWait" ref="aa286b6cd57ebe973b967bb30bb2a92a1" args="(const QString &amp;name, const QStringList &amp;args=QStringList(), QString *error=0, int *pid=0)" -->
static int&#160;</td><td class="memItemRight" valign="bottom"><b>kdeinitExecWait</b> (const <a class="elRef" href="qstring.html">QString</a> &amp;name, const <a class="elRef" href="qstringlist.html">QStringList</a> &amp;args=<a class="elRef" href="qstringlist.html">QStringList</a>(), <a class="elRef" href="qstring.html">QString</a> *error=0, int *pid=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#af4e013a839f0ca4b35121fbc35ac0719">random</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qstring.html">QString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a7f764319574823a984e5246357fa6387">randomString</a> (int length)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static ButtonState&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a11e847e6f91426160ce8d3a7ae73a9ca">keyboardMouseState</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static uint&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a75d036ce2b111a75b2443a61e3a704aa">keyboardModifiers</a> () KDE_DEPRECATED</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static uint&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a52779859cd547a758142e043492c4777">mouseState</a> () KDE_DEPRECATED</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aae41a470454ca09cc207ca42ea0e946c"></a><!-- doxytag: member="KApplication::startKdeinit" ref="aae41a470454ca09cc207ca42ea0e946c" args="()" -->
static void&#160;</td><td class="memItemRight" valign="bottom"><b>startKdeinit</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qpalette.html">QPalette</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a9c0b8c2758b6f2fcfe367bc61ee6880f">createApplicationPalette</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a92d5b905334308777c91cdc22d7530fb"></a><!-- doxytag: member="KApplication::createApplicationPalette" ref="a92d5b905334308777c91cdc22d7530fb" args="(KConfig *config, int contrast)" -->
static <a class="elRef" href="qpalette.html">QPalette</a>&#160;</td><td class="memItemRight" valign="bottom"><b>createApplicationPalette</b> (<a class="el" href="classKConfig.html">KConfig</a> *config, int contrast)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a23b19b8d4f04b22d2f3851392016abd6">installSigpipeHandler</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae7d47c4dc5efc5c9d4181c164f657d34"></a><!-- doxytag: member="KApplication::guiEnabled" ref="ae7d47c4dc5efc5c9d4181c164f657d34" args="()" -->
static bool&#160;</td><td class="memItemRight" valign="bottom"><b>guiEnabled</b> ()</td></tr>
<tr><td colspan="2"><h2><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acc30bb7aea8b7ca5b4726ce40997f282"></a><!-- doxytag: member="KApplication::loadedByKdeinit" ref="acc30bb7aea8b7ca5b4726ce40997f282" args="" -->
static bool&#160;</td><td class="memItemRight" valign="bottom"><b>loadedByKdeinit</b> = false</td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9113b24e20dd557bf844013ca950d158"></a><!-- doxytag: member="KApplication::KApplication" ref="a9113b24e20dd557bf844013ca950d158" args="(bool allowStyles, bool GUIenabled, KInstance *_instance)" -->
&#160;</td><td class="memItemRight" valign="bottom"><b>KApplication</b> (bool allowStyles, bool GUIenabled, <a class="el" href="classKInstance.html">KInstance</a> *_instance)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#a3b48e7a8b05ddfb419a464da8aee0b90">invokeEditSlot</a> (const char *slot)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a25e71e52ef132234b7c29106b77234b2"></a><!-- doxytag: member="KApplication::virtual_hook" ref="a25e71e52ef132234b7c29106b77234b2" args="(int id, void *data)" -->
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>virtual_hook</b> (int id, void *data)</td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a79e134c4d421bade69901579ee0f9ac8"></a><!-- doxytag: member="KApplication::kipcCommAtom" ref="a79e134c4d421bade69901579ee0f9ac8" args="" -->
Atom&#160;</td><td class="memItemRight" valign="bottom"><b>kipcCommAtom</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a85fdf26529faa340805f3bca4f8d0357"></a><!-- doxytag: member="KApplication::kipcEventMask" ref="a85fdf26529faa340805f3bca4f8d0357" args="" -->
int&#160;</td><td class="memItemRight" valign="bottom"><b>kipcEventMask</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a04d41c47705b216da55e6a7af6f19361"></a><!-- doxytag: member="KApplication::pArgc" ref="a04d41c47705b216da55e6a7af6f19361" args="" -->
int&#160;</td><td class="memItemRight" valign="bottom"><b>pArgc</b></td></tr>
<tr><td colspan="2"><h2><a name="pro-static-attribs"></a>
Static Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classKApplication.html">KApplication</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKApplication.html#aa33f7cb1443c041b2af7e4f79fdafb94">KApp</a> = 0L</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Controls and provides information to all <a class="el" href="namespaceKDE.html" title="Namespace for general KDE functions.">KDE</a> applications. </p>
<p>Only one object of this class can be instantiated in a single app. This instance is always accessible via the 'kapp' global variable. See <a class="el" href="classKApplication.html#adbda6554787db3a72fc228b3b958241f" title="If the widget with focus provides a cut() slot, call that slot.">cut()</a> for an example.</p>
<p>This class provides the following services to all <a class="el" href="namespaceKDE.html" title="Namespace for general KDE functions.">KDE</a> applications.</p>
<ul>
<li>It controls the event queue (see <a class="elRef" href="qapplication.html">QApplication</a> ). </li>
<li>It provides the application with <a class="el" href="namespaceKDE.html" title="Namespace for general KDE functions.">KDE</a> resources such as accelerators, common menu entries, a <a class="el" href="classKConfig.html" title="Access KDE Configuration entries.">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>
<li>Installs an empty signal handler for the SIGPIPE signal using <a class="el" href="classKApplication.html#a23b19b8d4f04b22d2f3851392016abd6" title="Installs a handler for the SIGPIPE signal.">installSigpipeHandler()</a>. If you want to catch this signal yourself, you have set a new signal handler after KApplication's constructor has run. </li>
<li>It can start new services</li>
</ul>
<p>The way a service gets started depends on the 'X-DCOP-ServiceType' entry in the desktop file of the service:</p>
<p>There are three possibilities: </p>
<ul>
<li>X-DCOP-ServiceType=None (default) Always start a new service, don't wait till the service registers with dcop. </li>
<li>X-DCOP-ServiceType=Multi Always start a new service, wait until the service has registered with dcop. </li>
<li>X-DCOP-ServiceType=Unique Only start the service if it isn't already running, wait until the service has registered with dcop.</li>
</ul>
<p>Controls and provides information to all <a class="el" href="namespaceKDE.html" title="Namespace for general KDE functions.">KDE</a> applications. </p>
<dl class="author"><dt><b>Author:</b></dt><dd>Matthias Kalle Dalheimer &lt;<a href="mailto:kalle@kde.org">kalle@kde.org</a>&gt; </dd></dl>

<p>Definition at line <a class="el" href="kapplication_8h_source.html#l00094">94</a> of file <a class="el" href="kapplication_8h_source.html">kapplication.h</a>.</p>
</div><hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="a8c1346381bbeacc5bca347712deafc0c"></a><!-- doxytag: member="KApplication::@2" ref="a8c1346381bbeacc5bca347712deafc0c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">anonymous enum</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="deprecated"><dt><b>Deprecated:</b></dt><dd>Same values as Button1Mask etc.</dd></dl>
<p>in X.h </p>

<p>Definition at line <a class="el" href="kapplication_8h_source.html#l01072">1072</a> of file <a class="el" href="kapplication_8h_source.html">kapplication.h</a>.</p>

</div>
</div>
<a class="anchor" id="a42a17f01005bf4c65a842d3d513a9951"></a><!-- doxytag: member="KApplication::CaptionLayout" ref="a42a17f01005bf4c65a842d3d513a9951" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classKApplication.html#a42a17f01005bf4c65a842d3d513a9951">KApplication::CaptionLayout</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Position of the caption (presumably in the application window's title bar). </p>
<p>This enum appears to be unused.</p>
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000008">Todo:</a></b></dt><dd>Find out if this is used anywhere. </dd></dl>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a42a17f01005bf4c65a842d3d513a9951a5a298c7f1e738261890141604d047624"></a><!-- doxytag: member="CaptionAppLast" ref="a42a17f01005bf4c65a842d3d513a9951a5a298c7f1e738261890141604d047624" args="" -->CaptionAppLast</em>&nbsp;</td><td>
<p>Display the application name last (before document name). </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a42a17f01005bf4c65a842d3d513a9951a88006668a25f5630f24237cc8c6c8c7a"></a><!-- doxytag: member="CaptionAppFirst" ref="a42a17f01005bf4c65a842d3d513a9951a88006668a25f5630f24237cc8c6c8c7a" args="" -->CaptionAppFirst</em>&nbsp;</td><td>
<p>Display the application name first. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a42a17f01005bf4c65a842d3d513a9951a79a878f83571d0ed228d74ea83a89dbf"></a><!-- doxytag: member="CaptionNoApp" ref="a42a17f01005bf4c65a842d3d513a9951a79a878f83571d0ed228d74ea83a89dbf" args="" -->CaptionNoApp</em>&nbsp;</td><td>
<p>Do not display application name at all. </p>
</td></tr>
</table>
</dd>
</dl>

<p>Definition at line <a class="el" href="kapplication_8h_source.html#l00104">104</a> of file <a class="el" href="kapplication_8h_source.html">kapplication.h</a>.</p>

</div>
</div>
<a class="anchor" id="aeadf5ea041127ad130cbfdafa5e4ad19"></a><!-- doxytag: member="KApplication::SettingsCategory" ref="aeadf5ea041127ad130cbfdafa5e4ad19" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classKApplication.html#aeadf5ea041127ad130cbfdafa5e4ad19">KApplication::SettingsCategory</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Valid values for the settingsChanged signal. </p>

<p>Definition at line <a class="el" href="kapplication_8h_source.html#l01228">1228</a> of file <a class="el" href="kapplication_8h_source.html">kapplication.h</a>.</p>

</div>
</div>
<a class="anchor" id="abcec18c56392104429bdefe034b886f1"></a><!-- doxytag: member="KApplication::ShutdownConfirm" ref="abcec18c56392104429bdefe034b886f1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classKApplication.html#abcec18c56392104429bdefe034b886f1">KApplication::ShutdownConfirm</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The possible values for the <code>confirm</code> parameter of <a class="el" href="classKApplication.html#a16cad2b1d09eb7abbf04e576a296b3bc" title="Asks the session manager to shut the session down.">requestShutDown()</a>. </p>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="abcec18c56392104429bdefe034b886f1a5ac1d722000b682c6a6461788a93348a"></a><!-- doxytag: member="ShutdownConfirmDefault" ref="abcec18c56392104429bdefe034b886f1a5ac1d722000b682c6a6461788a93348a" args="" -->ShutdownConfirmDefault</em>&nbsp;</td><td>
<p>Obey the user's confirmation setting. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="abcec18c56392104429bdefe034b886f1a1f660cecd4fe39a99bacb4562265f516"></a><!-- doxytag: member="ShutdownConfirmNo" ref="abcec18c56392104429bdefe034b886f1a1f660cecd4fe39a99bacb4562265f516" args="" -->ShutdownConfirmNo</em>&nbsp;</td><td>
<p>Don't confirm, shutdown without asking. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="abcec18c56392104429bdefe034b886f1a4f744d95b8a7ecf8da34d04877a7224d"></a><!-- doxytag: member="ShutdownConfirmYes" ref="abcec18c56392104429bdefe034b886f1a4f744d95b8a7ecf8da34d04877a7224d" args="" -->ShutdownConfirmYes</em>&nbsp;</td><td>
<p>Always confirm, ask even if the user turned it off. </p>
</td></tr>
</table>
</dd>
</dl>

<p>Definition at line <a class="el" href="kapplication_8h_source.html#l00264">264</a> of file <a class="el" href="kapplication_8h_source.html">kapplication.h</a>.</p>

</div>
</div>
<a class="anchor" id="a2d3767be32b1bff9deceee6c89ffebcd"></a><!-- doxytag: member="KApplication::ShutdownMode" ref="a2d3767be32b1bff9deceee6c89ffebcd" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classKApplication.html#a2d3767be32b1bff9deceee6c89ffebcd">KApplication::ShutdownMode</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The possible values for the <code>sdmode</code> parameter of <a class="el" href="classKApplication.html#a16cad2b1d09eb7abbf04e576a296b3bc" title="Asks the session manager to shut the session down.">requestShutDown()</a>. </p>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a2d3767be32b1bff9deceee6c89ffebcdaa963f050e3f19ec1de342a175f4a60db"></a><!-- doxytag: member="ShutdownModeDefault" ref="a2d3767be32b1bff9deceee6c89ffebcdaa963f050e3f19ec1de342a175f4a60db" args="" -->ShutdownModeDefault</em>&nbsp;</td><td>
<p>Select previous mode or the default if it's the first time. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a2d3767be32b1bff9deceee6c89ffebcda62a0105f119f47e00ef66d0bc38266c7"></a><!-- doxytag: member="ShutdownModeSchedule" ref="a2d3767be32b1bff9deceee6c89ffebcda62a0105f119f47e00ef66d0bc38266c7" args="" -->ShutdownModeSchedule</em>&nbsp;</td><td>
<p>Schedule a shutdown (halt or reboot) for the time all active sessions have exited. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a2d3767be32b1bff9deceee6c89ffebcdaa0d5519fdc0fea7917ea05a520386f31"></a><!-- doxytag: member="ShutdownModeTryNow" ref="a2d3767be32b1bff9deceee6c89ffebcdaa0d5519fdc0fea7917ea05a520386f31" args="" -->ShutdownModeTryNow</em>&nbsp;</td><td>
<p>Shut down, if no sessions are active. </p>
<p>Otherwise do nothing. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a2d3767be32b1bff9deceee6c89ffebcdac09e23d5f3bfba6115cb1393ac230d9d"></a><!-- doxytag: member="ShutdownModeForceNow" ref="a2d3767be32b1bff9deceee6c89ffebcdac09e23d5f3bfba6115cb1393ac230d9d" args="" -->ShutdownModeForceNow</em>&nbsp;</td><td>
<p>Force shutdown. </p>
<p>Kill any possibly active sessions. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a2d3767be32b1bff9deceee6c89ffebcda6abd9c27ca858c7c7e8fb77306a61cc4"></a><!-- doxytag: member="ShutdownModeInteractive" ref="a2d3767be32b1bff9deceee6c89ffebcda6abd9c27ca858c7c7e8fb77306a61cc4" args="" -->ShutdownModeInteractive</em>&nbsp;</td><td>
<p>Pop up a dialog asking the user what to do if sessions are still active. </p>
</td></tr>
</table>
</dd>
</dl>

<p>Definition at line <a class="el" href="kapplication_8h_source.html#l00304">304</a> of file <a class="el" href="kapplication_8h_source.html">kapplication.h</a>.</p>

</div>
</div>
<a class="anchor" id="af65227718bbf8c864b1cc23e13a9ff75"></a><!-- doxytag: member="KApplication::ShutdownType" ref="af65227718bbf8c864b1cc23e13a9ff75" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classKApplication.html#af65227718bbf8c864b1cc23e13a9ff75">KApplication::ShutdownType</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The possible values for the <code>sdtype</code> parameter of <a class="el" href="classKApplication.html#a16cad2b1d09eb7abbf04e576a296b3bc" title="Asks the session manager to shut the session down.">requestShutDown()</a>. </p>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="af65227718bbf8c864b1cc23e13a9ff75a45e2580d948d5b7dbc97ac934c99a07a"></a><!-- doxytag: member="ShutdownTypeDefault" ref="af65227718bbf8c864b1cc23e13a9ff75a45e2580d948d5b7dbc97ac934c99a07a" args="" -->ShutdownTypeDefault</em>&nbsp;</td><td>
<p>Select previous action or the default if it's the first time. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="af65227718bbf8c864b1cc23e13a9ff75adbbb414b077bf13825b4bf0a73ee2962"></a><!-- doxytag: member="ShutdownTypeNone" ref="af65227718bbf8c864b1cc23e13a9ff75adbbb414b077bf13825b4bf0a73ee2962" args="" -->ShutdownTypeNone</em>&nbsp;</td><td>
<p>Only log out. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="af65227718bbf8c864b1cc23e13a9ff75af40e2b4cdf16db775702bb4610c9b82c"></a><!-- doxytag: member="ShutdownTypeReboot" ref="af65227718bbf8c864b1cc23e13a9ff75af40e2b4cdf16db775702bb4610c9b82c" args="" -->ShutdownTypeReboot</em>&nbsp;</td><td>
<p>Log out and reboot the machine. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="af65227718bbf8c864b1cc23e13a9ff75ac473afb676336ac059917e381baab7a6"></a><!-- doxytag: member="ShutdownTypeHalt" ref="af65227718bbf8c864b1cc23e13a9ff75ac473afb676336ac059917e381baab7a6" args="" -->ShutdownTypeHalt</em>&nbsp;</td><td>
<p>Log out and halt the machine. </p>
</td></tr>
</table>
</dd>
</dl>

<p>Definition at line <a class="el" href="kapplication_8h_source.html#l00282">282</a> of file <a class="el" href="kapplication_8h_source.html">kapplication.h</a>.</p>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a5ad657f665fa1d814d66c0ed92eb6242"></a><!-- doxytag: member="KApplication::KApplication" ref="a5ad657f665fa1d814d66c0ed92eb6242" args="(bool allowStyles=true, bool GUIenabled=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KApplication::KApplication </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>allowStyles</em> = <code>true</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>GUIenabled</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This constructor takes aboutData and command line arguments from <a class="el" href="classKCmdLineArgs.html" title="A class for command-line argument handling.">KCmdLineArgs</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">allowStyles</td><td>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 class="el" href="classKApplication.html#a86e333d243d31d8147ccaf29637c59d6" title="Enables style plugins.">enableStyles()</a> before displaying any widgets.</td></tr>
    <tr><td class="paramname">GUIenabled</td><td>Set to false to disable all GUI stuff. This implies no styles either. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l00615">615</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ab128b3111e25e9d0b607472e2710c266"></a><!-- doxytag: member="KApplication::KApplication" ref="ab128b3111e25e9d0b607472e2710c266" args="(int &amp;argc, char **argv, const QCString &amp;rAppName, bool allowStyles=true, bool GUIenabled=true) KDE_DEPRECATED" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KApplication::KApplication </td>
          <td>(</td>
          <td class="paramtype">int &amp;&#160;</td>
          <td class="paramname"><em>argc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char **&#160;</td>
          <td class="paramname"><em>argv</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>rAppName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>allowStyles</em> = <code>true</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>GUIenabled</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000013">Deprecated:</a></b></dt><dd>do not use it at all, it will make your application crash, use <a class="el" href="classKCmdLineArgs.html" title="A class for command-line argument handling.">KCmdLineArgs</a></dd></dl>
<p>Constructor. Parses command-line arguments.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">argc</td><td>command line argument count</td></tr>
    <tr><td class="paramname">argv</td><td>command line argument value(s)</td></tr>
    <tr><td class="paramname">rAppName</td><td>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 class="paramname">allowStyles</td><td>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 class="el" href="classKApplication.html#a86e333d243d31d8147ccaf29637c59d6" title="Enables style plugins.">enableStyles()</a> before displaying any widgets.</td></tr>
    <tr><td class="paramname">GUIenabled</td><td>Set to false to disable all GUI stuff. This implies no styles either. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l00591">591</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ae79b9bdc2652ea9b71e8dcad443fa215"></a><!-- doxytag: member="KApplication::addCmdLineOptions" ref="ae79b9bdc2652ea9b71e8dcad443fa215" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KApplication::addCmdLineOptions </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Add <a class="elRef" href="qt.html">Qt</a> and <a class="el" href="namespaceKDE.html" title="Namespace for general KDE functions.">KDE</a> command line options to <a class="el" href="classKCmdLineArgs.html" title="A class for command-line argument handling.">KCmdLineArgs</a>. </p>

<p>Reimplemented in <a class="el" href="classKUniqueApplication.html#af94c9757a43c52c45978b99c43abfac8">KUniqueApplication</a>.</p>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l01484">1484</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a86a4917f024ec7a076655501b6fe393f"></a><!-- doxytag: member="KApplication::addKipcEventMask" ref="a86a4917f024ec7a076655501b6fe393f" args="(int id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KApplication::addKipcEventMask </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>id</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Adds a message type to the <a class="el" href="classKIPC.html" title="This class implements a very simple IPC mechanism for KDE.">KIPC</a> event mask. </p>
<p>You can only add "system
 messages" to the event mask. These are the messages with id &lt; 32. Messages with id &gt;= 32 are user messages. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>The message id. See <a class="el" href="classKIPC.html#ac126e784966e30390fa31b715d8e0668" title="A identifier for messages.">KIPC::Message</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKIPC.html" title="This class implements a very simple IPC mechanism for KDE.">KIPC</a> </dd>
<dd>
<a class="el" href="classKApplication.html#abc4748c14f1a45809e6a941c35e1c791" title="Removes a message type from the KIPC event mask.">removeKipcEventMask()</a> </dd>
<dd>
<a class="el" href="classKApplication.html#ac25c7a681f47692246bdebe34df42403" title="Emitted when a KIPC user message has been received.">kipcMessage()</a> </dd></dl>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l01891">1891</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a64fa1bdf687157df27826cb8e4015e18"></a><!-- doxytag: member="KApplication::allowURLAction" ref="a64fa1bdf687157df27826cb8e4015e18" args="(const QString &amp;action, const KURL &amp;_baseURL, const KURL &amp;_destURL)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KApplication::allowURLAction </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>action</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classKURL.html">KURL</a> &amp;&#160;</td>
          <td class="paramname"><em>_baseURL</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classKURL.html">KURL</a> &amp;&#160;</td>
          <td class="paramname"><em>_destURL</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Allow a certain URL action. </p>
<p>This can be useful if your application needs to ensure access to an application specific directory that may otherwise be subject to KIOSK restrictions. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">action</td><td>The name of the action. </td></tr>
    <tr><td class="paramname">_baseURL</td><td>The url where the action originates from </td></tr>
    <tr><td class="paramname">_destURL</td><td>The object of the action </td></tr>
  </table>
  </dd>
</dl>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2 </dd></dl>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l03105">3105</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ae486cb33eb81e8880b99813a539fa194"></a><!-- doxytag: member="KApplication::appearanceChanged" ref="ae486cb33eb81e8880b99813a539fa194" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KApplication::appearanceChanged </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Emitted when <a class="el" href="classKApplication.html" title="Controls and provides information to all KDE applications.">KApplication</a> has changed either its GUI style, its font or its palette in response to a kdisplay request. </p>
<p>Normally, widgets will update their styles automatically, but you should connect to this to program special behavior. </p>

</div>
</div>
<a class="anchor" id="ae9152bd5dd5dade049f5118f07a2577f"></a><!-- doxytag: member="KApplication::authorize" ref="ae9152bd5dd5dade049f5118f07a2577f" args="(const QString &amp;genericAction)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KApplication::authorize </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>genericAction</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns whether a certain action is authorized. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">genericAction</td><td>The name of a generic action </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if the action is authorized </dd></dl>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l02985">2985</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ac1e75e3b8e096a16b553ae636d775c7b"></a><!-- doxytag: member="KApplication::authorizeControlModule" ref="ac1e75e3b8e096a16b553ae636d775c7b" args="(const QString &amp;menuId)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KApplication::authorizeControlModule </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>menuId</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns whether access to a certain control module is authorized. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">menuId</td><td>identifying the control module, e.g. kde-mouse.desktop </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if access to the module is authorized, false otherwise. </dd></dl>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2 </dd></dl>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l03005">3005</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a2c549f478000b6a2449e18049d99a0e4"></a><!-- doxytag: member="KApplication::authorizeControlModules" ref="a2c549f478000b6a2449e18049d99a0e4" args="(const QStringList &amp;menuIds)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qstringlist.html">QStringList</a> KApplication::authorizeControlModules </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstringlist.html">QStringList</a> &amp;&#160;</td>
          <td class="paramname"><em>menuIds</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns whether access to a certain control modules is authorized. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">menuIds</td><td>list of menu-ids of control module, an example of a menu-id is kde-mouse.desktop. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Those control modules for which access has been authorized. </dd></dl>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2 </dd></dl>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l03014">3014</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aab498550055c9e9a8b8d3113b0970b38"></a><!-- doxytag: member="KApplication::authorizeKAction" ref="aab498550055c9e9a8b8d3113b0970b38" args="(const char *action)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KApplication::authorizeKAction </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>action</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns whether a certain <a class="elRef" doxygen="kdeui.tag:../../kdeui/html/" href="../../kdeui/html/classKAction.html">KAction</a> is authorized. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">action</td><td>The name of a <a class="elRef" doxygen="kdeui.tag:../../kdeui/html/" href="../../kdeui/html/classKAction.html">KAction</a> action. The name is prepended with "action/" before being passed to <a class="el" href="classKApplication.html#ae9152bd5dd5dade049f5118f07a2577f" title="Returns whether a certain action is authorized.">authorize()</a> </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if the <a class="elRef" doxygen="kdeui.tag:../../kdeui/html/" href="../../kdeui/html/classKAction.html">KAction</a> is authorized </dd></dl>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l02995">2995</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a3a2f197537d723f21aa2b90432e789bf"></a><!-- doxytag: member="KApplication::authorizeURLAction" ref="a3a2f197537d723f21aa2b90432e789bf" args="(const QString &amp;action, const KURL &amp;baseURL, const KURL &amp;destURL)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KApplication::authorizeURLAction </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>action</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classKURL.html">KURL</a> &amp;&#160;</td>
          <td class="paramname"><em>baseURL</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classKURL.html">KURL</a> &amp;&#160;</td>
          <td class="paramname"><em>destURL</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns whether a certain URL related action is authorized. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">action</td><td>The name of the action. Known actions are list (may be listed (e.g. in file selection dialog)), link (may be linked to), open (may open) and redirect (may be redirected to) </td></tr>
    <tr><td class="paramname">baseURL</td><td>The url where the action originates from </td></tr>
    <tr><td class="paramname">destURL</td><td>The object of the action </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true when the action is authorized, false otherwise. </dd></dl>
<dl class="since"><dt><b>Since:</b></dt><dd>3.1 </dd></dl>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l03115">3115</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a672451ac982ef3d56cd20c1f2593f6fe"></a><!-- doxytag: member="KApplication::backgroundChanged" ref="a672451ac982ef3d56cd20c1f2593f6fe" args="(int desk)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KApplication::backgroundChanged </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>desk</em></td><td>)</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Emitted when the desktop background has been changed by <code>kcmdisplay</code>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">desk</td><td>The desktop whose background has changed. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a5a31c97501016f1ab7b78c6382936f0c"></a><!-- doxytag: member="KApplication::caption" ref="a5a31c97501016f1ab7b78c6382936f0c" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qstring.html">QString</a> KApplication::caption </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns 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>
<dl class="return"><dt><b>Returns:</b></dt><dd>the text for the window caption </dd></dl>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l01952">1952</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a385ed36190506e9141429c90424aee12"></a><!-- doxytag: member="KApplication::checkRecoverFile" ref="a385ed36190506e9141429c90424aee12" args="(const QString &amp;pFilename, bool &amp;bRecover) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qstring.html">QString</a> KApplication::checkRecoverFile </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>pFilename</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool &amp;&#160;</td>
          <td class="paramname"><em>bRecover</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Check whether an auto-save file exists for the document you want to open. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pFilename</td><td>The full path to the document you want to open. </td></tr>
    <tr><td class="paramname">bRecover</td><td>This gets set to true if there was a recover file. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The full path of the file to open. </dd></dl>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l02816">2816</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a509d0c27c8fa9db38ba5f1f70ce56f20"></a><!-- doxytag: member="KApplication::clear" ref="a509d0c27c8fa9db38ba5f1f70ce56f20" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KApplication::clear </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>If the widget with focus provides a <a class="el" href="classKApplication.html#a509d0c27c8fa9db38ba5f1f70ce56f20" title="If the widget with focus provides a clear() slot, call that slot.">clear()</a> slot, call that slot. </p>
<p>Thus for a simple application <a class="el" href="classKApplication.html#a509d0c27c8fa9db38ba5f1f70ce56f20" title="If the widget with focus provides a clear() slot, call that slot.">clear()</a> can be implemented as: </p>
<div class="fragment"><pre class="fragment"> <span class="keyword">new</span> <a class="codeRef" doxygen="kdeui.tag:../../kdeui/html/" href="../../kdeui/html/classKAction.html">KAction</a>( i18n( <span class="stringliteral">&quot;Clear&quot;</span> ), <span class="stringliteral">&quot;editclear&quot;</span>, 0, kapp, SLOT( <a class="code" href="classKApplication.html#a509d0c27c8fa9db38ba5f1f70ce56f20" title="If the widget with focus provides a clear() slot, call that slot.">clear</a>() ), actionCollection(), <span class="stringliteral">&quot;clear&quot;</span> );
</pre></div><p>Note that for some widgets, this may not provide the intended bahavior. For example if you make use of the code above and a <a class="elRef" doxygen="kdeui.tag:../../kdeui/html/" href="../../kdeui/html/classKListView.html">KListView</a> has the focus, <a class="el" href="classKApplication.html#a509d0c27c8fa9db38ba5f1f70ce56f20" title="If the widget with focus provides a clear() slot, call that slot.">clear()</a> will clear all of the items in the list. If this is not the intened behavior and you want to make use of this slot, you can subclass <a class="elRef" doxygen="kdeui.tag:../../kdeui/html/" href="../../kdeui/html/classKListView.html">KListView</a> and reimplement this slot. For example the following code would implement a <a class="elRef" doxygen="kdeui.tag:../../kdeui/html/" href="../../kdeui/html/classKListView.html">KListView</a> without this behavior:</p>
<div class="fragment"><pre class="fragment"> <span class="keyword">class </span>MyListView : <span class="keyword">public</span> <a class="codeRef" doxygen="kdeui.tag:../../kdeui/html/" href="../../kdeui/html/classKListView.html">KListView</a> {
   Q_OBJECT
 <span class="keyword">public</span>:
   MyListView( <a class="codeRef" href="qwidget.html">QWidget</a> * parent = 0, <span class="keyword">const</span> <span class="keywordtype">char</span> * name = 0, WFlags f = 0 ) : <a class="codeRef" doxygen="kdeui.tag:../../kdeui/html/" href="../../kdeui/html/classKListView.html">KListView</a>( parent, <a class="codeRef" doxygen="kdeui.tag:../../kdeui/html/" href="../../kdeui/html/namespaceKStdAction.html#afeceea2c9f84c16ec7b6771f36190b90">name</a>, f ) {}
   <span class="keyword">virtual</span> ~MyListView() {}
 <span class="keyword">public</span> slots:
   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classKApplication.html#a509d0c27c8fa9db38ba5f1f70ce56f20" title="If the widget with focus provides a clear() slot, call that slot.">clear</a>() {}
 };
</pre></div> 
<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l02596">2596</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a1a8b6822cf52815ff06460ffcf56a764"></a><!-- doxytag: member="KApplication::commitData" ref="a1a8b6822cf52815ff06460ffcf56a764" args="(QSessionManager &amp;sm)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KApplication::commitData </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qsessionmanager.html">QSessionManager</a> &amp;&#160;</td>
          <td class="paramname"><em>sm</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplemented for internal purposes, mainly the highlevel handling of session management with <a class="el" href="classKSessionManaged.html" title="Provides highlevel access to session management on a per-object base.">KSessionManaged</a>. </p>

<p>Reimplemented from <a class="elRef" href="qapplication.html#commitData">QApplication</a>.</p>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l01203">1203</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ad166d9f4c0dc8130a5046cfaedbcfe4e"></a><!-- doxytag: member="KApplication::copy" ref="ad166d9f4c0dc8130a5046cfaedbcfe4e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KApplication::copy </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>If the widget with focus provides a <a class="el" href="classKApplication.html#ad166d9f4c0dc8130a5046cfaedbcfe4e" title="If the widget with focus provides a copy() slot, call that slot.">copy()</a> slot, call that slot. </p>
<p>Thus for a simple application copy can be implemented as: </p>
<div class="fragment"><pre class="fragment"> <a class="code" href="classKApplication.html#ad166d9f4c0dc8130a5046cfaedbcfe4e" title="If the widget with focus provides a copy() slot, call that slot.">KStdAction::copy</a>( kapp, SLOT( <a class="code" href="classKApplication.html#ad166d9f4c0dc8130a5046cfaedbcfe4e" title="If the widget with focus provides a copy() slot, call that slot.">copy</a>() ), actionCollection() );
</pre></div> 
<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l02586">2586</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a9c0b8c2758b6f2fcfe367bc61ee6880f"></a><!-- doxytag: member="KApplication::createApplicationPalette" ref="a9c0b8c2758b6f2fcfe367bc61ee6880f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qpalette.html">QPalette</a> KApplication::createApplicationPalette </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Used to obtain the <a class="elRef" href="qpalette.html">QPalette</a> that will be used to set the application palette. </p>
<p>This is only useful for configuration modules such as krdb and should not be used in normal circumstances. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the <a class="elRef" href="qpalette.html">QPalette</a> </dd></dl>
<dl class="since"><dt><b>Since:</b></dt><dd>3.1 </dd></dl>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l01990">1990</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="adbda6554787db3a72fc228b3b958241f"></a><!-- doxytag: member="KApplication::cut" ref="adbda6554787db3a72fc228b3b958241f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KApplication::cut </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>If the widget with focus provides a <a class="el" href="classKApplication.html#adbda6554787db3a72fc228b3b958241f" title="If the widget with focus provides a cut() slot, call that slot.">cut()</a> slot, call that slot. </p>
<p>Thus for a simple application cut can be implemented as: </p>
<div class="fragment"><pre class="fragment"> <a class="code" href="classKApplication.html#adbda6554787db3a72fc228b3b958241f" title="If the widget with focus provides a cut() slot, call that slot.">KStdAction::cut</a>( kapp, SLOT( <a class="code" href="classKApplication.html#adbda6554787db3a72fc228b3b958241f" title="If the widget with focus provides a cut() slot, call that slot.">cut</a>() ), actionCollection() );
</pre></div> 
<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l02581">2581</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a70b63a8a22f2544d0e322fb6a4f2571b"></a><!-- doxytag: member="KApplication::dcopClient" ref="a70b63a8a22f2544d0e322fb6a4f2571b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="dcop.tag:../../dcop/html/" href="../../dcop/html/classDCOPClient.html">DCOPClient</a> * KApplication::dcopClient </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns a pointer to a <a class="elRef" doxygen="dcop.tag:../../dcop/html/" href="../../dcop/html/classDCOPClient.html">DCOPClient</a> for the application. </p>
<p>If a client does not exist yet, it is created when this function is called. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the <a class="elRef" doxygen="dcop.tag:../../dcop/html/" href="../../dcop/html/classDCOPClient.html">DCOPClient</a> for the application </dd></dl>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l00981">981</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a1d90a9032f3b3438f770c8cd826d54cc"></a><!-- doxytag: member="KApplication::deref" ref="a1d90a9032f3b3438f770c8cd826d54cc" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KApplication::deref </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Tells <a class="el" href="classKApplication.html" title="Controls and provides information to all KDE applications.">KApplication</a> that one operation such as those described in <a class="el" href="classKApplication.html#a6d71eee5f2331eba54816853c3767cc1" title="Tells KApplication about one more operation that should be finished before the application exits...">ref()</a> just finished. </p>
<p>The application exits if the counter is back to 0. </p>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l01047">1047</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ad7fb5d92aa28302d2be1c6b97c49bc39"></a><!-- doxytag: member="KApplication::disableAutoDcopRegistration" ref="ad7fb5d92aa28302d2be1c6b97c49bc39" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KApplication::disableAutoDcopRegistration </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Disable automatic dcop registration Must be called before creating a <a class="el" href="classKApplication.html" title="Controls and provides information to all KDE applications.">KApplication</a> instance to have an effect. </p>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l01026">1026</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a1bc20cf9c94c1f36156c480b917e05c6"></a><!-- doxytag: member="KApplication::disableSessionManagement" ref="a1bc20cf9c94c1f36156c480b917e05c6" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KApplication::disableSessionManagement </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Disables session management for this application. </p>
<p>Useful in case your application is started by the initial "startkde" script. </p>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l01077">1077</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a81a9a0187aadc83f9797f83ade7ede0e"></a><!-- doxytag: member="KApplication::disableStyles" ref="a81a9a0187aadc83f9797f83ade7ede0e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KApplication::disableStyles </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Disables style plugins. </p>
<p>Current style plugins do not get unloaded.</p>
<p>This is only useful when used in combination with <a class="el" href="classKApplication.html#a86e333d243d31d8147ccaf29637c59d6" title="Enables style plugins.">enableStyles()</a>. </p>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l01920">1920</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a42ff55c83a514627c27371dcd4215a6e"></a><!-- doxytag: member="KApplication::enableSessionManagement" ref="a42ff55c83a514627c27371dcd4215a6e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KApplication::enableSessionManagement </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Enables again session management for this application, formerly disabled by calling <a class="el" href="classKApplication.html#a1bc20cf9c94c1f36156c480b917e05c6" title="Disables session management for this application.">disableSessionManagement()</a>. </p>
<p>You usually shouldn't call this function, as the session management is enabled by default. </p>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l01081">1081</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a86e333d243d31d8147ccaf29637c59d6"></a><!-- doxytag: member="KApplication::enableStyles" ref="a86e333d243d31d8147ccaf29637c59d6" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KApplication::enableStyles </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Enables style plugins. </p>
<p>This is useful only to applications that normally do not display a GUI and create the <a class="el" href="classKApplication.html" title="Controls and provides information to all KDE applications.">KApplication</a> with allowStyles set to false. </p>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l01911">1911</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aa0d1258ecad6015d15b7b807f880545c"></a><!-- doxytag: member="KApplication::geometryArgument" ref="aa0d1258ecad6015d15b7b807f880545c" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qstring.html">QString</a> KApplication::geometryArgument </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the argument to --geometry if any, so the geometry can be set wherever necessary. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the geometry argument, or QString::null if there is none </dd></dl>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l01596">1596</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a770b48d60ccca6e3a53d0647b4211a19"></a><!-- doxytag: member="KApplication::icon" ref="a770b48d60ccca6e3a53d0647b4211a19" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qpixmap.html">QPixmap</a> KApplication::icon </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns a <a class="elRef" href="qpixmap.html">QPixmap</a> with the application icon. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the application icon </dd></dl>

</div>
</div>
<a class="anchor" id="a89f272e448637321a491c1ae298e249a"></a><!-- doxytag: member="KApplication::iconChanged" ref="a89f272e448637321a491c1ae298e249a" args="(int group)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KApplication::iconChanged </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>group</em></td><td>)</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Emitted when the global icon settings have been changed. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">group</td><td>the new group </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a285b1727f6ef9d2cf1b492c0e77d4281"></a><!-- doxytag: member="KApplication::iconName" ref="a285b1727f6ef9d2cf1b492c0e77d4281" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qstring.html">QString</a> KApplication::iconName </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the name of the application icon. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the icon's name </dd></dl>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l01612">1612</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aa55f1cc34fe39f4c9636ac07eb972c53"></a><!-- doxytag: member="KApplication::installKDEPropertyMap" ref="aa55f1cc34fe39f4c9636ac07eb972c53" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KApplication::installKDEPropertyMap </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Install a <a class="elRef" href="qt.html">Qt</a> SQL property map with entries for all <a class="el" href="namespaceKDE.html" title="Namespace for general KDE functions.">KDE</a> widgets Call this in any application using <a class="el" href="namespaceKDE.html" title="Namespace for general KDE functions.">KDE</a> widgets in <a class="elRef" href="qsqlform.html">QSqlForm</a> or <a class="elRef" href="qdataview.html">QDataView</a>. </p>

<p><p>If you are adding a widget that was missing please make sure to also add it to KConfigDialogManager's retrieveSettings() function. Thanks.</p>
</p>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l02171">2171</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a23b19b8d4f04b22d2f3851392016abd6"></a><!-- doxytag: member="KApplication::installSigpipeHandler" ref="a23b19b8d4f04b22d2f3851392016abd6" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KApplication::installSigpipeHandler </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Installs a handler for the SIGPIPE signal. </p>
<p>It is thrown when you write to a pipe or socket that has been closed. The handler is installed automatically in the constructor, but you may need it if your application or component does not have a <a class="el" href="classKApplication.html" title="Controls and provides information to all KDE applications.">KApplication</a> instance. </p>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l03236">3236</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a784b62d9bb47f23a1187e8948cd3ef22"></a><!-- doxytag: member="KApplication::installX11EventFilter" ref="a784b62d9bb47f23a1187e8948cd3ef22" args="(QWidget *filter)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KApplication::installX11EventFilter </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qwidget.html">QWidget</a> *&#160;</td>
          <td class="paramname"><em>filter</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Installs widget filter as global X11 event filter. </p>
<p>The widget filter receives XEvents in its standard <a class="elRef" href="qwidget.html#x11Event">QWidget::x11Event()</a> function.</p>
<p>Warning: Only do this when absolutely necessary. An installed X11 filter can slow things down. </p>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l00409">409</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a1cecbd9ad94b0cdb68a6c67d984d985d"></a><!-- doxytag: member="KApplication::invokeBrowser" ref="a1cecbd9ad94b0cdb68a6c67d984d985d" args="(const QString &amp;url, const QCString &amp;startup_id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KApplication::invokeBrowser </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>url</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>startup_id</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Invokes the standard browser. </p>
<p>Note that you should only do this when you know for sure that the browser can handle the URL (i.e. its mimetype). In doubt, if the URL can point to an image or anything else than directory or HTML, prefer to use new KRun( url ).</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">url</td><td>The destination address </td></tr>
    <tr><td class="paramname">startup_id</td><td>for app startup notification, "0" for none, "" ( empty string ) is the default </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l02565">2565</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ae9dd87b2d98725befc1d585fa2315608"></a><!-- doxytag: member="KApplication::invokeBrowser" ref="ae9dd87b2d98725befc1d585fa2315608" args="(const QString &amp;url)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KApplication::invokeBrowser </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>url</em></td><td>)</td>
          <td><code> [slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Invoke the standard browser. </p>
<p>Uses a <code>startup_id</code> of "" (empty) and is otherwise the same as the above function. </p>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l02557">2557</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a3b48e7a8b05ddfb419a464da8aee0b90"></a><!-- doxytag: member="KApplication::invokeEditSlot" ref="a3b48e7a8b05ddfb419a464da8aee0b90" args="(const char *slot)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KApplication::invokeEditSlot </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>slot</em></td><td>)</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This method is used internally to determine which edit slots are implemented by the widget that has the focus, and to invoke those slots if available. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">slot</td><td>is the slot as returned using the SLOT() macro, for example SLOT( <a class="el" href="classKApplication.html#adbda6554787db3a72fc228b3b958241f" title="If the widget with focus provides a cut() slot, call that slot.">cut()</a> )</td></tr>
  </table>
  </dd>
</dl>
<p>This method can be used in <a class="el" href="classKApplication.html" title="Controls and provides information to all KDE applications.">KApplication</a> subclasses to implement application wide edit actions not supported by the <a class="el" href="classKApplication.html" title="Controls and provides information to all KDE applications.">KApplication</a> class. For example (in your subclass):</p>
<div class="fragment"><pre class="fragment"> <span class="keywordtype">void</span> MyApplication::deselect()
 {
   <a class="code" href="classKApplication.html#a3b48e7a8b05ddfb419a464da8aee0b90" title="This method is used internally to determine which edit slots are implemented by the widget that has t...">invokeEditSlot</a>( SLOT( <a class="codeRef" doxygen="kdeui.tag:../../kdeui/html/" href="../../kdeui/html/namespaceKStdAction.html#ab1491fe7777b71c78382e90e27e3efea">deselect</a>() ) );
 }
</pre></div><p>Now in your application calls to MyApplication::deselect() will call this slot on the focused widget if it provides this slot. You can combine this with <a class="elRef" doxygen="kdeui.tag:../../kdeui/html/" href="../../kdeui/html/classKAction.html">KAction</a> with:</p>
<div class="fragment"><pre class="fragment"> <a class="codeRef" doxygen="kdeui.tag:../../kdeui/html/" href="../../kdeui/html/namespaceKStdAction.html#ab1491fe7777b71c78382e90e27e3efea">KStdAction::deselect</a>( static_cast&lt;MyApplication *&gt;( kapp ), SLOT( <a class="code" href="classKApplication.html#adbda6554787db3a72fc228b3b958241f" title="If the widget with focus provides a cut() slot, call that slot.">cut</a>() ), actionCollection() );
</pre></div><dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKApplication.html#adbda6554787db3a72fc228b3b958241f" title="If the widget with focus provides a cut() slot, call that slot.">cut()</a> </dd>
<dd>
<a class="el" href="classKApplication.html#ad166d9f4c0dc8130a5046cfaedbcfe4e" title="If the widget with focus provides a copy() slot, call that slot.">copy()</a> </dd>
<dd>
<a class="el" href="classKApplication.html#ae7ce9fde3ead06d92c742cffb52eeb3c" title="If the widget with focus provides a paste() slot, call that slot.">paste()</a> </dd>
<dd>
<a class="el" href="classKApplication.html#a509d0c27c8fa9db38ba5f1f70ce56f20" title="If the widget with focus provides a clear() slot, call that slot.">clear()</a> </dd>
<dd>
<a class="el" href="classKApplication.html#aa7303b428f366ac688effab651ac6d70" title="If the widget with focus provides a selectAll() slot, call that slot.">selectAll()</a></dd></dl>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2 </dd></dl>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l01876">1876</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a745730abd7ec0494a94fef9049de2e4a"></a><!-- doxytag: member="KApplication::invokeHelp" ref="a745730abd7ec0494a94fef9049de2e4a" args="(const QString &amp;anchor, const QString &amp;appname, const QCString &amp;startup_id) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KApplication::invokeHelp </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>anchor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>appname</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>startup_id</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Invokes the KHelpCenter HTML help viewer from docbook sources. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">anchor</td><td>This has to be a defined anchor in your docbook sources. If empty the main index is loaded </td></tr>
    <tr><td class="paramname">appname</td><td>This allows you to show the help of another application. If empty the current name() is used </td></tr>
    <tr><td class="paramname">startup_id</td><td>for app startup notification, "0" for none, "" ( empty string ) is the default </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l02222">2222</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a409208147e5b42517a6cf51f38dc9f6d"></a><!-- doxytag: member="KApplication::invokeHTMLHelp" ref="a409208147e5b42517a6cf51f38dc9f6d" args="(const QString &amp;aFilename, const QString &amp;aTopic=QString::null) const KDE_DEPRECATED" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KApplication::invokeHTMLHelp </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>aFilename</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>aTopic</em> = <code>QString::null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000014">Deprecated:</a></b></dt><dd>Invoke the khelpcenter HTML help viewer from HTML sources.</dd></dl>
<p>Please use <a class="el" href="classKApplication.html#a745730abd7ec0494a94fef9049de2e4a" title="Invokes the KHelpCenter HTML help viewer from docbook sources.">invokeHelp()</a> instead.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">aFilename</td><td>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 class="paramname">aTopic</td><td>This allows context-sensitive help. Its value will be appended to the filename, prefixed with a "#" (hash) character. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l02256">2256</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a027950d3055aaa049b77b07dd7da8b77"></a><!-- doxytag: member="KApplication::invokeMailer" ref="a027950d3055aaa049b77b07dd7da8b77" args="(const QString &amp;address, const QString &amp;subject, const QCString &amp;startup_id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KApplication::invokeMailer </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>address</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>subject</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>startup_id</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Convenience method; invokes the standard email application. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">address</td><td>The destination address </td></tr>
    <tr><td class="paramname">subject</td><td>Subject string. Can be QString::null. </td></tr>
    <tr><td class="paramname">startup_id</td><td>for app startup notification, "0" for none, "" ( empty string ) is the default </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l02296">2296</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ae5faa7b50220a958690afed000c942f8"></a><!-- doxytag: member="KApplication::invokeMailer" ref="ae5faa7b50220a958690afed000c942f8" args="(const KURL &amp;mailtoURL, const QCString &amp;startup_id, bool allowAttachments)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KApplication::invokeMailer </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classKURL.html">KURL</a> &amp;&#160;</td>
          <td class="paramname"><em>mailtoURL</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>startup_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>allowAttachments</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Invokes the standard email application. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">mailtoURL</td><td>A mailto URL. </td></tr>
    <tr><td class="paramname">startup_id</td><td>for app startup notification, "0" for none, "" ( empty string ) is the default </td></tr>
    <tr><td class="paramname">allowAttachments</td><td>whether attachments specified in mailtoURL should be honoured. The default is false; do not honour requests for attachments. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l02312">2312</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a4544666590ffae32f7305fcac7d75f4d"></a><!-- doxytag: member="KApplication::invokeMailer" ref="a4544666590ffae32f7305fcac7d75f4d" args="(const QString &amp;to, const QString &amp;cc, const QString &amp;bcc, const QString &amp;subject, const QString &amp;body, const QString &amp;messageFile, const QStringList &amp;attachURLs, const QCString &amp;startup_id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KApplication::invokeMailer </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>to</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>cc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>bcc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>subject</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>body</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>messageFile</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstringlist.html">QStringList</a> &amp;&#160;</td>
          <td class="paramname"><em>attachURLs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>startup_id</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Convenience method; invokes the standard email application. </p>
<p>All parameters are optional.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">to</td><td>The destination address. </td></tr>
    <tr><td class="paramname">cc</td><td>The Cc field </td></tr>
    <tr><td class="paramname">bcc</td><td>The Bcc field </td></tr>
    <tr><td class="paramname">subject</td><td>Subject string </td></tr>
    <tr><td class="paramname">body</td><td>A string containing the body of the mail (exclusive with messageFile) </td></tr>
    <tr><td class="paramname">messageFile</td><td>A file (URL) containing the body of the mail (exclusive with body) - currently unsupported </td></tr>
    <tr><td class="paramname">attachURLs</td><td>List of URLs to be attached to the mail. </td></tr>
    <tr><td class="paramname">startup_id</td><td>for app startup notification, "0" for none, "" ( empty string ) is the default </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l02427">2427</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a49d25f4dfa0601b0d8a5925542882a87"></a><!-- doxytag: member="KApplication::isRestored" ref="a49d25f4dfa0601b0d8a5925542882a87" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KApplication::isRestored </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Is the application restored from the session manager? </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>If true, this application was restored by the session manager. Note that this may mean the config object returned by <a class="el" href="classKApplication.html#a8f88369c240d6d90a04d29b2761989d9" title="Returns the application session config object.">sessionConfig()</a> contains data saved by a session closedown. </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKApplication.html#a8f88369c240d6d90a04d29b2761989d9" title="Returns the application session config object.">sessionConfig()</a> </dd></dl>

<p>Definition at line <a class="el" href="kapplication_8h_source.html#l00243">243</a> of file <a class="el" href="kapplication_8h_source.html">kapplication.h</a>.</p>

</div>
</div>
<a class="anchor" id="a331290a72b521dae15b4a8c590c0c59d"></a><!-- doxytag: member="KApplication::kApplication" ref="a331290a72b521dae15b4a8c590c0c59d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classKApplication.html">KApplication</a>* KApplication::kApplication </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the current application object. </p>
<p>This is similar to the global <a class="elRef" href="qapplication.html">QApplication</a> pointer qApp. It allows access to the single global <a class="el" href="classKApplication.html" title="Controls and provides information to all KDE applications.">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>
<dl class="return"><dt><b>Returns:</b></dt><dd>the current application object </dd></dl>

<p>Definition at line <a class="el" href="kapplication_8h_source.html#l00224">224</a> of file <a class="el" href="kapplication_8h_source.html">kapplication.h</a>.</p>

</div>
</div>
<a class="anchor" id="ada9371fd4e484e2ae12f68a4d60f583e"></a><!-- doxytag: member="KApplication::kdeinitExec" ref="ada9371fd4e484e2ae12f68a4d60f583e" args="(const QString &amp;name, const QStringList &amp;args, QString *error, int *pid, const QCString &amp;startup_id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KApplication::kdeinitExec </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstringlist.html">QStringList</a> &amp;&#160;</td>
          <td class="paramname"><em>args</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qstring.html">QString</a> *&#160;</td>
          <td class="paramname"><em>error</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&#160;</td>
          <td class="paramname"><em>pid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>startup_id</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Starts a program via kdeinit. </p>
<p>program name and arguments are converted to according to the local encoding and passed as is to kdeinit.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>Name of the program to start </td></tr>
    <tr><td class="paramname">args</td><td>Arguments to pass to the program </td></tr>
    <tr><td class="paramname">error</td><td>On failure, <code>error</code> contains a description of the error that occurred. If the pointer is 0, the argument will be ignored </td></tr>
    <tr><td class="paramname">pid</td><td>On success, the process id of the new service will be written here. If the pointer is 0, the argument will be ignored. </td></tr>
    <tr><td class="paramname">startup_id</td><td>for app startup notification, "0" for none, "" ( empty string ) is the default </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>an error code indicating success (== 0) or failure (&gt; 0). </dd></dl>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l02766">2766</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a0db4c295635463b1a01f8e0dc74028f4"></a><!-- doxytag: member="KApplication::kdeinitExecWait" ref="a0db4c295635463b1a01f8e0dc74028f4" args="(const QString &amp;name, const QStringList &amp;args, QString *error, int *pid, const QCString &amp;startup_id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KApplication::kdeinitExecWait </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstringlist.html">QStringList</a> &amp;&#160;</td>
          <td class="paramname"><em>args</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qstring.html">QString</a> *&#160;</td>
          <td class="paramname"><em>error</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&#160;</td>
          <td class="paramname"><em>pid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>startup_id</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Starts a program via kdeinit and wait for it to finish. </p>
<p>Like <a class="el" href="classKApplication.html#ada9371fd4e484e2ae12f68a4d60f583e" title="Starts a program via kdeinit.">kdeinitExec()</a>, but it waits till the program is finished. As such it behaves similar to the system(...) function.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>Name of the program to start </td></tr>
    <tr><td class="paramname">args</td><td>Arguments to pass to the program </td></tr>
    <tr><td class="paramname">error</td><td>On failure, <code>error</code> contains a description of the error that occurred. If the pointer is 0, the argument will be ignored </td></tr>
    <tr><td class="paramname">pid</td><td>On success, the process id of the new service will be written here. If the pointer is 0, the argument will be ignored. </td></tr>
    <tr><td class="paramname">startup_id</td><td>for app startup notification, "0" for none, "" ( empty string ) is the default </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>an error code indicating success (== 0) or failure (&gt; 0). </dd></dl>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l02781">2781</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a7975231c1eda9dd014703a6686d640e0"></a><!-- doxytag: member="KApplication::kdisplayFontChanged" ref="a7975231c1eda9dd014703a6686d640e0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KApplication::kdisplayFontChanged </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Emitted when <a class="el" href="classKApplication.html" title="Controls and provides information to all KDE applications.">KApplication</a> has changed its font in response to a KControl 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>
<p>Note: If you derive from a QWidget-based class, a faster method is to reimplement <a class="elRef" href="qwidget.html#fontChange">QWidget::fontChange()</a>. This is the preferred way to get informed about font updates. </p>

</div>
</div>
<a class="anchor" id="a8ee6bcb4d63ac3b07c82c060b3586e93"></a><!-- doxytag: member="KApplication::kdisplayPaletteChanged" ref="a8ee6bcb4d63ac3b07c82c060b3586e93" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KApplication::kdisplayPaletteChanged </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Emitted when <a class="el" href="classKApplication.html" title="Controls and provides information to all KDE applications.">KApplication</a> has changed its palette due to a KControl request. </p>
<p>Normally, widgets will update their palette automatically, but you should connect to this to program special behavior. </p>

</div>
</div>
<a class="anchor" id="a3b26710ce718e3cb239377315d197562"></a><!-- doxytag: member="KApplication::kdisplayStyleChanged" ref="a3b26710ce718e3cb239377315d197562" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KApplication::kdisplayStyleChanged </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Emitted when <a class="el" href="classKApplication.html" title="Controls and provides information to all KDE applications.">KApplication</a> has changed its GUI style in response to a KControl 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 behavior. </p>

</div>
</div>
<a class="anchor" id="a75d036ce2b111a75b2443a61e3a704aa"></a><!-- doxytag: member="KApplication::keyboardModifiers" ref="a75d036ce2b111a75b2443a61e3a704aa" args="() KDE_DEPRECATED" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint KApplication::keyboardModifiers </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000016">Deprecated:</a></b></dt><dd>Use <a class="el" href="classKApplication.html#a11e847e6f91426160ce8d3a7ae73a9ca" title="Returns the state of the currently pressed keyboard modifiers (e.g.">keyboardMouseState()</a> </dd></dl>
<dl class="since"><dt><b>Since:</b></dt><dd>3.1 </dd></dl>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l03146">3146</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a11e847e6f91426160ce8d3a7ae73a9ca"></a><!-- doxytag: member="KApplication::keyboardMouseState" ref="a11e847e6f91426160ce8d3a7ae73a9ca" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Qt::ButtonState KApplication::keyboardMouseState </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the state of the currently pressed keyboard modifiers (e.g. </p>
<p>shift, control, etc.) and mouse buttons, similarly to <a class="elRef" href="qkeyevent.html#state">QKeyEvent::state()</a> and <a class="elRef" href="qmouseevent.html#state">QMouseEvent::state()</a>. You usually should simply use the information provided by <a class="elRef" href="qkeyevent.html">QKeyEvent</a> and <a class="elRef" href="qmouseevent.html">QMouseEvent</a>, but it can be useful to query for the status of the modifiers at another moment (e.g. some <a class="el" href="namespaceKDE.html" title="Namespace for general KDE functions.">KDE</a> apps do that upon a drop event). </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the keyboard modifiers and mouse buttons state </dd></dl>
<dl class="since"><dt><b>Since:</b></dt><dd>3.4 </dd></dl>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l03189">3189</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ac25c7a681f47692246bdebe34df42403"></a><!-- doxytag: member="KApplication::kipcMessage" ref="ac25c7a681f47692246bdebe34df42403" args="(int id, int data)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KApplication::kipcMessage </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>data</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Emitted when a <a class="el" href="classKIPC.html" title="This class implements a very simple IPC mechanism for KDE.">KIPC</a> user message has been received. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>the message id </td></tr>
    <tr><td class="paramname">data</td><td>the data </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKIPC.html" title="This class implements a very simple IPC mechanism for KDE.">KIPC</a> </dd>
<dd>
<a class="el" href="classKIPC.html#ac126e784966e30390fa31b715d8e0668" title="A identifier for messages.">KIPC::Message</a> </dd>
<dd>
<a class="el" href="classKApplication.html#a86a4917f024ec7a076655501b6fe393f" title="Adds a message type to the KIPC event mask.">addKipcEventMask</a> </dd>
<dd>
<a class="el" href="classKApplication.html#abc4748c14f1a45809e6a941c35e1c791" title="Removes a message type from the KIPC event mask.">removeKipcEventMask</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a795b74c2e28723e127e6fe17a56f9009"></a><!-- doxytag: member="KApplication::kstyle" ref="a795b74c2e28723e127e6fe17a56f9009" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KDE_DEPRECATED KStyle* KApplication::kstyle </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000015">Deprecated:</a></b></dt><dd></dd></dl>

<p>Definition at line <a class="el" href="kapplication_8h_source.html#l00811">811</a> of file <a class="el" href="kapplication_8h_source.html">kapplication.h</a>.</p>

</div>
</div>
<a class="anchor" id="a95128f245265f770afd3b6088ed574c4"></a><!-- doxytag: member="KApplication::launcher" ref="a95128f245265f770afd3b6088ed574c4" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qcstring.html">QCString</a> KApplication::launcher </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the DCOP name of the service launcher. </p>
<p>This will be something like klaucher_$host_$uid. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the name of the service launcher </dd></dl>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l02607">2607</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a1d78d1faf0df8f1803a7482af2f2d053"></a><!-- doxytag: member="KApplication::makeStdCaption" ref="a1d78d1faf0df8f1803a7482af2f2d053" args="(const QString &amp;userCaption, bool withAppName=true, bool modified=false) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qstring.html">QString</a> KApplication::makeStdCaption </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>userCaption</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>withAppName</em> = <code>true</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>modified</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Builds 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-&gt;makeStdCaption(yourCaption));</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">userCaption</td><td>The caption string you want to display in the window caption area. Do not include the application name! </td></tr>
    <tr><td class="paramname">withAppName</td><td>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 class="paramname">modified</td><td>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>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the created caption </dd></dl>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l01971">1971</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aad3e954b56527a34de0d541c63997b0a"></a><!-- doxytag: member="KApplication::miniIcon" ref="aad3e954b56527a34de0d541c63997b0a" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qpixmap.html">QPixmap</a> KApplication::miniIcon </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the mini-icon for the application as a <a class="elRef" href="qpixmap.html">QPixmap</a>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the application's mini icon </dd></dl>

</div>
</div>
<a class="anchor" id="a220293e9c4f373424b820d9ca807ca71"></a><!-- doxytag: member="KApplication::miniIconName" ref="a220293e9c4f373424b820d9ca807ca71" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qstring.html">QString</a> KApplication::miniIconName </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the name of the mini-icon for the application. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the mini icon's name </dd></dl>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l01628">1628</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a52779859cd547a758142e043492c4777"></a><!-- doxytag: member="KApplication::mouseState" ref="a52779859cd547a758142e043492c4777" args="() KDE_DEPRECATED" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint KApplication::mouseState </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000018">Deprecated:</a></b></dt><dd>Use <a class="el" href="classKApplication.html#a11e847e6f91426160ce8d3a7ae73a9ca" title="Returns the state of the currently pressed keyboard modifiers (e.g.">keyboardMouseState()</a> </dd></dl>
<dl class="since"><dt><b>Since:</b></dt><dd>3.1 </dd></dl>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l03164">3164</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ae7ce9fde3ead06d92c742cffb52eeb3c"></a><!-- doxytag: member="KApplication::paste" ref="ae7ce9fde3ead06d92c742cffb52eeb3c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KApplication::paste </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>If the widget with focus provides a <a class="el" href="classKApplication.html#ae7ce9fde3ead06d92c742cffb52eeb3c" title="If the widget with focus provides a paste() slot, call that slot.">paste()</a> slot, call that slot. </p>
<p>Thus for a simple application copy can be implemented as: </p>
<div class="fragment"><pre class="fragment"> <a class="code" href="classKApplication.html#ae7ce9fde3ead06d92c742cffb52eeb3c" title="If the widget with focus provides a paste() slot, call that slot.">KStdAction::paste</a>( kapp, SLOT( <a class="code" href="classKApplication.html#ae7ce9fde3ead06d92c742cffb52eeb3c" title="If the widget with focus provides a paste() slot, call that slot.">paste</a>() ), actionCollection() );
</pre></div> 
<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l02591">2591</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a62676ecdbedd0506b7acc96e8fe570bb"></a><!-- doxytag: member="KApplication::propagateSessionManager" ref="a62676ecdbedd0506b7acc96e8fe570bb" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KApplication::propagateSessionManager </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<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>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l01168">1168</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="af4e013a839f0ca4b35121fbc35ac0719"></a><!-- doxytag: member="KApplication::random" ref="af4e013a839f0ca4b35121fbc35ac0719" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KApplication::random </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Generates a uniform random number. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A truly unpredictable number in the range [0, RAND_MAX) </dd></dl>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l02947">2947</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a7f764319574823a984e5246357fa6387"></a><!-- doxytag: member="KApplication::randomString" ref="a7f764319574823a984e5246357fa6387" args="(int length)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qstring.html">QString</a> KApplication::randomString </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>length</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Generates a random string. </p>
<p>It operates in the range [A-Za-z0-9] </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">length</td><td>Generate a string of this length. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the random string </dd></dl>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l02967">2967</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a6d71eee5f2331eba54816853c3767cc1"></a><!-- doxytag: member="KApplication::ref" ref="a6d71eee5f2331eba54816853c3767cc1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KApplication::ref </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Tells <a class="el" href="classKApplication.html" title="Controls and provides information to all KDE applications.">KApplication</a> about one more operation that should be finished before the application exits. </p>
<p>The standard behavior 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>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l01041">1041</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="abc4748c14f1a45809e6a941c35e1c791"></a><!-- doxytag: member="KApplication::removeKipcEventMask" ref="abc4748c14f1a45809e6a941c35e1c791" args="(int id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KApplication::removeKipcEventMask </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>id</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Removes a message type from the <a class="el" href="classKIPC.html" title="This class implements a very simple IPC mechanism for KDE.">KIPC</a> event mask. </p>
<p>This message will not be handled anymore. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>The message id. </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKIPC.html" title="This class implements a very simple IPC mechanism for KDE.">KIPC</a> </dd>
<dd>
<a class="el" href="classKApplication.html#a86a4917f024ec7a076655501b6fe393f" title="Adds a message type to the KIPC event mask.">addKipcEventMask()</a> </dd>
<dd>
<a class="el" href="classKApplication.html#ac25c7a681f47692246bdebe34df42403" title="Emitted when a KIPC user message has been received.">kipcMessage()</a> </dd></dl>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l01901">1901</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a23e2a3bdb787c80024c26df1f97a0bb4"></a><!-- doxytag: member="KApplication::removeX11EventFilter" ref="a23e2a3bdb787c80024c26df1f97a0bb4" args="(const QWidget *filter)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KApplication::removeX11EventFilter </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qwidget.html">QWidget</a> *&#160;</td>
          <td class="paramname"><em>filter</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Removes global X11 event filter previously installed by <a class="el" href="classKApplication.html#a784b62d9bb47f23a1187e8948cd3ef22" title="Installs widget filter as global X11 event filter.">installX11EventFilter()</a>. </p>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l00424">424</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a16cad2b1d09eb7abbf04e576a296b3bc"></a><!-- doxytag: member="KApplication::requestShutDown" ref="a16cad2b1d09eb7abbf04e576a296b3bc" args="(ShutdownConfirm confirm=ShutdownConfirmDefault, ShutdownType sdtype=ShutdownTypeDefault, ShutdownMode sdmode=ShutdownModeDefault)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KApplication::requestShutDown </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classKApplication.html#abcec18c56392104429bdefe034b886f1">ShutdownConfirm</a>&#160;</td>
          <td class="paramname"><em>confirm</em> = <code>ShutdownConfirmDefault</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classKApplication.html#af65227718bbf8c864b1cc23e13a9ff75">ShutdownType</a>&#160;</td>
          <td class="paramname"><em>sdtype</em> = <code>ShutdownTypeDefault</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classKApplication.html#a2d3767be32b1bff9deceee6c89ffebcd">ShutdownMode</a>&#160;</td>
          <td class="paramname"><em>sdmode</em> = <code>ShutdownModeDefault</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Asks the session manager to shut the session down. </p>
<p>Using <code>confirm</code> == ShutdownConfirmYes or <code>sdtype</code> != ShutdownTypeDefault or <code>sdmode</code> != ShutdownModeDefault causes the use of ksmserver's DCOP interface. The remaining two combinations use the standard XSMP and will work with any session manager compliant with it.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">confirm</td><td>Whether to ask the user if he really wants to log out. ShutdownConfirm </td></tr>
    <tr><td class="paramname">sdtype</td><td>The action to take after logging out. ShutdownType </td></tr>
    <tr><td class="paramname">sdmode</td><td>If/When the action should be taken. ShutdownMode </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true on success, false if the session manager could not be contacted. </dd></dl>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l01105">1105</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a124451d863583e6ad095576f49e065ea"></a><!-- doxytag: member="KApplication::saveState" ref="a124451d863583e6ad095576f49e065ea" args="(QSessionManager &amp;sm)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KApplication::saveState </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qsessionmanager.html">QSessionManager</a> &amp;&#160;</td>
          <td class="paramname"><em>sm</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplemented for internal purposes, mainly the highlevel handling of session management with <a class="el" href="classKSessionManaged.html" title="Provides highlevel access to session management on a per-object base.">KSessionManaged</a>. </p>

<p>Reimplemented from <a class="elRef" href="qapplication.html#saveState">QApplication</a>.</p>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l01276">1276</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aa52ec4fb57485f25e44e7df6e3c3f3a4"></a><!-- doxytag: member="KApplication::saveYourself" ref="aa52ec4fb57485f25e44e7df6e3c3f3a4" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KApplication::saveYourself </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Session management asks you to save the state of your application. </p>
<p>This signal is provided for compatibility only. For new applications, simply use <a class="elRef" doxygen="kdeui.tag:../../kdeui/html/" href="../../kdeui/html/classKMainWindow.html">KMainWindow</a>. By reimplementing <a class="elRef" doxygen="kdeui.tag:../../kdeui/html/" href="../../kdeui/html/classKMainWindow.html#af8c5708414be62f259114b0453ef8432">KMainWindow::queryClose()</a>, <a class="elRef" doxygen="kdeui.tag:../../kdeui/html/" href="../../kdeui/html/classKMainWindow.html#a2740b1f7bc855f5fa57284c5a5c99879">KMainWindow::saveProperties()</a> and <a class="elRef" doxygen="kdeui.tag:../../kdeui/html/" href="../../kdeui/html/classKMainWindow.html#a9eef0ce1cd95b148e92a62cf23dae775">KMainWindow::readProperties()</a> you can simply handle session management for applications with multiple toplevel windows.</p>
<p>For purposes without <a class="elRef" doxygen="kdeui.tag:../../kdeui/html/" href="../../kdeui/html/classKMainWindow.html">KMainWindow</a>, create an instance of <a class="el" href="classKSessionManaged.html" title="Provides highlevel access to session management on a per-object base.">KSessionManaged</a> and reimplement the functions <a class="el" href="classKSessionManaged.html#a8ec2135431522b81e8bebe0bff256352" title="See QApplication::commitData() for documentation.">KSessionManaged::commitData()</a> and/or <a class="el" href="classKSessionManaged.html#a9df9a7f59f575a8b55c7903bc4bbff08" title="See QApplication::saveState() for documentation.">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 class="el" href="classKApplication.html#a8f88369c240d6d90a04d29b2761989d9" title="Returns the application session config object.">sessionConfig()</a> <a class="el" href="classKConfig.html" title="Access KDE Configuration entries.">KConfig</a> object to store all your instance specific data.</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 <a class="el" href="classKApplication.html#affc90bf43c70ceee3255361bde856f2b" title="Your application is killed.">shutDown()</a> (see the following). </p>

</div>
</div>
<a class="anchor" id="aa7303b428f366ac688effab651ac6d70"></a><!-- doxytag: member="KApplication::selectAll" ref="aa7303b428f366ac688effab651ac6d70" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KApplication::selectAll </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>If the widget with focus provides a <a class="el" href="classKApplication.html#aa7303b428f366ac688effab651ac6d70" title="If the widget with focus provides a selectAll() slot, call that slot.">selectAll()</a> slot, call that slot. </p>
<p>Thus for a simple application select all can be implemented as: </p>
<div class="fragment"><pre class="fragment"> <a class="code" href="classKApplication.html#aa7303b428f366ac688effab651ac6d70" title="If the widget with focus provides a selectAll() slot, call that slot.">KStdAction::selectAll</a>( kapp, SLOT( <a class="code" href="classKApplication.html#aa7303b428f366ac688effab651ac6d70" title="If the widget with focus provides a selectAll() slot, call that slot.">selectAll</a>() ), actionCollection() );
</pre></div> 
<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l02601">2601</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a8f88369c240d6d90a04d29b2761989d9"></a><!-- doxytag: member="KApplication::sessionConfig" ref="a8f88369c240d6d90a04d29b2761989d9" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classKConfig.html">KConfig</a> * KApplication::sessionConfig </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the application session config object. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A pointer to the application's instance specific <a class="el" href="classKConfig.html" title="Access KDE Configuration entries.">KConfig</a> object. </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKConfig.html" title="Access KDE Configuration entries.">KConfig</a> </dd></dl>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l01031">1031</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="adb9aaa46be611366c57f5875f44885a4"></a><!-- doxytag: member="KApplication::sessionSaving" ref="adb9aaa46be611366c57f5875f44885a4" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KApplication::sessionSaving </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns true if the application is currently saving its session data (most probably before <a class="el" href="namespaceKDE.html" title="Namespace for general KDE functions.">KDE</a> logout). </p>
<p>This is intended for use mainly in <a class="elRef" doxygen="kdeui.tag:../../kdeui/html/" href="../../kdeui/html/classKMainWindow.html#af8c5708414be62f259114b0453ef8432">KMainWindow::queryClose()</a> and <a class="elRef" doxygen="kdeui.tag:../../kdeui/html/" href="../../kdeui/html/classKMainWindow.html#a67b2c41fbd5753c09e05a8b6e4475753">KMainWindow::queryExit()</a>.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="elRef" doxygen="kdeui.tag:../../kdeui/html/" href="../../kdeui/html/classKMainWindow.html#af8c5708414be62f259114b0453ef8432">KMainWindow::queryClose</a> </dd>
<dd>
<a class="elRef" doxygen="kdeui.tag:../../kdeui/html/" href="../../kdeui/html/classKMainWindow.html#a67b2c41fbd5753c09e05a8b6e4475753">KMainWindow::queryExit</a> </dd></dl>
<dl class="since"><dt><b>Since:</b></dt><dd>3.1.1 </dd></dl>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l01358">1358</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a242d8c6f2f2a56a2bea8242b647188ef"></a><!-- doxytag: member="KApplication::settingsChanged" ref="a242d8c6f2f2a56a2bea8242b647188ef" args="(int category)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KApplication::settingsChanged </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>category</em></td><td>)</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Emitted when the global settings have been changed - see <a class="el" href="classKGlobalSettings.html" title="Access the KDE global configuration.">KGlobalSettings</a> <a class="el" href="classKApplication.html" title="Controls and provides information to all KDE applications.">KApplication</a> takes care of calling reparseConfiguration on <a class="el" href="classKGlobal.html#a71532b4619923ec5f7779c5f0065e6e7" title="Returns the general config object.">KGlobal::config()</a> so that applications/classes using this only have to re-read the configuration. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">category</td><td>the category among the enum above </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a4ca52b277f11f5b216e44b675ff70ee4"></a><!-- doxytag: member="KApplication::setTopWidget" ref="a4ca52b277f11f5b216e44b675ff70ee4" args="(QWidget *topWidget)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KApplication::setTopWidget </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qwidget.html">QWidget</a> *&#160;</td>
          <td class="paramname"><em>topWidget</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the top widget of the application. </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 <a class="elRef" doxygen="kdeui.tag:../../kdeui/html/" href="../../kdeui/html/classKMainWindow.html">KMainWindow</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">topWidget</td><td>A top widget of the application.</td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd>icon(), <a class="el" href="classKApplication.html#a5a31c97501016f1ab7b78c6382936f0c" title="Returns a text for the window caption.">caption()</a> </dd></dl>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l02888">2888</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="affc90bf43c70ceee3255361bde856f2b"></a><!-- doxytag: member="KApplication::shutDown" ref="affc90bf43c70ceee3255361bde856f2b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KApplication::shutDown </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Your application is killed. </p>
<p>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>

</div>
</div>
<a class="anchor" id="a8228e2636445def9e3a731341a023e16"></a><!-- doxytag: member="KApplication::startServiceByDesktopName" ref="a8228e2636445def9e3a731341a023e16" args="(const QString &amp;_name, const QString &amp;URL, QString *error=0, QCString *dcopService=0, int *pid=0, const QCString &amp;startup_id=&quot;&quot;, bool noWait=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KApplication::startServiceByDesktopName </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>_name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>URL</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qstring.html">QString</a> *&#160;</td>
          <td class="paramname"><em>error</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qcstring.html">QCString</a> *&#160;</td>
          <td class="paramname"><em>dcopService</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&#160;</td>
          <td class="paramname"><em>pid</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>startup_id</em> = <code>&quot;&quot;</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>noWait</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Starts a service based on the desktop name of the service. </p>
<p>E.g. "konqueror"</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">_name</td><td>the desktop name of the service </td></tr>
    <tr><td class="paramname">URL</td><td>if not empty this URL is passed to the service </td></tr>
    <tr><td class="paramname">error</td><td>On failure, <code>error</code> contains a description of the error that occurred. If the pointer is 0, the argument will be ignored </td></tr>
    <tr><td class="paramname">dcopService</td><td>On success, <code>dcopService</code> contains the DCOP name under which this service is available. If empty, the service does not provide DCOP services. If the pointer is 0 the argument will be ignored </td></tr>
    <tr><td class="paramname">pid</td><td>On success, the process id of the new service will be written here. If the pointer is 0, the argument will be ignored. </td></tr>
    <tr><td class="paramname">startup_id</td><td>for app startup notification, "0" for none, "" ( empty string ) is the default </td></tr>
    <tr><td class="paramname">noWait</td><td>if set, the function does not wait till the service is running. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>an error code indicating success (== 0) or failure (&gt; 0). </dd></dl>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l02738">2738</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a1f062181acd334b13f9f8a93f8d6c36a"></a><!-- doxytag: member="KApplication::startServiceByDesktopName" ref="a1f062181acd334b13f9f8a93f8d6c36a" args="(const QString &amp;_name, const QStringList &amp;URLs=QStringList(), QString *error=0, QCString *dcopService=0, int *pid=0, const QCString &amp;startup_id=&quot;&quot;, bool noWait=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KApplication::startServiceByDesktopName </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>_name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstringlist.html">QStringList</a> &amp;&#160;</td>
          <td class="paramname"><em>URLs</em> = <code><a class="elRef" href="qstringlist.html">QStringList</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qstring.html">QString</a> *&#160;</td>
          <td class="paramname"><em>error</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qcstring.html">QCString</a> *&#160;</td>
          <td class="paramname"><em>dcopService</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&#160;</td>
          <td class="paramname"><em>pid</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>startup_id</em> = <code>&quot;&quot;</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>noWait</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Starts a service based on the desktop name of the service. </p>
<p>E.g. "konqueror"</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">_name</td><td>the desktop name of the service </td></tr>
    <tr><td class="paramname">URLs</td><td>if not empty these URLs will be passed to the service </td></tr>
    <tr><td class="paramname">error</td><td>On failure, <code>error</code> contains a description of the error that occurred. If the pointer is 0, the argument will be ignored </td></tr>
    <tr><td class="paramname">dcopService</td><td>On success, <code>dcopService</code> contains the DCOP name under which this service is available. If empty, the service does not provide DCOP services. If the pointer is 0 the argument will be ignored </td></tr>
    <tr><td class="paramname">pid</td><td>On success, the process id of the new service will be written here. If the pointer is 0, the argument will be ignored. </td></tr>
    <tr><td class="paramname">startup_id</td><td>for app startup notification, "0" for none, "" ( empty string ) is the default </td></tr>
    <tr><td class="paramname">noWait</td><td>if set, the function does not wait till the service is running. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>an error code indicating success (== 0) or failure (&gt; 0). </dd></dl>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l02750">2750</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a7c59cf37434a89a05b51c52f9f842d6c"></a><!-- doxytag: member="KApplication::startServiceByDesktopPath" ref="a7c59cf37434a89a05b51c52f9f842d6c" args="(const QString &amp;_name, const QStringList &amp;URLs=QStringList(), QString *error=0, QCString *dcopService=0, int *pid=0, const QCString &amp;startup_id=&quot;&quot;, bool noWait=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KApplication::startServiceByDesktopPath </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>_name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstringlist.html">QStringList</a> &amp;&#160;</td>
          <td class="paramname"><em>URLs</em> = <code><a class="elRef" href="qstringlist.html">QStringList</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qstring.html">QString</a> *&#160;</td>
          <td class="paramname"><em>error</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qcstring.html">QCString</a> *&#160;</td>
          <td class="paramname"><em>dcopService</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&#160;</td>
          <td class="paramname"><em>pid</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>startup_id</em> = <code>&quot;&quot;</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>noWait</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Starts a service based on the desktop path of the service. </p>
<p>E.g. "Applications/konqueror.desktop" or "/home/user/bla/myfile.desktop"</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">_name</td><td>the path of the desktop file </td></tr>
    <tr><td class="paramname">URLs</td><td>if not empty these URLs will be passed to the service </td></tr>
    <tr><td class="paramname">error</td><td>On failure, <code>error</code> contains a description of the error that occurred. If the pointer is 0, the argument will be ignored </td></tr>
    <tr><td class="paramname">dcopService</td><td>On success, <code>dcopService</code> contains the DCOP name under which this service is available. If empty, the service does not provide DCOP services. If the pointer is 0 the argument will be ignored </td></tr>
    <tr><td class="paramname">pid</td><td>On success, the process id of the new service will be written here. If the pointer is 0, the argument will be ignored. </td></tr>
    <tr><td class="paramname">startup_id</td><td>for app startup notification, "0" for none, "" ( empty string ) is the default </td></tr>
    <tr><td class="paramname">noWait</td><td>if set, the function does not wait till the service is running. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>an error code indicating success (== 0) or failure (&gt; 0). </dd></dl>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l02729">2729</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="addee966620b3572c56a399210a77c715"></a><!-- doxytag: member="KApplication::startServiceByDesktopPath" ref="addee966620b3572c56a399210a77c715" args="(const QString &amp;_name, const QString &amp;URL, QString *error=0, QCString *dcopService=0, int *pid=0, const QCString &amp;startup_id=&quot;&quot;, bool noWait=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KApplication::startServiceByDesktopPath </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>_name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>URL</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qstring.html">QString</a> *&#160;</td>
          <td class="paramname"><em>error</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qcstring.html">QCString</a> *&#160;</td>
          <td class="paramname"><em>dcopService</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&#160;</td>
          <td class="paramname"><em>pid</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>startup_id</em> = <code>&quot;&quot;</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>noWait</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Starts a service based on the desktop path of the service. </p>
<p>E.g. "Applications/konqueror.desktop" or "/home/user/bla/myfile.desktop"</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">_name</td><td>the path of the desktop file </td></tr>
    <tr><td class="paramname">URL</td><td>if not empty this URL is passed to the service </td></tr>
    <tr><td class="paramname">error</td><td>On failure, <code>error</code> contains a description of the error that occurred. If the pointer is 0, the argument will be ignored </td></tr>
    <tr><td class="paramname">dcopService</td><td>On success, <code>dcopService</code> contains the DCOP name under which this service is available. If empty, the service does not provide DCOP services. If the pointer is 0 the argument will be ignored </td></tr>
    <tr><td class="paramname">pid</td><td>On success, the process id of the new service will be written here. If the pointer is 0, the argument will be ignored. </td></tr>
    <tr><td class="paramname">startup_id</td><td>for app startup notification, "0" for none, "" ( empty string ) is the default </td></tr>
    <tr><td class="paramname">noWait</td><td>if set, the function does not wait till the service is running. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>an error code indicating success (== 0) or failure (&gt; 0). </dd></dl>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l02717">2717</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a0931d4a09fc26f89c05ce5423b6acf99"></a><!-- doxytag: member="KApplication::startServiceByName" ref="a0931d4a09fc26f89c05ce5423b6acf99" args="(const QString &amp;_name, const QString &amp;URL, QString *error=0, QCString *dcopService=0, int *pid=0, const QCString &amp;startup_id=&quot;&quot;, bool noWait=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KApplication::startServiceByName </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>_name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>URL</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qstring.html">QString</a> *&#160;</td>
          <td class="paramname"><em>error</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qcstring.html">QCString</a> *&#160;</td>
          <td class="paramname"><em>dcopService</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&#160;</td>
          <td class="paramname"><em>pid</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>startup_id</em> = <code>&quot;&quot;</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>noWait</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Starts a service based on the (translated) name of the service. </p>
<p>E.g. "Web Browser"</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">_name</td><td>the name of the service </td></tr>
    <tr><td class="paramname">URL</td><td>if not empty this URL is passed to the service </td></tr>
    <tr><td class="paramname">error</td><td>On failure, <code>error</code> contains a description of the error that occurred. If the pointer is 0, the argument will be ignored </td></tr>
    <tr><td class="paramname">dcopService</td><td>On success, <code>dcopService</code> contains the DCOP name under which this service is available. If empty, the service does not provide DCOP services. If the pointer is 0 the argument will be ignored </td></tr>
    <tr><td class="paramname">pid</td><td>On success, the process id of the new service will be written here. If the pointer is 0, the argument will be ignored. </td></tr>
    <tr><td class="paramname">startup_id</td><td>for app startup notification, "0" for none, "" ( empty string ) is the default </td></tr>
    <tr><td class="paramname">noWait</td><td>if set, the function does not wait till the service is running. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>an error code indicating success (== 0) or failure (&gt; 0). </dd></dl>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l02696">2696</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="afac4ea083ffb6047367f3fadf77e0aa9"></a><!-- doxytag: member="KApplication::startServiceByName" ref="afac4ea083ffb6047367f3fadf77e0aa9" args="(const QString &amp;_name, const QStringList &amp;URLs=QStringList(), QString *error=0, QCString *dcopService=0, int *pid=0, const QCString &amp;startup_id=&quot;&quot;, bool noWait=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KApplication::startServiceByName </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>_name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstringlist.html">QStringList</a> &amp;&#160;</td>
          <td class="paramname"><em>URLs</em> = <code><a class="elRef" href="qstringlist.html">QStringList</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qstring.html">QString</a> *&#160;</td>
          <td class="paramname"><em>error</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qcstring.html">QCString</a> *&#160;</td>
          <td class="paramname"><em>dcopService</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&#160;</td>
          <td class="paramname"><em>pid</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>startup_id</em> = <code>&quot;&quot;</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>noWait</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Starts a service based on the (translated) name of the service. </p>
<p>E.g. "Web Browser"</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">_name</td><td>the name of the service </td></tr>
    <tr><td class="paramname">URLs</td><td>if not empty these URLs will be passed to the service </td></tr>
    <tr><td class="paramname">error</td><td>On failure, <code>error</code> contains a description of the error that occurred. If the pointer is 0, the argument will be ignored </td></tr>
    <tr><td class="paramname">dcopService</td><td>On success, <code>dcopService</code> contains the DCOP name under which this service is available. If empty, the service does not provide DCOP services. If the pointer is 0 the argument will be ignored </td></tr>
    <tr><td class="paramname">pid</td><td>On success, the process id of the new service will be written here. If the pointer is 0, the argument will be ignored. </td></tr>
    <tr><td class="paramname">startup_id</td><td>for app startup notification, "0" for none, "" ( empty string ) is the default </td></tr>
    <tr><td class="paramname">noWait</td><td>if set, the function does not wait till the service is running. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>an error code indicating success (== 0) or failure (&gt; 0). </dd></dl>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l02708">2708</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a3dee962d7f51f7ea7cf03b77bacf53e6"></a><!-- doxytag: member="KApplication::startupId" ref="a3dee962d7f51f7ea7cf03b77bacf53e6" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qcstring.html">QCString</a> KApplication::startupId </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the app startup notification identifier for this running application. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the startup notification identifier </dd></dl>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l02909">2909</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="adf413bbd66946666d4b04979846ee7db"></a><!-- doxytag: member="KApplication::tempSaveName" ref="adf413bbd66946666d4b04979846ee7db" args="(const QString &amp;pFilename) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qstring.html">QString</a> KApplication::tempSaveName </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>pFilename</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get a file name in order to make a temporary copy of your document. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pFilename</td><td>The full path to the current file of your document. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A new filename for auto-saving. </dd></dl>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l02788">2788</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a485c4ae7c0e6d1184a7fc037d20e8077"></a><!-- doxytag: member="KApplication::toolbarAppearanceChanged" ref="a485c4ae7c0e6d1184a7fc037d20e8077" args="(int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KApplication::toolbarAppearanceChanged </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Emitted when the settings for toolbars have been changed. </p>
<p><a class="elRef" doxygen="kdeui.tag:../../kdeui/html/" href="../../kdeui/html/classKToolBar.html">KToolBar</a> will know what to do. </p>

</div>
</div>
<a class="anchor" id="a1064f3f494fafbc02762c6c5c06b421c"></a><!-- doxytag: member="KApplication::updateRemoteUserTimestamp" ref="a1064f3f494fafbc02762c6c5c06b421c" args="(const QCString &amp;dcopId, unsigned long time=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KApplication::updateRemoteUserTimestamp </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>dcopId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned long&#160;</td>
          <td class="paramname"><em>time</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Updates the last user action timestamp in the application registered to DCOP with dcopId to the given time, or to this application's user time, if 0 is given. </p>
<p>Use before causing user interaction in the remote application, e.g. invoking a dialog in the application using a DCOP call. Consult focus stealing prevention section in kdebase/kwin/README. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.3 </dd></dl>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l01867">1867</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a97864c3aef67e169b79936382f01b190"></a><!-- doxytag: member="KApplication::updateUserTimestamp" ref="a97864c3aef67e169b79936382f01b190" args="(unsigned long time=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KApplication::updateUserTimestamp </td>
          <td>(</td>
          <td class="paramtype">unsigned long&#160;</td>
          <td class="paramname"><em>time</em> = <code>0</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Updates the last user action timestamp to the given time, or to the current time, if 0 is given. </p>
<p>Do not use unless you're really sure what you're doing. Consult focus stealing prevention section in kdebase/kwin/README. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2 </dd></dl>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l01838">1838</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a7fb1cd7d7b4add1f1e68c6a40aabf5b4"></a><!-- doxytag: member="KApplication::userTimestamp" ref="a7fb1cd7d7b4add1f1e68c6a40aabf5b4" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned long KApplication::userTimestamp </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the last user action timestamp or 0 if no user activity has taken place yet. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2.3 </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd>updateuserTimestamp </dd></dl>

<p>Definition at line <a class="el" href="kapplication_8cpp_source.html#l01858">1858</a> of file <a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="aa33f7cb1443c041b2af7e4f79fdafb94"></a><!-- doxytag: member="KApplication::KApp" ref="aa33f7cb1443c041b2af7e4f79fdafb94" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classKApplication.html">KApplication</a> * <a class="el" href="classKApplication.html#aa33f7cb1443c041b2af7e4f79fdafb94">KApplication::KApp</a> = 0L<code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Current application object. </p>

<p>Definition at line <a class="el" href="kapplication_8h_source.html#l01123">1123</a> of file <a class="el" href="kapplication_8h_source.html">kapplication.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="kapplication_8h_source.html">kapplication.h</a></li>
<li><a class="el" href="kapplication_8cpp_source.html">kapplication.cpp</a></li>
<li><a class="el" href="kapplication__win_8cpp_source.html">kapplication_win.cpp</a></li>
</ul>
</div>
    </div></div>


      </td>
  </tr>
  <tr>
    <td valign="top" id="leftmenu" width="25%">
      <a name="navigation"></a>
      <div class="menu_box"><h2>kdecore</h2>
<div class="nav_list">
<ul><li><a href="index.html">Main Page</a></li><li><a href="modules.html">Modules</a></li><li><a href="namespaces.html">Namespace List</a></li><li><a href="hierarchy.html">Class Hierarchy</a></li><li><a href="classes.html">Alphabetical List</a></li><li><a href="annotated.html">Class List</a></li><li><a href="files.html">File List</a></li><li><a href="namespacemembers.html">Namespace Members</a></li><li><a href="functions.html">Class Members</a></li><li><a href="pages.html">Related Pages</a></li></ul>
<!--
<h2>Class Picker</h2>
<div style="text-align: center;">
<form name="guideform">
<select name="guidelinks" style="width:100%;" onChange="window.location=document.guideform.guidelinks.options[document.guideform.guidelinks.selectedIndex].value">
<option value="annotated.html">-- Choose --</option>
  <option value="classKAboutData.html">kaboutdata</option>,  <option value="classKAboutPerson.html">kaboutperson</option>,  <option value="classKAboutTranslator.html">kabouttranslator</option>,  <option value="classKAccel.html">kaccel</option>,  <option value="classKAcceleratorManager.html">kacceleratormanager</option>,  <option value="classKAccelManagerAlgorithm.html">kaccelmanageralgorithm</option>,  <option value="classKAccelShortcutList.html">kaccelshortcutlist</option>,  <option value="classKAccelString.html">kaccelstring</option>,  <option value="classKAddressInfo.html">kaddressinfo</option>,  <option value="classKAppDCOPInterface.html">kappdcopinterface</option>,  <option value="classKApplication.html">kapplication</option>,  <option value="classKAsyncIO.html">kasyncio</option>,  <option value="classKAudioPlayer.html">kaudioplayer</option>,  <option value="classKBufferedIO.html">kbufferedio</option>,  <option value="classKCalendarSystem.html">kcalendarsystem</option>,  <option value="classKCalendarSystemFactory.html">kcalendarsystemfactory</option>,  <option value="classKCalendarSystemJalali.html">kcalendarsystemjalali</option>,  <option value="classKCatalogue.html">kcatalogue</option>,  <option value="classKCharMacroExpander.html">kcharmacroexpander</option>,  <option value="classKCharsets.html">kcharsets</option>,  <option value="classKClipboardSynchronizer.html">kclipboardsynchronizer</option>,  <option value="classKCmdLineArgs.html">kcmdlineargs</option>,  <option value="classKCodecs.html">kcodecs</option>,  <option value="classKCompletion.html">kcompletion</option>,  <option value="classKCompletionBase.html">kcompletionbase</option>,  <option value="classKCompletionMatches.html">kcompletionmatches</option>,  <option value="classKCompTreeNode.html">kcomptreenode</option>,  <option value="classKConfig.html">kconfig</option>,  <option value="classKConfigBackEnd.html">kconfigbackend</option>,  <option value="classKConfigBase.html">kconfigbase</option>,  <option value="classKConfigDialogManager.html">kconfigdialogmanager</option>,  <option value="classKConfigGroup.html">kconfiggroup</option>,  <option value="classKConfigGroupSaver.html">kconfiggroupsaver</option>,  <option value="classKConfigINIBackEnd.html">kconfiginibackend</option>,  <option value="classKConfigSkeleton.html">kconfigskeleton</option>,  <option value="classKConfigSkeleton_1_1ItemBool.html">kconfigskeleton::itembool</option>,  <option value="classKConfigSkeleton_1_1ItemColor.html">kconfigskeleton::itemcolor</option>,  <option value="classKConfigSkeleton_1_1ItemDateTime.html">kconfigskeleton::itemdatetime</option>,  <option value="classKConfigSkeleton_1_1ItemDouble.html">kconfigskeleton::itemdouble</option>,  <option value="classKConfigSkeleton_1_1ItemEnum.html">kconfigskeleton::itemenum</option>,  <option value="classKConfigSkeleton_1_1ItemFont.html">kconfigskeleton::itemfont</option>,  <option value="classKConfigSkeleton_1_1ItemInt.html">kconfigskeleton::itemint</option>,  <option value="classKConfigSkeleton_1_1ItemInt64.html">kconfigskeleton::itemint64</option>,  <option value="classKConfigSkeleton_1_1ItemIntList.html">kconfigskeleton::itemintlist</option>,  <option value="classKConfigSkeleton_1_1ItemLong.html">kconfigskeleton::itemlong</option>,  <option value="classKConfigSkeleton_1_1ItemPassword.html">kconfigskeleton::itempassword</option>,  <option value="classKConfigSkeleton_1_1ItemPath.html">kconfigskeleton::itempath</option>,  <option value="classKConfigSkeleton_1_1ItemPathList.html">kconfigskeleton::itempathlist</option>,  <option value="classKConfigSkeleton_1_1ItemPoint.html">kconfigskeleton::itempoint</option>,  <option value="classKConfigSkeleton_1_1ItemProperty.html">kconfigskeleton::itemproperty</option>,  <option value="classKConfigSkeleton_1_1ItemRect.html">kconfigskeleton::itemrect</option>,  <option value="classKConfigSkeleton_1_1ItemSize.html">kconfigskeleton::itemsize</option>,  <option value="classKConfigSkeleton_1_1ItemString.html">kconfigskeleton::itemstring</option>,  <option value="classKConfigSkeleton_1_1ItemStringList.html">kconfigskeleton::itemstringlist</option>,  <option value="classKConfigSkeleton_1_1ItemUInt.html">kconfigskeleton::itemuint</option>,  <option value="classKConfigSkeleton_1_1ItemUInt64.html">kconfigskeleton::itemuint64</option>,  <option value="classKConfigSkeleton_1_1ItemULong.html">kconfigskeleton::itemulong</option>,  <option value="classKConfigSkeletonItem.html">kconfigskeletonitem</option>,  <option value="classKCrash.html">kcrash</option>,  <option value="classKDCOPPropertyProxy.html">kdcoppropertyproxy</option>,  <option value="classKDebugDCOPIface.html">kdebugdcopiface</option>,  <option value="classKDesktopFile.html">kdesktopfile</option>,  <option value="classKExtendedSocket.html">kextendedsocket</option>,  <option value="classKGenericFactory.html">kgenericfactory</option>,  <option value="classKGenericFactory_3_01KTypeList_3_01Product_00_01ProductListTail_01_4_00_01KTypeList_3_01Pare1ed8d1e5a9847c99711cad3b12c7e96c.html">kgenericfactory< ktypelist< product, productlisttail >, ktypelist< pare1ed8d1e5a9847c99711cad3b12c7e96c</option>,  <option value="classKGenericFactory_3_01KTypeList_3_01Product_00_01ProductListTail_01_4_00_01KTypeList_3_01Paref6a00f76851e0daa2cb662bb8a41fc7f.html">kgenericfactory< ktypelist< product, productlisttail >, ktypelist< paref6a00f76851e0daa2cb662bb8a41fc7f</option>,  <option value="classKGenericFactory_3_01KTypeList_3_01Product_00_01ProductListTail_01_4_00_01QObject_01_4.html">kgenericfactory< ktypelist< product, productlisttail >, qobject ></option>,  <option value="classKGlobal.html">kglobal</option>,  <option value="classKGlobalAccel.html">kglobalaccel</option>,  <option value="classKGlobalSettings.html">kglobalsettings</option>,  <option value="classKIcon.html">kicon</option>,  <option value="classKIconEffect.html">kiconeffect</option>,  <option value="classKIconLoader.html">kiconloader</option>,  <option value="classKIconTheme.html">kicontheme</option>,  <option value="classKInetSocketAddress.html">kinetsocketaddress</option>,  <option value="classKInstance.html">kinstance</option>,  <option value="classKIOBufferBase.html">kiobufferbase</option>,  <option value="classKIPC.html">kipc</option>,  <option value="classKKey.html">kkey</option>,  <option value="classKKeyNative.html">kkeynative</option>,  <option value="classKKeySequence.html">kkeysequence</option>,  <option value="classKLibFactory.html">klibfactory</option>,  <option value="classKLibLoader.html">klibloader</option>,  <option value="classKLibrary.html">klibrary</option>,  <option value="classKLocale.html">klocale</option>,  <option value="classKLockFile.html">klockfile</option>,  <option value="classKMacroExpanderBase.html">kmacroexpanderbase</option>,  <option value="classKMD4.html">kmd4</option>,  <option value="classKMD5.html">kmd5</option>,  <option value="classKMimeSourceFactory.html">kmimesourcefactory</option>,  <option value="classKMountPoint.html">kmountpoint</option>,  <option value="classKMultipleDrag.html">kmultipledrag</option>,  <option value="classKNetwork_1_1KActiveSocketBase.html">knetwork::kactivesocketbase</option>,  <option value="classKNetwork_1_1KBufferedSocket.html">knetwork::kbufferedsocket</option>,  <option value="classKNetwork_1_1KClientSocketBase.html">knetwork::kclientsocketbase</option>,  <option value="classKNetwork_1_1KDatagramPacket.html">knetwork::kdatagrampacket</option>,  <option value="classKNetwork_1_1KDatagramSocket.html">knetwork::kdatagramsocket</option>,  <option value="classKNetwork_1_1KHttpProxySocketDevice.html">knetwork::khttpproxysocketdevice</option>,  <option value="classKNetwork_1_1KInetSocketAddress.html">knetwork::kinetsocketaddress</option>,  <option value="classKNetwork_1_1KIpAddress.html">knetwork::kipaddress</option>,  <option value="classKNetwork_1_1KMulticastSocket.html">knetwork::kmulticastsocket</option>,  <option value="classKNetwork_1_1KMulticastSocketImpl.html">knetwork::kmulticastsocketimpl</option>,  <option value="classKNetwork_1_1KNetworkInterface.html">knetwork::knetworkinterface</option>,  <option value="classKNetwork_1_1KPassiveSocketBase.html">knetwork::kpassivesocketbase</option>,  <option value="classKNetwork_1_1KResolver.html">knetwork::kresolver</option>,  <option value="classKNetwork_1_1KResolverEntry.html">knetwork::kresolverentry</option>,  <option value="classKNetwork_1_1KResolverResults.html">knetwork::kresolverresults</option>,  <option value="classKNetwork_1_1KResolverWorkerBase_1_1ResolverLocker.html">knetwork::kresolverworkerbase::resolverlocker</option>,  <option value="classKNetwork_1_1KReverseResolver.html">knetwork::kreverseresolver</option>,  <option value="classKNetwork_1_1KServerSocket.html">knetwork::kserversocket</option>,  <option value="classKNetwork_1_1KSocketAddress.html">knetwork::ksocketaddress</option>,  <option value="classKNetwork_1_1KSocketBase.html">knetwork::ksocketbase</option>,  <option value="classKNetwork_1_1KSocketDevice.html">knetwork::ksocketdevice</option>,  <option value="classKNetwork_1_1KSocketDeviceFactory.html">knetwork::ksocketdevicefactory</option>,  <option value="classKNetwork_1_1KSocksSocketDevice.html">knetwork::ksockssocketdevice</option>,  <option value="classKNetwork_1_1KStreamSocket.html">knetwork::kstreamsocket</option>,  <option value="classKNetwork_1_1KUnixSocketAddress.html">knetwork::kunixsocketaddress</option>,  <option value="classKNotifyClient_1_1Instance.html">knotifyclient::instance</option>,  <option value="classKPalette.html">kpalette</option>,  <option value="classKPixmapProvider.html">kpixmapprovider</option>,  <option value="classKPopupAccelManager.html">kpopupaccelmanager</option>,  <option value="classKProcess.html">kprocess</option>,  <option value="classKProcessController.html">kprocesscontroller</option>,  <option value="classKProcIO.html">kprocio</option>,  <option value="classKProtocolInfoFactory.html">kprotocolinfofactory</option>,  <option value="classKPty.html">kpty</option>,  <option value="classKRandomSequence.html">krandomsequence</option>,  <option value="classKRegExp.html">kregexp</option>,  <option value="classKRegExpPrivate.html">kregexpprivate</option>,  <option value="classKRFCDate.html">krfcdate</option>,  <option value="classKRootProp.html">krootprop</option>,  <option value="classKSaveFile.html">ksavefile</option>,  <option value="classKServerSocket.html">kserversocket</option>,  <option value="classKSessionManaged.html">ksessionmanaged</option>,  <option value="classKShared.html">kshared</option>,  <option value="classKSharedConfig.html">ksharedconfig</option>,  <option value="classKSharedPtr.html">ksharedptr</option>,  <option value="classKShellProcess.html">kshellprocess</option>,  <option value="classKShortcut.html">kshortcut</option>,  <option value="classKShortcutList.html">kshortcutlist</option>,  <option value="classKSimpleConfig.html">ksimpleconfig</option>,  <option value="classKSocket.html">ksocket</option>,  <option value="classKSocketAddress.html">ksocketaddress</option>,  <option value="classKSocks.html">ksocks</option>,  <option value="classKSortableItem.html">ksortableitem</option>,  <option value="classKSortableValueList.html">ksortablevaluelist</option>,  <option value="classKStandardDirs.html">kstandarddirs</option>,  <option value="classKStaticDeleter.html">kstaticdeleter</option>,  <option value="classKStaticDeleterBase.html">kstaticdeleterbase</option>,  <option value="classKStdAccel_1_1ShortcutList.html">kstdaccel::shortcutlist</option>,  <option value="classKStringHandler.html">kstringhandler</option>,  <option value="classKSycocaEntry.html">ksycocaentry</option>,  <option value="classKSycocaFactoryList.html">ksycocafactorylist</option>,  <option value="classKTempDir.html">ktempdir</option>,  <option value="classKTempFile.html">ktempfile</option>,  <option value="classKTimezone.html">ktimezone</option>,  <option value="classKTimezoneDetails.html">ktimezonedetails</option>,  <option value="classKTimezones.html">ktimezones</option>,  <option value="classKTimezoneSource.html">ktimezonesource</option>,  <option value="classKUniqueApplication.html">kuniqueapplication</option>,  <option value="classKUnixSocketAddress.html">kunixsocketaddress</option>,  <option value="classKURL.html">kurl</option>,  <option value="classKURL_1_1List.html">kurl::list</option>,  <option value="classKURLDrag.html">kurldrag</option>,  <option value="classKUser.html">kuser</option>,  <option value="classKUserGroup.html">kusergroup</option>,  <option value="classKVMAllocator.html">kvmallocator</option>,  <option value="classKWin.html">kwin</option>,  <option value="classKWin_1_1WindowInfo.html">kwin::windowinfo</option>,  <option value="classKWinModule.html">kwinmodule</option>,  <option value="classKWordMacroExpander.html">kwordmacroexpander</option>,  <option value="classKXErrorHandler.html">kxerrorhandler</option>,  <option value="classKZoneAllocator.html">kzoneallocator</option>,  <option value="classNET.html">net</option>,
</select>
</form>
</div>
-->
</div></div>
<div class="menu_box"><h2>API Dox</h2>
<div class="nav_list">
<ul>
<li><a href="../../arts/html/index.html">arts</a></li><li><a href="../../dcop/html/index.html">dcop</a></li><li><a href="../../dnssd/html/index.html">dnssd</a></li><li><a href="../../interfaces/html/index.html">interfaces</a></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<a href="../../interfaces/kimproxy/interface/html/index.html">interface</a></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<a href="../../interfaces/kimproxy/library/html/index.html">library</a></li><li>&nbsp;&nbsp;<a href="../../interfaces/kspeech/html/index.html">kspeech</a></li><li>&nbsp;&nbsp;<a href="../../interfaces/ktexteditor/html/index.html">ktexteditor</a></li><li><a href="../../kabc/html/index.html">kabc</a></li><li><a href="../../kate/html/index.html">kate</a></li><li><a href="../../kcmshell/html/index.html">kcmshell</a></li><li><a href="../../kdecore/html/index.html">kdecore</a></li><li><a href="../../kded/html/index.html">kded</a></li><li><a href="../../kdefx/html/index.html">kdefx</a></li><li><a href="../../kdeprint/html/index.html">kdeprint</a></li><li><a href="../../kdesu/html/index.html">kdesu</a></li><li><a href="../../kdeui/html/index.html">kdeui</a></li><li><a href="../../kdoctools/html/index.html">kdoctools</a></li><li><a href="../../khtml/html/index.html">khtml</a></li><li><a href="../../kimgio/html/index.html">kimgio</a></li><li><a href="../../kinit/html/index.html">kinit</a></li><li><a href="../../kio/html/index.html">kio</a></li><li>&nbsp;&nbsp;<a href="../../kio/bookmarks/html/index.html">bookmarks</a></li><li>&nbsp;&nbsp;<a href="../../kio/httpfilter/html/index.html">httpfilter</a></li><li>&nbsp;&nbsp;<a href="../../kio/kfile/html/index.html">kfile</a></li><li>&nbsp;&nbsp;<a href="../../kio/kio/html/index.html">kio</a></li><li>&nbsp;&nbsp;<a href="../../kio/kioexec/html/index.html">kioexec</a></li><li>&nbsp;&nbsp;<a href="../../kio/kpasswdserver/html/index.html">kpasswdserver</a></li><li>&nbsp;&nbsp;<a href="../../kio/kssl/html/index.html">kssl</a></li><li><a href="../../kioslave/html/index.html">kioslave</a></li><li>&nbsp;&nbsp;<a href="../../kioslave/http/html/index.html">http</a></li><li><a href="../../kjs/html/index.html">kjs</a></li><li><a href="../../kmdi/html/index.html">kmdi</a></li><li>&nbsp;&nbsp;<a href="../../kmdi/kmdi/html/index.html">kmdi</a></li><li><a href="../../knewstuff/html/index.html">knewstuff</a></li><li><a href="../../kparts/html/index.html">kparts</a></li><li><a href="../../kresources/html/index.html">kresources</a></li><li><a href="../../kspell2/html/index.html">kspell2</a></li><li><a href="../../kunittest/html/index.html">kunittest</a></li><li><a href="../../kutils/html/index.html">kutils</a></li><li><a href="../../kwallet/html/index.html">kwallet</a></li><li><a href="../../libkmid/html/index.html">libkmid</a></li><li><a href="../../libkscreensaver/html/index.html">libkscreensaver</a></li>
</ul></div></div>


        </td>
</tr>
</table>

<span class="doNotDisplay">
  <a href="http://www.kde.org/" accesskey="8">KDE Home</a> |
  <a href="http://accessibility.kde.org/" accesskey="9">KDE Accessibility Home</a> |
  <a href="http://www.kde.org/media/accesskeys.php" accesskey="0">Description of Access Keys</a>
</span>


<div style="height: 8px"></div>

<div id="footer">
  <div id="footer_left">
    Maintained by <a href="&#109;&#97;&#105;&#108;&#116;&#111;&#58;groo&#116;&#64;kde&#46;or&#x67;">Adriaan de Groot</a>
and
<a href="&#109;a&#105;&#108;&#116;&#111;&#58;w&#105;nter&#64;kde&#46;or&#x67">Allen Winter</a>.
<br/>
    KDE and K Desktop Environment are trademarks of <a href="http://www.kde.org/areas/kde-ev/" title="Homepage of the KDE non-profit Organization">KDE e.V.</a> |
    <a href="http://www.kde.org/contact/impressum.php">Legal</a>
  </div>
  <div id="footer_right"><img src="/media/images/footer_right.png" style="margin: 0px" alt="" /></div>
</div>

<!--
WARNING: DO NOT SEND MAIL TO THE FOLLOWING EMAIL ADDRESS! YOU WILL
BE BLOCKED INSTANTLY AND PERMANENTLY!
<a href="mailto:aaaatrap-425acc3b5374943f@kde.org">Block me</a>
WARNING END
-->

</body>
</html>