Sophie

Sophie

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

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>kdeui: KMainWindow Class Reference (kdeui)</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=".">kdeui</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="#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-slots">Protected Slots</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#friends">Friends</a>  </div>
  <div class="headertitle">
<div class="title">KMainWindow Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="KMainWindow" --><!-- doxytag: inherits="QMainWindow,KXMLGUIBuilder,KXMLGUIClient" -->
<p>KDE top level main window  
 <a href="classKMainWindow.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="kmainwindow_8h_source.html">kmainwindow.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for KMainWindow:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classKMainWindow.png" usemap="#KMainWindow_map" alt=""/>
  <map id="KMainWindow_map" name="KMainWindow_map">
<area href="qmainwindow.html" alt="QMainWindow" shape="rect" coords="0,0,121,24"/>
<area href="classKXMLGUIBuilder.html" title="Abstract interface for a &quot;GUI builder&quot;, used by the GUIFactory This interface is implemented by KMain..." alt="KXMLGUIBuilder" shape="rect" coords="131,0,252,24"/>
<area href="classKXMLGUIClient.html" title="A KXMLGUIClient can be used with KXMLGUIFactory to create a GUI from actions and an XML document..." alt="KXMLGUIClient" shape="rect" coords="262,0,383,24"/>
<area href="classKDockMainWindow.html" title="A special kind of KMainWindow that is able to have dockwidget child widgets (and member of the dockwi..." alt="KDockMainWindow" shape="rect" coords="131,112,252,136"/>
</map>
 </div></div>

<p><a href="classKMainWindow-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="classKMainWindow.html#a5e00829cf350144f442aafc782827b03">CreationFlags</a> { <b>NoDCOPObject</b> =  1
 }</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#a510951213f30c01d27f9bc52fffb9821">StandardWindowOptions</a> { <br/>
&#160;&#160;<a class="el" href="classKMainWindow.html#a510951213f30c01d27f9bc52fffb9821ad1531d730e7631cdf1104f13a0436505">ToolBar</a> =  1, 
<a class="el" href="classKMainWindow.html#a510951213f30c01d27f9bc52fffb9821ae4679aaa68774ff3306f475898c603b7">Keys</a> =  2, 
<a class="el" href="classKMainWindow.html#a510951213f30c01d27f9bc52fffb9821ac1ed22979ade6e668622f449779be6f4">StatusBar</a> =  4, 
<a class="el" href="classKMainWindow.html#a510951213f30c01d27f9bc52fffb9821a04f2d86e132d4d7e28c06f35b2c529a5">Save</a> =  8, 
<br/>
&#160;&#160;<a class="el" href="classKMainWindow.html#a510951213f30c01d27f9bc52fffb9821a205d4e96a469e6613ebe913f82e660fc">Create</a> =  16
<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">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#aec2d424dd5a96e9a6a5a3c943aca9236">configureToolbars</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#a8fbcb194925a0b559bb200023c6d4416">setCaption</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;caption)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#aa78364d5eeb1c1f5bd333c733378741d">setCaption</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;caption, bool modified)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#aa264989b7fe997983bd0c990c911f7f7">setPlainCaption</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;caption)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#a68dcfc84b239b34f182acd8f36266231">appHelpActivated</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#a37f1447d730bb2c23ae0bfe59385f62c">slotStateChanged</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;newstate)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#a92687868e4348fb1423b9588e508514f">slotStateChanged</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;newstate, KXMLGUIClient::ReverseStateChange)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#a5f60cfc96af7dc428ced559abb62c660">setSettingsDirty</a> ()</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="classKMainWindow.html#ab16b01f1d2fcec0a6e9d1cda3cf47d31">KMainWindow</a> (<a class="elRef" href="qwidget.html">QWidget</a> *parent=0, const char *name=0, WFlags f=WType_TopLevel|WDestructiveClose)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#a695134834ae0bc33e915e4ac6c90b96a">KMainWindow</a> (int cflags, <a class="elRef" href="qwidget.html">QWidget</a> *parent=0, const char *name=0, WFlags f=WType_TopLevel|WDestructiveClose)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#aae6d0d75e981317e76c98a7e345844a0">~KMainWindow</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classKPopupMenu.html">KPopupMenu</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#a3808d8f5ce16273d217c7c155ac85458">helpMenu</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;aboutAppText=QString::null, bool showWhatsThis=true)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classKPopupMenu.html">KPopupMenu</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#af928be40ad494b097cdfc450e17dd3f7">customHelpMenu</a> (bool showWhatsThis=true)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#a048cec06b43ea0e9afdb460040694117">show</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#a831e75a74a6d37a43c2ff0727ccaa47e">hide</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#a46e01bd1aa6d488f1be2a5010030efb2">restore</a> (int number, bool show=true)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aba8ce6e1ac46336800970fa6ab8a5ef4"></a><!-- doxytag: member="KMainWindow::guiFactory" ref="aba8ce6e1ac46336800970fa6ab8a5ef4" args="()" -->
virtual <a class="el" href="classKXMLGUIFactory.html">KXMLGUIFactory</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>guiFactory</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#a45305772095868a93bf62817deebe938">createGUI</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;xmlfile=QString::null, bool _conserveMemory=true)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#aa0f12804f8ce88e55b707fddc40f5e7c">setHelpMenuEnabled</a> (bool showHelpMenu=true)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#ad9f8432dac83e353d22e4f9a3d318f7a">isHelpMenuEnabled</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#a2abb6f30dbe3d417e42d945025d678b0">hasMenuBar</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classKMenuBar.html">KMenuBar</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#a8ccf5a191070ebc855c1a181af22c8ec">menuBar</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classKStatusBar.html">KStatusBar</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#a4cf634139ca0305c19d90390c9560e89">statusBar</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classKToolBar.html">KToolBar</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#a001e2db04e777dc1524d4ab09df2a492">toolBar</a> (const char *name=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qptrlistiterator.html">QPtrListIterator</a>&lt; <a class="el" href="classKToolBar.html">KToolBar</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#a73bdfcf4784f5e83573b8cc2ae6afa68">toolBarIterator</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKAccel.html">KAccel</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#ab79ee56f66b53bd28d899e571859b9c9">accel</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aeccdfc58bb701b10661303ef62a71482"></a><!-- doxytag: member="KMainWindow::setFrameBorderWidth" ref="aeccdfc58bb701b10661303ef62a71482" args="(int)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>setFrameBorderWidth</b> (int)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#a9ce57a5913f7582dd7f8fba8b867db23">setAutoSaveSettings</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;groupName=<a class="elRef" href="qstring.html#fromLatin1">QString::fromLatin1</a>(&quot;MainWindow&quot;), bool saveWindowSize=true)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#a50794fac648c5bcded2c6f446f919440">resetAutoSaveSettings</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#a8073aff6ad2fdc8e6eea177bc7e23c4d">autoSaveSettings</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="classKMainWindow.html#a8c5555b0e511c15899e4ee78b4d8d45c">autoSaveGroup</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#a0f77858eadaa9a70ac30b583d07116ff">applyMainWindowSettings</a> (<a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKConfig.html">KConfig</a> *config, const <a class="elRef" href="qstring.html">QString</a> &amp;groupName, bool force)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3a317d9f59b8731fb367b4098066fdc6"></a><!-- doxytag: member="KMainWindow::applyMainWindowSettings" ref="a3a317d9f59b8731fb367b4098066fdc6" args="(KConfig *config, const QString &amp;groupName=QString::null)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>applyMainWindowSettings</b> (<a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKConfig.html">KConfig</a> *config, const <a class="elRef" href="qstring.html">QString</a> &amp;groupName=QString::null)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#af98ba1cf50dea9c2fbb1ea321b1ef132">saveMainWindowSettings</a> (<a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKConfig.html">KConfig</a> *config, const <a class="elRef" href="qstring.html">QString</a> &amp;groupName=QString::null)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#a92a407a4a8c3855c9d44fcbb925c9ccc">setStandardToolBarMenuEnabled</a> (bool enable)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#a74c5338f174ff365524eaa95e8334fc7">isStandardToolBarMenuEnabled</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#ae3e7361febfcd734670059a56e59f97a">createStandardStatusBarAction</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#a4d1190344067b2fe36a4657d685e8e0b">setupGUI</a> (int options=ToolBar|Keys|StatusBar|Save|Create, const <a class="elRef" href="qstring.html">QString</a> &amp;xmlfile=QString::null)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#a65f68f49be4ac545ad5e820cead28183">setupGUI</a> (<a class="elRef" href="qsize.html">QSize</a> defaultSize, int options=ToolBar|Keys|StatusBar|Save|Create, const <a class="elRef" href="qstring.html">QString</a> &amp;xmlfile=QString::null)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classKAction.html">KAction</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#ae5bbb3fa1dbda76e4ca5eb11d4040d65">toolBarMenuAction</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#a0d16ed7f0f0c187607d66ad6cde17a69">setupToolbarMenuActions</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#a5ff2dd7c26c014592c26a031190ae41c">finalizeGUI</a> (<a class="el" href="classKXMLGUIClient.html">KXMLGUIClient</a> *client)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#ad0c6c97b48466976c89a44641818cc6a">finalizeGUI</a> (bool force)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#a37e63c82d5c56ac3b2281490cd527ca7">initialGeometrySet</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#a3649d924e49581a3c366ce39557be037">ignoreInitialGeometry</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qsize.html">QSize</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#a7dc83637a5e5043193c824d1f9808c5a">sizeForCentralWidgetSize</a> (<a class="elRef" href="qsize.html">QSize</a> size) KDE_DEPRECATED</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#aaa56b9f0668aa46fb766aea961de0744">setIcon</a> (const <a class="elRef" href="qpixmap.html">QPixmap</a> &amp;)</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 bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#a5dc9f5789c4451918104429f4af1cb97">canBeRestored</a> (int number)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static const <a class="elRef" href="qstring.html">QString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#a9b826dabc2fe32547acdfa20a7d1fc8a">classNameOfToplevel</a> (int number)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qptrlist.html">QPtrList</a>&lt; <a class="el" href="classKMainWindow.html">KMainWindow</a> &gt; *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#a165a3fc9e760b1d8e5a62f296e65593d">getMemberList</a> ()</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">static <a class="elRef" href="qptrlist.html">QPtrList</a>&lt; <a class="el" href="classKMainWindow.html">KMainWindow</a> &gt; *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#a86558fb2a647157a997f438abc043f9f">memberList</a> = 0L</td></tr>
<tr><td colspan="2"><h2><a name="pro-slots"></a>
Protected Slots</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#a2af4d60608283e0f46b167548f850546">saveNewToolbarConfig</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#a78475d46cfed0262802c76b6cbd2920c">showAboutApplication</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#a38702e739ebaf55d2519982e933713cf">saveAutoSaveSettings</a> ()</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="a52d6debda33f662ffcee22303f526dca"></a><!-- doxytag: member="KMainWindow::paintEvent" ref="a52d6debda33f662ffcee22303f526dca" args="(QPaintEvent *e)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>paintEvent</b> (<a class="elRef" href="qpaintevent.html">QPaintEvent</a> *e)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a89dd0aad4fc99dfff4a2f9f4a0110a74"></a><!-- doxytag: member="KMainWindow::childEvent" ref="a89dd0aad4fc99dfff4a2f9f4a0110a74" args="(QChildEvent *e)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>childEvent</b> (<a class="elRef" href="qchildevent.html">QChildEvent</a> *e)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a01312f9150c46123f4821e0bece61619"></a><!-- doxytag: member="KMainWindow::resizeEvent" ref="a01312f9150c46123f4821e0bece61619" args="(QResizeEvent *e)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>resizeEvent</b> (<a class="elRef" href="qresizeevent.html">QResizeEvent</a> *e)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#ace0f4d9fcd141f4cf265d8ae6ce33115">closeEvent</a> (<a class="elRef" href="qcloseevent.html">QCloseEvent</a> *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#a67b2c41fbd5753c09e05a8b6e4475753">queryExit</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#af8c5708414be62f259114b0453ef8432">queryClose</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#a2740b1f7bc855f5fa57284c5a5c99879">saveProperties</a> (<a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKConfig.html">KConfig</a> *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#a9eef0ce1cd95b148e92a62cf23dae775">readProperties</a> (<a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKConfig.html">KConfig</a> *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#acf811d77a3acdcf2b61f8826429615a7">saveGlobalProperties</a> (<a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKConfig.html">KConfig</a> *sessionConfig)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#a2d4da4f305f00e8a5c94f5b978334231">readGlobalProperties</a> (<a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKConfig.html">KConfig</a> *sessionConfig)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af138c59132790f5e6a8480a73f5cdc7a"></a><!-- doxytag: member="KMainWindow::savePropertiesInternal" ref="af138c59132790f5e6a8480a73f5cdc7a" args="(KConfig *, int)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>savePropertiesInternal</b> (<a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKConfig.html">KConfig</a> *, int)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa46f95fcce0a4a1284388d12f25e3e3b"></a><!-- doxytag: member="KMainWindow::readPropertiesInternal" ref="aa46f95fcce0a4a1284388d12f25e3e3b" args="(KConfig *, int)" -->
bool&#160;</td><td class="memItemRight" valign="bottom"><b>readPropertiesInternal</b> (<a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKConfig.html">KConfig</a> *, int)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#a58ad42c896791e26af2f9129e891c3fa">settingsDirty</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="classKMainWindow.html#a77e096ce2a5395e88d075d21f7c208c1">settingsGroup</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#a80ad1566ef7cbac3c725cd0ea647c2cb">saveWindowSize</a> (<a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKConfig.html">KConfig</a> *config) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#a5ccebc8b78b0a5ebdc00a6281ee4065d">restoreWindowSize</a> (<a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKConfig.html">KConfig</a> *config)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMainWindow.html#ad136495584e780d5ff782bbdc0d6de66">parseGeometry</a> (bool parsewidth)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3fce93fc0c2c336ece611293fe21be60"></a><!-- doxytag: member="KMainWindow::virtual_hook" ref="a3fce93fc0c2c336ece611293fe21be60" 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="friends"></a>
Friends</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2b88733539e2559d8a698598d2624702"></a><!-- doxytag: member="KMainWindow::KMWSessionManaged" ref="a2b88733539e2559d8a698598d2624702" args="" -->
class&#160;</td><td class="memItemRight" valign="bottom"><b>KMWSessionManaged</b></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>KDE top level main window </p>
<p>Top level widget that provides toolbars, a status line and a frame.</p>
<p>It should be used as a top level (parent-less) widget. It manages the geometry for all its children, including your main widget.</p>
<p>Normally, you will inherit from <a class="el" href="classKMainWindow.html" title="KDE top level main window">KMainWindow</a>, then construct (or use some existing) widget as your main view. You can set only one main view.</p>
<p>You can add as many toolbars as you like. There can be only one menubar and only one statusbar.</p>
<p>The toolbars, menubar, and statusbar can be created by the <a class="el" href="classKMainWindow.html" title="KDE top level main window">KMainWindow</a> and - unlike the old <a class="el" href="classKMainWindow.html" title="KDE top level main window">KMainWindow</a> - may, but do not have to, be deleted by you. <a class="el" href="classKMainWindow.html" title="KDE top level main window">KMainWindow</a> will handle that internally.</p>
<p>Height and width can be operated independently from each other. Simply define the minimum/maximum height/width of your main widget and <a class="el" href="classKMainWindow.html" title="KDE top level main window">KMainWindow</a> will take this into account. For fixed size windows set your main widget to a fixed size.</p>
<p>Fixed aspect ratios (heightForWidth()) and fixed width widgets are not supported.</p>
<p><a class="el" href="classKMainWindow.html" title="KDE top level main window">KMainWindow</a> will set icon, mini icon and caption, which it gets from <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKApplication.html">KApplication</a>. It provides full session management, and will save its position, geometry and positions of toolbars and menubar on logout. If you want to save additional data, reimplement <a class="el" href="classKMainWindow.html#a2740b1f7bc855f5fa57284c5a5c99879" title="Save your instance-specific properties.">saveProperties()</a> and (to read them again on next login) <a class="el" href="classKMainWindow.html#a9eef0ce1cd95b148e92a62cf23dae775" title="Read your instance-specific properties.">readProperties()</a>. To save special data about your data, reimplement <a class="el" href="classKMainWindow.html#acf811d77a3acdcf2b61f8826429615a7" title="Save your application-wide properties.">saveGlobalProperties()</a>. To warn user that application or windows have unsaved data on close or logout, reimplement <a class="el" href="classKMainWindow.html#af8c5708414be62f259114b0453ef8432" title="Called before the window is closed, either by the user or indirectly by the session manager...">queryClose()</a> and/or <a class="el" href="classKMainWindow.html#a67b2c41fbd5753c09e05a8b6e4475753" title="Called before the very last window is closed, either by the user or indirectly by the session manager...">queryExit()</a>.</p>
<p>There are also kRestoreMainWindows convenience functions which can restore all your windows on next login.</p>
<p>Note that a <a class="el" href="classKMainWindow.html" title="KDE top level main window">KMainWindow</a> per-default is created with the WDestructiveClose flag, i.e. it is automatically destroyed when the window is closed. If you do not want this behavior, specify 0 as widget flag in the constructor.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKApplication.html">KApplication</a> </dd></dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Reginald Stadlbauer (<a href="mailto:reggie@kde.org">reggie@kde.org</a>) Stephan Kulow (<a href="mailto:coolo@kde.org">coolo@kde.org</a>), Matthias Ettrich (<a href="mailto:ettrich@kde.org">ettrich@kde.org</a>), Chris Schlaeger (<a href="mailto:cs@kde.org">cs@kde.org</a>), Sven Radej (<a href="mailto:radej@kde.org">radej@kde.org</a>). Maintained by Sven Radej (<a href="mailto:radej@kde.org">radej@kde.org</a>) </dd></dl>

<p>Definition at line <a class="el" href="kmainwindow_8h_source.html#l00098">98</a> of file <a class="el" href="kmainwindow_8h_source.html">kmainwindow.h</a>.</p>
</div><hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="a5e00829cf350144f442aafc782827b03"></a><!-- doxytag: member="KMainWindow::CreationFlags" ref="a5e00829cf350144f442aafc782827b03" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classKMainWindow.html#a5e00829cf350144f442aafc782827b03">KMainWindow::CreationFlags</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Flags that can be passed in an argument to the constructor to change the behavior. </p>
<p>NoDCOPObject tells <a class="el" href="classKMainWindow.html" title="KDE top level main window">KMainWindow</a> not to create a <a class="el" href="classKMainWindowInterface.html" title="DCOP interface to KMainWindow.">KMainWindowInterface</a>. This can be useful in particular for inherited classes, which might want to create more specific dcop interfaces. It's a good idea to use <a class="el" href="classKMainWindowInterface.html" title="DCOP interface to KMainWindow.">KMainWindowInterface</a> as the base class for such interfaces though (to provide the standard mainwindow functionality via DCOP). </p>

<p>Definition at line <a class="el" href="kmainwindow_8h_source.html#l00148">148</a> of file <a class="el" href="kmainwindow_8h_source.html">kmainwindow.h</a>.</p>

</div>
</div>
<a class="anchor" id="a510951213f30c01d27f9bc52fffb9821"></a><!-- doxytag: member="KMainWindow::StandardWindowOptions" ref="a510951213f30c01d27f9bc52fffb9821" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classKMainWindow.html#a510951213f30c01d27f9bc52fffb9821">KMainWindow::StandardWindowOptions</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKMainWindow.html#a4d1190344067b2fe36a4657d685e8e0b" title="Configures the current windows and its actions in the typical KDE fashion.">setupGUI()</a> </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="a510951213f30c01d27f9bc52fffb9821ad1531d730e7631cdf1104f13a0436505"></a><!-- doxytag: member="ToolBar" ref="a510951213f30c01d27f9bc52fffb9821ad1531d730e7631cdf1104f13a0436505" args="" -->ToolBar</em>&nbsp;</td><td>
<p>adds action to show/hide the toolbar(s) and adds action to configure the toolbar(s). </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKMainWindow.html#a92a407a4a8c3855c9d44fcbb925c9ccc" title="Sets whether KMainWindow should provide a menu that allows showing/hiding the available toolbars ( us...">setStandardToolBarMenuEnabled</a> </dd></dl>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a510951213f30c01d27f9bc52fffb9821ae4679aaa68774ff3306f475898c603b7"></a><!-- doxytag: member="Keys" ref="a510951213f30c01d27f9bc52fffb9821ae4679aaa68774ff3306f475898c603b7" args="" -->Keys</em>&nbsp;</td><td>
<p>adds action to show the key configure action. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a510951213f30c01d27f9bc52fffb9821ac1ed22979ade6e668622f449779be6f4"></a><!-- doxytag: member="StatusBar" ref="a510951213f30c01d27f9bc52fffb9821ac1ed22979ade6e668622f449779be6f4" args="" -->StatusBar</em>&nbsp;</td><td>
<p>adds action to show/hide the statusbar if the statusbar exists. </p>
<p>See createStandardStatusBarAction </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a510951213f30c01d27f9bc52fffb9821a04f2d86e132d4d7e28c06f35b2c529a5"></a><!-- doxytag: member="Save" ref="a510951213f30c01d27f9bc52fffb9821a04f2d86e132d4d7e28c06f35b2c529a5" args="" -->Save</em>&nbsp;</td><td>
<p>auto-saves (and loads) the toolbar/menubar/statusbar settings and window size using the default name. </p>
<p>See setAutoSaveSettings</p>
<p>Typically you want to let the default window size be determined by the widgets size hints. Make sure that <a class="el" href="classKMainWindow.html#a4d1190344067b2fe36a4657d685e8e0b" title="Configures the current windows and its actions in the typical KDE fashion.">setupGUI()</a> is called after all the widgets are created ( including setCentralWidget ) so the default size's will be correct. See setAutoSaveSettings for more information on this topic. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a510951213f30c01d27f9bc52fffb9821a205d4e96a469e6613ebe913f82e660fc"></a><!-- doxytag: member="Create" ref="a510951213f30c01d27f9bc52fffb9821a205d4e96a469e6613ebe913f82e660fc" args="" -->Create</em>&nbsp;</td><td>
<p>calls <a class="el" href="classKMainWindow.html#a45305772095868a93bf62817deebe938" title="Create a GUI given a local XML file.">createGUI()</a> once ToolBar, Keys and Statusbar have been taken care of. </p>
<p>See createGUI </p>
</td></tr>
</table>
</dd>
</dl>

<p>Definition at line <a class="el" href="kmainwindow_8h_source.html#l00546">546</a> of file <a class="el" href="kmainwindow_8h_source.html">kmainwindow.h</a>.</p>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ab16b01f1d2fcec0a6e9d1cda3cf47d31"></a><!-- doxytag: member="KMainWindow::KMainWindow" ref="ab16b01f1d2fcec0a6e9d1cda3cf47d31" args="(QWidget *parent=0, const char *name=0, WFlags f=WType_TopLevel|WDestructiveClose)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KMainWindow::KMainWindow </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qwidget.html">QWidget</a> *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">WFlags&#160;</td>
          <td class="paramname"><em>f</em> = <code>WType_TopLevel&#160;|&#160;WDestructiveClose</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Construct a main window. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">parent</td><td>The widget parent. This is usually 0 but it may also be the window group leader. In that case, the <a class="el" href="classKMainWindow.html" title="KDE top level main window">KMainWindow</a> becomes sort of a secondary window.</td></tr>
    <tr><td class="paramname">name</td><td>The object name. For session management and window management to work properly, all main windows in the application should have a different name. When passing 0 (the default), <a class="el" href="classKMainWindow.html" title="KDE top level main window">KMainWindow</a> will create a unique name, but it's recommended to explicitly pass a window name that will also describe the type of the window. If there can be several windows of the same type, append '#' (hash) to the name, and <a class="el" href="classKMainWindow.html" title="KDE top level main window">KMainWindow</a> will append numbers to make the names unique. For example, for a mail client which has one main window showing the mails and folders, and which can also have one or more windows for composing mails, the name for the folders window should be e.g. "mainwindow" and for the composer windows "composer#".</td></tr>
    <tr><td class="paramname">f</td><td>Specify the widget flags. The default is WType_TopLevel and WDestructiveClose. TopLevel indicates that a main window is a toplevel window, regardless of whether it has a parent or not. DestructiveClose indicates that a main window is automatically destroyed when its window is closed. Pass 0 if you do not want this behavior.</td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a href="http://doc.trolltech.com/3.2/qt.html#WidgetFlags-enum">http://doc.trolltech.com/3.2/qt.html#WidgetFlags-enum</a></dd></dl>
<p>KMainWindows must be created on the heap with 'new', like: </p>
<div class="fragment"><pre class="fragment"> <a class="code" href="classKMainWindow.html" title="KDE top level main window">KMainWindow</a> *kmw = <span class="keyword">new</span> <a class="code" href="classKMainWindow.html#ab16b01f1d2fcec0a6e9d1cda3cf47d31" title="Construct a main window.">KMainWindow</a> (...);
</pre></div> 
<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l00167">167</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a695134834ae0bc33e915e4ac6c90b96a"></a><!-- doxytag: member="KMainWindow::KMainWindow" ref="a695134834ae0bc33e915e4ac6c90b96a" args="(int cflags, QWidget *parent=0, const char *name=0, WFlags f=WType_TopLevel|WDestructiveClose)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KMainWindow::KMainWindow </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>cflags</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qwidget.html">QWidget</a> *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">WFlags&#160;</td>
          <td class="paramname"><em>f</em> = <code>WType_TopLevel&#160;|&#160;WDestructiveClose</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Overloaded constructor which allows passing some <a class="el" href="classKMainWindow.html#a5e00829cf350144f442aafc782827b03" title="Flags that can be passed in an argument to the constructor to change the behavior.">KMainWindow::CreationFlags</a>. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2 </dd></dl>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l00173">173</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aae6d0d75e981317e76c98a7e345844a0"></a><!-- doxytag: member="KMainWindow::~KMainWindow" ref="aae6d0d75e981317e76c98a7e345844a0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KMainWindow::~KMainWindow </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Destructor. </p>
<p>Will also destroy the toolbars, and menubar if needed. </p>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l00314">314</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ab79ee56f66b53bd28d899e571859b9c9"></a><!-- doxytag: member="KMainWindow::accel" ref="ab79ee56f66b53bd28d899e571859b9c9" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKAccel.html">KAccel</a> * KMainWindow::accel </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKAccel.html">KAccel</a> instance bound to this mainwindow. Used automatically by <a class="el" href="classKAction.html" title="Class to encapsulate user-driven action or event.">KAction</a> to make keybindings work in all cases. </dd></dl>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l01171">1171</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

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

<p>Open the help page for the application. </p>
<p>The application name is used as a key to determine what to display and the system will attempt to open &lt;appName&gt;/index.html.</p>
<p>This method is intended for use by a help button in the toolbar or components outside the regular help menu. Use <a class="el" href="classKMainWindow.html#a3808d8f5ce16273d217c7c155ac85458" title="Retrieve the standard help menu.">helpMenu()</a> when you want to provide access to the help system from the help menu.</p>
<p>Example (adding a help button to the first toolbar):</p>
<div class="fragment"><pre class="fragment"> <a class="codeRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKIconLoader.html">KIconLoader</a> &amp;loader = *<a class="codeRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKGlobal.html#afd3675a46a4985161c31b3cc0ee2a606">KGlobal::iconLoader</a>();
 <a class="codeRef" href="qpixmap.html">QPixmap</a> pixmap = loader.<a class="codeRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKIconLoader.html#a55553b3f66ebdfe15ace5bef0699df00">loadIcon</a>( <span class="stringliteral">&quot;help&quot;</span> );
 <a class="code" href="classKMainWindow.html#a001e2db04e777dc1524d4ab09df2a492" title="Returns a pointer to the toolbar with the specified name.">toolBar</a>(0)-&gt;<a class="code" href="classKToolBar.html#a72e18642288ea976523a43b7ef057969" title="Insert a button (a KToolBarButton) with a pixmap.">insertButton</a>( pixmap, 0, SIGNAL(clicked()),
   <span class="keyword">this</span>, SLOT(<a class="code" href="classKMainWindow.html#a68dcfc84b239b34f182acd8f36266231" title="Open the help page for the application.">appHelpActivated</a>()), <span class="keyword">true</span>, i18n(<span class="stringliteral">&quot;Help&quot;</span>) );
</pre></div> 
<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l00600">600</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a0f77858eadaa9a70ac30b583d07116ff"></a><!-- doxytag: member="KMainWindow::applyMainWindowSettings" ref="a0f77858eadaa9a70ac30b583d07116ff" args="(KConfig *config, const QString &amp;groupName, bool force)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KMainWindow::applyMainWindowSettings </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKConfig.html">KConfig</a> *&#160;</td>
          <td class="paramname"><em>config</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>groupName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>force</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Read settings for statusbar, menubar and toolbar from their respective groups in the config file and apply them. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">config</td><td>Config file to read the settings from. </td></tr>
    <tr><td class="paramname">groupName</td><td>Group name to use. If not specified, the last used group name is used. </td></tr>
    <tr><td class="paramname">force</td><td>if set, even default settings are re-applied </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l00834">834</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a8c5555b0e511c15899e4ee78b4d8d45c"></a><!-- doxytag: member="KMainWindow::autoSaveGroup" ref="a8c5555b0e511c15899e4ee78b4d8d45c" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qstring.html">QString</a> KMainWindow::autoSaveGroup </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>the group used for setting-autosaving. Only meaningful if <a class="el" href="classKMainWindow.html#a9ce57a5913f7582dd7f8fba8b867db23" title="Call this to enable &quot;auto-save&quot; of toolbar/menubar/statusbar settings (and optionally window size)...">setAutoSaveSettings()</a> was called. This can be useful for forcing a save or an apply, e.g. before and after using <a class="el" href="classKEditToolbar.html" title="A dialog used to customize or configure toolbars.">KEditToolbar</a>. </dd></dl>
<dl class="since"><dt><b>Since:</b></dt><dd>3.1 </dd></dl>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l01044">1044</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a8073aff6ad2fdc8e6eea177bc7e23c4d"></a><!-- doxytag: member="KMainWindow::autoSaveSettings" ref="a8073aff6ad2fdc8e6eea177bc7e23c4d" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KMainWindow::autoSaveSettings </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>the current autosave setting, i.e. true if <a class="el" href="classKMainWindow.html#a9ce57a5913f7582dd7f8fba8b867db23" title="Call this to enable &quot;auto-save&quot; of toolbar/menubar/statusbar settings (and optionally window size)...">setAutoSaveSettings()</a> was called, false by default or if <a class="el" href="classKMainWindow.html#a50794fac648c5bcded2c6f446f919440" title="Disable the auto-save-settings feature.">resetAutoSaveSettings()</a> was called. </dd></dl>
<dl class="since"><dt><b>Since:</b></dt><dd>3.1 </dd></dl>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l01039">1039</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a5dc9f5789c4451918104429f4af1cb97"></a><!-- doxytag: member="KMainWindow::canBeRestored" ref="a5dc9f5789c4451918104429f4af1cb97" args="(int number)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KMainWindow::canBeRestored </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>number</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><b>Session Management</b> </p>
<p>Try to restore the toplevel widget as defined by the number (1..X).</p>
<p>If the session did not contain so high a number, the configuration is not changed and <code>false</code> returned.</p>
<p>That means clients could simply do the following: </p>
<div class="fragment"><pre class="fragment"> <span class="keywordflow">if</span> (kapp-&gt;isRestored()){
   <span class="keywordtype">int</span> n = 1;
   <span class="keywordflow">while</span> (<a class="code" href="classKMainWindow.html#a5dc9f5789c4451918104429f4af1cb97" title="Session Management">KMainWindow::canBeRestored</a>(n)){
     (<span class="keyword">new</span> childMW)-&gt;<a class="code" href="classKMainWindow.html#a46e01bd1aa6d488f1be2a5010030efb2" title="Restore the session specified by number.">restore</a>(n);
     n++;
   }
 } <span class="keywordflow">else</span> {
   <span class="comment">// create default application as usual</span>
 }
</pre></div><p> Note that <a class="elRef" href="qwidget.html#show">QWidget::show()</a> is called implicitly in restore.</p>
<p>With this you can easily restore all toplevel windows of your application.</p>
<p>If your application uses different kinds of toplevel windows, then you can use KMainWindow::classNameOfToplevel(n) to determine the exact type before calling the childMW constructor in the example from above.</p>
<p>If your client has only one kind of toplevel widgets (which should be pretty usual) then you should use the RESTORE-macro for backwards compatibility with 3.1 and 3.0 branches:</p>
<div class="fragment"><pre class="fragment"> <span class="keywordflow">if</span> (kapp-&gt;isRestored())
   RESTORE(childMW)
 <span class="keywordflow">else</span> {
   <span class="comment">// create default application as usual</span>
 }
</pre></div><p>The macro expands to the term above but is easier to use and less code to write.</p>
<p>For new code or if you have more than one kind of toplevel widget (each derived from <a class="el" href="classKMainWindow.html" title="KDE top level main window">KMainWindow</a>, of course), you can use the templated kRestoreMainWindows global functions:</p>
<div class="fragment"><pre class="fragment"> <span class="keywordflow">if</span> (kapp-&gt;isRestored())
   kRestoreMainWindows&lt; childMW1, childMW2, childMW3 &gt;();
 <span class="keywordflow">else</span> {
   <span class="comment">// create default application as usual</span>
 }
</pre></div><p>Currently, these functions are provided for up to three template arguments. If you need more, tell us. To help you in deciding whether or not you can use kRestoreMainWindows, a define KDE_RESTORE_MAIN_WINDOWS_NUM_TEMPLATE_ARGS is provided.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKMainWindow.html#a46e01bd1aa6d488f1be2a5010030efb2" title="Restore the session specified by number.">restore()</a> </dd>
<dd>
<a class="el" href="classKMainWindow.html#a9b826dabc2fe32547acdfa20a7d1fc8a" title="Returns the className() of the number of the toplevel window which should be restored.">classNameOfToplevel()</a> </dd></dl>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l00352">352</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

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

<p>Returns the className() of the <code>number</code> of the toplevel window which should be restored. </p>
<p>This is only useful if your application uses different kinds of toplevel windows. </p>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l00364">364</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ace0f4d9fcd141f4cf265d8ae6ce33115"></a><!-- doxytag: member="KMainWindow::closeEvent" ref="ace0f4d9fcd141f4cf265d8ae6ce33115" args="(QCloseEvent *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KMainWindow::closeEvent </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qcloseevent.html">QCloseEvent</a> *&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplemented to call the <a class="el" href="classKMainWindow.html#af8c5708414be62f259114b0453ef8432" title="Called before the window is closed, either by the user or indirectly by the session manager...">queryClose()</a> and <a class="el" href="classKMainWindow.html#a67b2c41fbd5753c09e05a8b6e4475753" title="Called before the very last window is closed, either by the user or indirectly by the session manager...">queryExit()</a> handlers. </p>
<p>We recommend that you reimplement the handlers rather than <a class="el" href="classKMainWindow.html#ace0f4d9fcd141f4cf265d8ae6ce33115" title="Reimplemented to call the queryClose() and queryExit() handlers.">closeEvent()</a>. If you do it anyway, ensure to call the base implementation to keep <a class="el" href="classKMainWindow.html#a67b2c41fbd5753c09e05a8b6e4475753" title="Called before the very last window is closed, either by the user or indirectly by the session manager...">queryExit()</a> running. </p>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l00634">634</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

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

<p>Show a standard configure toolbar dialog. </p>
<p>This slot can be connected dirrectly to the action to configure shortcuts. This is very simple to do that by adding a single line </p>
<div class="fragment"><pre class="fragment"> <a class="code" href="classKMainWindow.html#aec2d424dd5a96e9a6a5a3c943aca9236" title="Show a standard configure toolbar dialog.">KStdAction::configureToolbars</a>( guiFactory(), SLOT( <a class="code" href="classKMainWindow.html#aec2d424dd5a96e9a6a5a3c943aca9236" title="Show a standard configure toolbar dialog.">configureToolbars</a>() ),
                                <a class="code" href="classKXMLGUIClient.html#a7f996e74cc024ccceb6d96fba355b9a0" title="Retrieves the entire action collection for the GUI client.">actionCollection</a>() );
</pre></div><dl class="since"><dt><b>Since:</b></dt><dd>3.3 </dd></dl>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l00431">431</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a45305772095868a93bf62817deebe938"></a><!-- doxytag: member="KMainWindow::createGUI" ref="a45305772095868a93bf62817deebe938" args="(const QString &amp;xmlfile=QString::null, bool _conserveMemory=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KMainWindow::createGUI </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>xmlfile</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>_conserveMemory</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Create a GUI given a local XML file. </p>
<p>If <code>xmlfile</code> is NULL, then it will try to construct a local XML filename like appnameui.rc where 'appname' is your app's name. If that file does not exist, then the XML UI code will only use the global (standard) XML file for the layout purposes.</p>
<p>Note that when passing true for the conserveMemory argument subsequent calls to guiFactory()-&gt;addClient/removeClient may not work as expected. Also retrieving references to containers like popup menus or toolbars using the container method will not work.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">xmlfile</td><td>The local xmlfile (relative or absolute) </td></tr>
    <tr><td class="paramname">_conserveMemory</td><td>Specify whether <a class="el" href="classKMainWindow.html#a45305772095868a93bf62817deebe938" title="Create a GUI given a local XML file.">createGUI()</a> should call <a class="el" href="classKXMLGUIClient.html#aa9390c62e041b322cb0f25d07a17e50f" title="This function will attempt to give up some memory after the GUI is built.">KXMLGUIClient::conserveMemory()</a> to free all memory allocated by the <a class="elRef" href="qdomdocument.html">QDomDocument</a> and by the <a class="el" href="classKXMLGUIFactory.html" title="KXMLGUIFactory, together with KXMLGUIClient objects, can be used to create a GUI of container widgets...">KXMLGUIFactory</a>. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l00491">491</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

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

<p>Sets whether <a class="el" href="classKMainWindow.html" title="KDE top level main window">KMainWindow</a> should provide a menu that allows showing/hiding of the statusbar ( using KToggleStatusBarAction ). </p>
<p>The menu / menu item is implemented using xmlgui. It will be inserted in your menu structure in the 'Settings' menu.</p>
<p>Note that you should enable this feature before calling <a class="el" href="classKMainWindow.html#a45305772095868a93bf62817deebe938" title="Create a GUI given a local XML file.">createGUI()</a> ( or similar ).</p>
<p>If an application maintains the action on its own (i.e. never calls this function) a connection needs to be made to let <a class="el" href="classKMainWindow.html" title="KDE top level main window">KMainWindow</a> know when that status (hidden/shown) of the statusbar has changed. For example: connect(action, SIGNAL(activated()), kmainwindow, SLOT(<a class="el" href="classKMainWindow.html#a5f60cfc96af7dc428ced559abb62c660" title="Apply a state change.">setSettingsDirty()</a>)); Otherwise the status (hidden/show) of the statusbar might not be saved by <a class="el" href="classKMainWindow.html" title="KDE top level main window">KMainWindow</a>. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2 </dd></dl>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l00796">796</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="af928be40ad494b097cdfc450e17dd3f7"></a><!-- doxytag: member="KMainWindow::customHelpMenu" ref="af928be40ad494b097cdfc450e17dd3f7" args="(bool showWhatsThis=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classKPopupMenu.html">KPopupMenu</a> * KMainWindow::customHelpMenu </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>showWhatsThis</em> = <code>true</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the help menu. </p>
<p>Creates a standard help menu if none exists yet.</p>
<p>It contains entries for the help system (activated by F1), an optional "What's This?" entry (activated by Shift F1), an application specific dialog box, and an "About KDE" dialog box. You must create the application specific dialog box yourself. When the "About application" menu entry is activated, a signal will trigger the showAboutApplication slot. See showAboutApplication for more information.</p>
<p>Example (adding a help menu to your application): </p>
<div class="fragment"><pre class="fragment"> <a class="code" href="classKMainWindow.html#a8ccf5a191070ebc855c1a181af22c8ec" title="Returns a pointer to the menu bar.">menuBar</a>()-&gt;<a class="codeRef" href="qmenubar.html#insertItem">insertItem</a>( i18n(<span class="stringliteral">&quot;&amp;Help&quot;</span>), <a class="code" href="classKMainWindow.html#af928be40ad494b097cdfc450e17dd3f7" title="Returns the help menu.">customHelpMenu</a>() );
</pre></div><dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">showWhatsThis</td><td>Set this to <code>false</code> if you do not want to include the "What's This" menu entry.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A standard help menu. </dd></dl>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l00341">341</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a5ff2dd7c26c014592c26a031190ae41c"></a><!-- doxytag: member="KMainWindow::finalizeGUI" ref="a5ff2dd7c26c014592c26a031190ae41c" args="(KXMLGUIClient *client)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KMainWindow::finalizeGUI </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classKXMLGUIClient.html">KXMLGUIClient</a> *&#160;</td>
          <td class="paramname"><em>client</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="since"><dt><b>Since:</b></dt><dd>3.1 </dd></dl>

<p>Reimplemented from <a class="el" href="classKXMLGUIBuilder.html">KXMLGUIBuilder</a>.</p>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l01239">1239</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ad0c6c97b48466976c89a44641818cc6a"></a><!-- doxytag: member="KMainWindow::finalizeGUI" ref="ad0c6c97b48466976c89a44641818cc6a" args="(bool force)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KMainWindow::finalizeGUI </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>force</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l00884">884</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a165a3fc9e760b1d8e5a62f296e65593d"></a><!-- doxytag: member="KMainWindow::getMemberList" ref="a165a3fc9e760b1d8e5a62f296e65593d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qptrlist.html">QPtrList</a>&lt; <a class="el" href="classKMainWindow.html">KMainWindow</a> &gt; * KMainWindow::getMemberList </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>List of members of <a class="el" href="classKMainWindow.html" title="KDE top level main window">KMainWindow</a> class. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.4 </dd></dl>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l01235">1235</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

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

<p>Returns true, if there is a menubar. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.1 </dd></dl>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l01066">1066</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a3808d8f5ce16273d217c7c155ac85458"></a><!-- doxytag: member="KMainWindow::helpMenu" ref="a3808d8f5ce16273d217c7c155ac85458" args="(const QString &amp;aboutAppText=QString::null, bool showWhatsThis=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classKPopupMenu.html">KPopupMenu</a> * KMainWindow::helpMenu </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>aboutAppText</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>showWhatsThis</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieve the standard help menu. </p>
<p>It contains entires for the help system (activated by F1), an optional "What's This?" entry (activated by Shift F1), an application specific dialog box, and an "About KDE" dialog box.</p>
<p>Example (adding a standard help menu to your application): </p>
<div class="fragment"><pre class="fragment"> <a class="code" href="classKPopupMenu.html" title="A menu with title items.">KPopupMenu</a> *help = <a class="code" href="classKMainWindow.html#a3808d8f5ce16273d217c7c155ac85458" title="Retrieve the standard help menu.">helpMenu</a>( &lt;myTextString&gt; );
 <a class="code" href="classKMainWindow.html#a8ccf5a191070ebc855c1a181af22c8ec" title="Returns a pointer to the menu bar.">menuBar</a>()-&gt;<a class="codeRef" href="qmenubar.html#insertItem">insertItem</a>( i18n(<span class="stringliteral">&quot;&amp;Help&quot;</span>), help );
</pre></div><dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">aboutAppText</td><td>The string that is used in the application specific dialog box. If you leave this string empty the information in the global <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKAboutData.html">KAboutData</a> of the application will be used to make a standard dialog box.</td></tr>
    <tr><td class="paramname">showWhatsThis</td><td>Set this to false if you do not want to include the "What's This" menu entry.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A standard help menu. </dd></dl>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l00324">324</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

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

<p>Reimplementation of QMainWindow::hide() </p>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l00391">391</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a3649d924e49581a3c366ce39557be037"></a><!-- doxytag: member="KMainWindow::ignoreInitialGeometry" ref="a3649d924e49581a3c366ce39557be037" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KMainWindow::ignoreInitialGeometry </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Used from Konqueror when reusing the main window. </p>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l00985">985</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a37e63c82d5c56ac3b2281490cd527ca7"></a><!-- doxytag: member="KMainWindow::initialGeometrySet" ref="a37e63c82d5c56ac3b2281490cd527ca7" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KMainWindow::initialGeometrySet </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>true if a -geometry argument was given on the command line, and this is the first window created (the one on which this option applies) </dd></dl>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l00980">980</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

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

<p>Return <code>true</code> when the help menu is enabled. </p>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l00576">576</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a74c5338f174ff365524eaa95e8334fc7"></a><!-- doxytag: member="KMainWindow::isStandardToolBarMenuEnabled" ref="a74c5338f174ff365524eaa95e8334fc7" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KMainWindow::isStandardToolBarMenuEnabled </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="since"><dt><b>Since:</b></dt><dd>3.1 </dd></dl>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l00791">791</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a8ccf5a191070ebc855c1a181af22c8ec"></a><!-- doxytag: member="KMainWindow::menuBar" ref="a8ccf5a191070ebc855c1a181af22c8ec" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classKMenuBar.html">KMenuBar</a> * KMainWindow::menuBar </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns a pointer to the menu bar. </p>
<p>If there is no menu bar yet one will be created. </p>

<p>Reimplemented from <a class="elRef" href="qmainwindow.html#menuBar">QMainWindow</a>.</p>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l01071">1071</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ad136495584e780d5ff782bbdc0d6de66"></a><!-- doxytag: member="KMainWindow::parseGeometry" ref="ad136495584e780d5ff782bbdc0d6de66" args="(bool parsewidth)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KMainWindow::parseGeometry </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>parsewidth</em></td><td>)</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>parse the geometry from the geometry command line argument </p>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l00279">279</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="af8c5708414be62f259114b0453ef8432"></a><!-- doxytag: member="KMainWindow::queryClose" ref="af8c5708414be62f259114b0453ef8432" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KMainWindow::queryClose </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Called before the window is closed, either by the user or indirectly by the session manager. </p>
<p>The purpose of this function is to prepare the window in a way that it is safe to close it, i.e. without the user losing some data.</p>
<p>Default implementation returns true. Returning <code>false</code> will cancel the closing, and, if <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKApplication.html#adb9aaa46be611366c57f5875f44885a4">KApplication::sessionSaving()</a> is true, it will also cancel <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/namespaceKDE.html">KDE</a> logout.</p>
<p>Reimplement this function to prevent the user from losing data. Example: </p>
<div class="fragment"><pre class="fragment">       <span class="keywordflow">switch</span> ( <a class="code" href="classKMessageBox.html#a9e1a7ffa0ef681ceacc0ef65fea7f0b5" title="Display a Yes/No/Cancel &quot;warning&quot; dialog.">KMessageBox::warningYesNoCancel</a>( <span class="keyword">this</span>,
                i18n(<span class="stringliteral">&quot;Save changes to document foo?&quot;</span>)) ) {
       <span class="keywordflow">case</span> KMessageBox::Yes :
         <span class="comment">// save document here. If saving fails, return false;</span>
         <span class="keywordflow">return</span> <span class="keyword">true</span>;
       <span class="keywordflow">case</span> KMessageBox::No :
         <span class="keywordflow">return</span> <span class="keyword">true</span>;
       <span class="keywordflow">default</span>: <span class="comment">// cancel</span>
         <span class="keywordflow">return</span> <span class="keyword">false</span>;
</pre></div><p>Note that you should probably <em>not</em> actually close the document from within this method, as it may be called by the session manager before the session is saved. If the document is closed before the session save occurs, its location might not be properly saved. In addition, the session shutdown may be canceled, in which case the document should remain open.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKMainWindow.html#a67b2c41fbd5753c09e05a8b6e4475753" title="Called before the very last window is closed, either by the user or indirectly by the session manager...">queryExit()</a> </dd>
<dd>
<a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKApplication.html#adb9aaa46be611366c57f5875f44885a4">KApplication::sessionSaving()</a> </dd></dl>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l00669">669</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a67b2c41fbd5753c09e05a8b6e4475753"></a><!-- doxytag: member="KMainWindow::queryExit" ref="a67b2c41fbd5753c09e05a8b6e4475753" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KMainWindow::queryExit </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Called before the very last window is closed, either by the user or indirectly by the session manager. </p>
<p>It is not recommended to do any user interaction in this function other than indicating severe errors. Better ask the user on <a class="el" href="classKMainWindow.html#af8c5708414be62f259114b0453ef8432" title="Called before the window is closed, either by the user or indirectly by the session manager...">queryClose()</a> (see below).</p>
<p>A typical usage of <a class="el" href="classKMainWindow.html#a67b2c41fbd5753c09e05a8b6e4475753" title="Called before the very last window is closed, either by the user or indirectly by the session manager...">queryExit()</a> is to write configuration data back. Note that the application may continue to run after <a class="el" href="classKMainWindow.html#a67b2c41fbd5753c09e05a8b6e4475753" title="Called before the very last window is closed, either by the user or indirectly by the session manager...">queryExit()</a> (the user may have canceled a shutdown), so you should not do any cleanups here. The purpose of <a class="el" href="classKMainWindow.html#a67b2c41fbd5753c09e05a8b6e4475753" title="Called before the very last window is closed, either by the user or indirectly by the session manager...">queryExit()</a> is purely to prepare the application (with possible user interaction) so it can safely be closed later (without user interaction).</p>
<p>If you need to do serious things on exit (like shutting a dial-up connection down), connect to the signal <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKApplication.html#affc90bf43c70ceee3255361bde856f2b">KApplication::shutDown()</a>.</p>
<p>Default implementation returns <code>true</code>. Returning <code>false</code> will cancel the exiting. In the latter case, the last window will remain visible. If <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKApplication.html#adb9aaa46be611366c57f5875f44885a4">KApplication::sessionSaving()</a> is true, refusing the exit will also cancel <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/namespaceKDE.html">KDE</a> logout.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKMainWindow.html#af8c5708414be62f259114b0453ef8432" title="Called before the window is closed, either by the user or indirectly by the session manager...">queryClose()</a> </dd>
<dd>
<a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKApplication.html#adb9aaa46be611366c57f5875f44885a4">KApplication::sessionSaving()</a> </dd></dl>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l00664">664</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a2d4da4f305f00e8a5c94f5b978334231"></a><!-- doxytag: member="KMainWindow::readGlobalProperties" ref="a2d4da4f305f00e8a5c94f5b978334231" args="(KConfig *sessionConfig)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KMainWindow::readGlobalProperties </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKConfig.html">KConfig</a> *&#160;</td>
          <td class="paramname"><em>sessionConfig</em></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The counterpart of <a class="el" href="classKMainWindow.html#acf811d77a3acdcf2b61f8826429615a7" title="Save your application-wide properties.">saveGlobalProperties()</a>. </p>
<p>Read the application-specific properties in again. </p>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l00678">678</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a9eef0ce1cd95b148e92a62cf23dae775"></a><!-- doxytag: member="KMainWindow::readProperties" ref="a9eef0ce1cd95b148e92a62cf23dae775" args="(KConfig *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void KMainWindow::readProperties </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKConfig.html">KConfig</a> *&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Read your instance-specific properties. </p>

<p>Definition at line <a class="el" href="kmainwindow_8h_source.html#l00881">881</a> of file <a class="el" href="kmainwindow_8h_source.html">kmainwindow.h</a>.</p>

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

<p>Disable the auto-save-settings feature. </p>
<p>You don't normally need to call this, ever. </p>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l01032">1032</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a46e01bd1aa6d488f1be2a5010030efb2"></a><!-- doxytag: member="KMainWindow::restore" ref="a46e01bd1aa6d488f1be2a5010030efb2" args="(int number, bool show=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KMainWindow::restore </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>number</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>show</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Restore the session specified by <code>number</code>. </p>
<p>Returns <code>false</code> if this fails, otherwise returns <code>true</code> and shows the window. You should call <a class="el" href="classKMainWindow.html#a5dc9f5789c4451918104429f4af1cb97" title="Session Management">canBeRestored()</a> first. If <code>show</code> is true (default), this widget will be shown automatically. </p>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l00411">411</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a5ccebc8b78b0a5ebdc00a6281ee4065d"></a><!-- doxytag: member="KMainWindow::restoreWindowSize" ref="a5ccebc8b78b0a5ebdc00a6281ee4065d" args="(KConfig *config)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KMainWindow::restoreWindowSize </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKConfig.html">KConfig</a> *&#160;</td>
          <td class="paramname"><em>config</em></td><td>)</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>For inherited classes Note that the group must be set before calling, and that a -geometry on the command line has priority. </p>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l00934">934</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

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

<p>This slot should only be called in case you reimplement <a class="el" href="classKMainWindow.html#ace0f4d9fcd141f4cf265d8ae6ce33115" title="Reimplemented to call the queryClose() and queryExit() handlers.">closeEvent()</a> and if you are using the "auto-save" feature. </p>
<p>In all other cases, <a class="el" href="classKMainWindow.html#a5f60cfc96af7dc428ced559abb62c660" title="Apply a state change.">setSettingsDirty()</a> should be called instead to benefit from the delayed saving.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKMainWindow.html#a9ce57a5913f7582dd7f8fba8b867db23" title="Call this to enable &quot;auto-save&quot; of toolbar/menubar/statusbar settings (and optionally window size)...">setAutoSaveSettings</a> </dd>
<dd>
<a class="el" href="classKMainWindow.html#a5f60cfc96af7dc428ced559abb62c660" title="Apply a state change.">setSettingsDirty</a></dd></dl>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2</dd></dl>
<p>Example: </p>
<div class="fragment"><pre class="fragment"> <span class="keywordtype">void</span> <a class="code" href="classKMainWindow.html#ace0f4d9fcd141f4cf265d8ae6ce33115" title="Reimplemented to call the queryClose() and queryExit() handlers.">MyMainWindow::closeEvent</a>( <a class="codeRef" href="qcloseevent.html">QCloseEvent</a> *e )
 {
   <span class="comment">// Save settings if auto-save is enabled, and settings have changed</span>
   <span class="keywordflow">if</span> ( <a class="code" href="classKMainWindow.html#a58ad42c896791e26af2f9129e891c3fa" title="For inherited classes.">settingsDirty</a>() &amp;&amp; <a class="code" href="classKMainWindow.html#a8073aff6ad2fdc8e6eea177bc7e23c4d">autoSaveSettings</a>() )
     <a class="code" href="classKMainWindow.html#a38702e739ebaf55d2519982e933713cf" title="This slot should only be called in case you reimplement closeEvent() and if you are using the &quot;auto-s...">saveAutoSaveSettings</a>();
   ..
 }
</pre></div> 
<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l01049">1049</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="acf811d77a3acdcf2b61f8826429615a7"></a><!-- doxytag: member="KMainWindow::saveGlobalProperties" ref="acf811d77a3acdcf2b61f8826429615a7" args="(KConfig *sessionConfig)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KMainWindow::saveGlobalProperties </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKConfig.html">KConfig</a> *&#160;</td>
          <td class="paramname"><em>sessionConfig</em></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Save your application-wide properties. </p>
<p>The function is invoked when the session manager requests your application to save its state.</p>
<p>This function is similar to <a class="el" href="classKMainWindow.html#a2740b1f7bc855f5fa57284c5a5c99879" title="Save your instance-specific properties.">saveProperties()</a> but is only called for the very first main window, regardless how many main window are open.</p>
<p>Override it if you need to save other data about your documents on session end. sessionConfig is a config to which that data should be saved. Normally, you don't need this function. But if you want to save data about your documents that are not in opened windows you might need it.</p>
<p>Default implementation does nothing. </p>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l00674">674</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="af98ba1cf50dea9c2fbb1ea321b1ef132"></a><!-- doxytag: member="KMainWindow::saveMainWindowSettings" ref="af98ba1cf50dea9c2fbb1ea321b1ef132" args="(KConfig *config, const QString &amp;groupName=QString::null)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KMainWindow::saveMainWindowSettings </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKConfig.html">KConfig</a> *&#160;</td>
          <td class="paramname"><em>config</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>groupName</em> = <code>QString::null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Save settings for statusbar, menubar and toolbar to their respective groups in the config file <code>config</code>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">config</td><td>Config file to save the settings to. </td></tr>
    <tr><td class="paramname">groupName</td><td>Group name to use. If not specified, the last used group name is used </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l00716">716</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

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

<p>Rebuilds the GUI after <a class="el" href="classKEditToolbar.html" title="A dialog used to customize or configure toolbars.">KEditToolbar</a> changed the toolbar layout. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKMainWindow.html#aec2d424dd5a96e9a6a5a3c943aca9236" title="Show a standard configure toolbar dialog.">configureToolbars()</a> </dd></dl>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l00439">439</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a2740b1f7bc855f5fa57284c5a5c99879"></a><!-- doxytag: member="KMainWindow::saveProperties" ref="a2740b1f7bc855f5fa57284c5a5c99879" args="(KConfig *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void KMainWindow::saveProperties </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKConfig.html">KConfig</a> *&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Save your instance-specific properties. </p>
<p>The function is invoked when the session manager requests your application to save its state.</p>
<p>You <em>must</em> <em>not</em> change the group of the <code>kconfig</code> object, since <a class="el" href="classKMainWindow.html" title="KDE top level main window">KMainWindow</a> uses one group for each window. Please reimplement these function in childclasses.</p>
<p>Note: No user interaction is allowed in this function! </p>

<p>Definition at line <a class="el" href="kmainwindow_8h_source.html#l00876">876</a> of file <a class="el" href="kmainwindow_8h_source.html">kmainwindow.h</a>.</p>

</div>
</div>
<a class="anchor" id="a80ad1566ef7cbac3c725cd0ea647c2cb"></a><!-- doxytag: member="KMainWindow::saveWindowSize" ref="a80ad1566ef7cbac3c725cd0ea647c2cb" args="(KConfig *config) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KMainWindow::saveWindowSize </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKConfig.html">KConfig</a> *&#160;</td>
          <td class="paramname"><em>config</em></td><td>)</td>
          <td> const<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>For inherited classes Note that the group must be set before calling. </p>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l00902">902</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a9ce57a5913f7582dd7f8fba8b867db23"></a><!-- doxytag: member="KMainWindow::setAutoSaveSettings" ref="a9ce57a5913f7582dd7f8fba8b867db23" args="(const QString &amp;groupName=QString::fromLatin1(&quot;MainWindow&quot;), bool saveWindowSize=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KMainWindow::setAutoSaveSettings </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>groupName</em> = <code><a class="elRef" href="qstring.html#fromLatin1">QString::fromLatin1</a>(&quot;MainWindow&quot;)</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>saveWindowSize</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Call this to enable "auto-save" of toolbar/menubar/statusbar settings (and optionally window size). </p>
<p>If the *bars were moved around/shown/hidden when the window is closed, saveMainWindowSettings( <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKGlobal.html#a71532b4619923ec5f7779c5f0065e6e7">KGlobal::config()</a>, groupName ) will be called.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">groupName</td><td>a name that identifies this "type of window". You can have several types of window in the same application.</td></tr>
    <tr><td class="paramname">saveWindowSize</td><td>set it to true to include the window size when saving.</td></tr>
  </table>
  </dd>
</dl>
<p>Typically, you will call <a class="el" href="classKMainWindow.html#a9ce57a5913f7582dd7f8fba8b867db23" title="Call this to enable &quot;auto-save&quot; of toolbar/menubar/statusbar settings (and optionally window size)...">setAutoSaveSettings()</a> in your KMainWindow-inherited class constructor, and it will take care of restoring and saving automatically. Make sure you call this _after all_ your *bars have been created.</p>
<p>To make sure that <a class="el" href="classKMainWindow.html" title="KDE top level main window">KMainWindow</a> propertly obtains the default size of the window you should do the following:</p>
<ul>
<li>Remove hard coded resize() calls in the constructor or main, they should be removed in favor of letting the automatic resizing determine the default window size. Hard coded window sizes will be wrong for users that have big fonts, use different styles, long/small translations, large toolbars, and other factors.</li>
<li>Put the setAutoSaveSettings ( or <a class="el" href="classKMainWindow.html#a4d1190344067b2fe36a4657d685e8e0b" title="Configures the current windows and its actions in the typical KDE fashion.">setupGUI()</a> ) call after all widgets have been created and placed inside the main window (i.e. for 99% of apps <a class="elRef" href="qmainwindow.html#setCentralWidget">setCentralWidget()</a>)</li>
<li>Widgets that inherit from <a class="elRef" href="qwidget.html">QWidget</a> (like game boards) should overload "virtual QSize sizeHint() const;" to specify a default size rather than letting QWidget::adjust use the default size of 0x0. </li>
</ul>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l01017">1017</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

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

<p>Makes a <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/namespaceKDE.html">KDE</a> compliant caption. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">caption</td><td>Your caption. <em>Do</em> <em>not</em> include the application name in this string. It will be added automatically according to the <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/namespaceKDE.html">KDE</a> standard. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l00581">581</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aa78364d5eeb1c1f5bd333c733378741d"></a><!-- doxytag: member="KMainWindow::setCaption" ref="aa78364d5eeb1c1f5bd333c733378741d" args="(const QString &amp;caption, bool modified)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KMainWindow::setCaption </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>caption</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>modified</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Makes a <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/namespaceKDE.html">KDE</a> compliant caption. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">caption</td><td>Your caption. <em>Do</em> <em>not</em> include the application name in this string. It will be added automatically according to the <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/namespaceKDE.html">KDE</a> standard. </td></tr>
    <tr><td class="paramname">modified</td><td>Specify whether the document is modified. This displays an additional sign in the title bar, usually "**". </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l00586">586</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aa0f12804f8ce88e55b707fddc40f5e7c"></a><!-- doxytag: member="KMainWindow::setHelpMenuEnabled" ref="aa0f12804f8ce88e55b707fddc40f5e7c" args="(bool showHelpMenu=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KMainWindow::setHelpMenuEnabled </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>showHelpMenu</em> = <code>true</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Enables the build of a standard help menu when calling <a class="el" href="classKMainWindow.html#a45305772095868a93bf62817deebe938" title="Create a GUI given a local XML file.">createGUI()</a>. </p>
<p>The default behavior is to build one, you must call this function to disable it </p>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l00571">571</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aaa56b9f0668aa46fb766aea961de0744"></a><!-- doxytag: member="KMainWindow::setIcon" ref="aaa56b9f0668aa46fb766aea961de0744" args="(const QPixmap &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KMainWindow::setIcon </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qpixmap.html">QPixmap</a> &amp;&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l01225">1225</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

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

<p>Make a plain caption without any modifications. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">caption</td><td>Your caption. This is the string that will be displayed in the window title. </td></tr>
  </table>
  </dd>
</dl>

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

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

<p>Apply a state change. </p>
<p>Enable and disable actions as defined in the XML rc file, can "reverse" the state (disable the actions which should be enabled, and vice-versa) if specified. Tell the main window that it should save its settings when being closed. This is part of the auto-save-settings feature. For everything related to toolbars this happens automatically, but you have to call <a class="el" href="classKMainWindow.html#a5f60cfc96af7dc428ced559abb62c660" title="Apply a state change.">setSettingsDirty()</a> in the slot that toggles the visibility of the statusbar. </p>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l00990">990</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a92a407a4a8c3855c9d44fcbb925c9ccc"></a><!-- doxytag: member="KMainWindow::setStandardToolBarMenuEnabled" ref="a92a407a4a8c3855c9d44fcbb925c9ccc" args="(bool enable)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KMainWindow::setStandardToolBarMenuEnabled </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>enable</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets whether <a class="el" href="classKMainWindow.html" title="KDE top level main window">KMainWindow</a> should provide a menu that allows showing/hiding the available toolbars ( using <a class="el" href="classKToggleToolBarAction.html" title="An action that takes care of everything associated with showing or hiding a toolbar by a menu action...">KToggleToolBarAction</a> ) . </p>
<p>In case there is only one toolbar configured a simple 'Show &lt;toolbar name here&gt;' menu item is shown.</p>
<p>The menu / menu item is implemented using xmlgui. It will be inserted in your menu structure in the 'Settings' menu.</p>
<p>If your application uses a non-standard xmlgui resource file then you can specify the exact position of the menu / menu item by adding a &lt;Merge name="StandardToolBarMenuHandler" /&gt; line to the settings menu section of your resource file ( usually appname.rc ).</p>
<p>Note that you should enable this feature before calling <a class="el" href="classKMainWindow.html#a45305772095868a93bf62817deebe938" title="Create a GUI given a local XML file.">createGUI()</a> ( or similar ) . You enable/disable it anytime if you pass false to the conserveMemory argument of createGUI. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.1 </dd></dl>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l00769">769</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

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

<p>For inherited classes. </p>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l01007">1007</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a77e096ce2a5395e88d075d21f7c208c1"></a><!-- doxytag: member="KMainWindow::settingsGroup" ref="a77e096ce2a5395e88d075d21f7c208c1" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qstring.html">QString</a> KMainWindow::settingsGroup </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>For inherited classes. </p>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l01012">1012</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a65f68f49be4ac545ad5e820cead28183"></a><!-- doxytag: member="KMainWindow::setupGUI" ref="a65f68f49be4ac545ad5e820cead28183" args="(QSize defaultSize, int options=ToolBar|Keys|StatusBar|Save|Create, const QString &amp;xmlfile=QString::null)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KMainWindow::setupGUI </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qsize.html">QSize</a>&#160;</td>
          <td class="paramname"><em>defaultSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>options</em> = <code>ToolBar&#160;|&#160;Keys&#160;|&#160;StatusBar&#160;|&#160;Save&#160;|&#160;Create</code>, </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>xmlfile</em> = <code>QString::null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Configures the current windows and its actions in the typical <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/namespaceKDE.html">KDE</a> fashion. </p>
<p>The options are all enabled by default but can be turned off if desired through the params or if the prereqs don't exists.</p>
<p><code>defaultSize</code> The default size of the window</p>
<p>Typically this function replaces <a class="el" href="classKMainWindow.html#a45305772095868a93bf62817deebe938" title="Create a GUI given a local XML file.">createGUI()</a>.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKMainWindow.html#a510951213f30c01d27f9bc52fffb9821">StandardWindowOptions</a></dd></dl>
<dl class="since"><dt><b>Since:</b></dt><dd>3.5 </dd></dl>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l00449">449</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a4d1190344067b2fe36a4657d685e8e0b"></a><!-- doxytag: member="KMainWindow::setupGUI" ref="a4d1190344067b2fe36a4657d685e8e0b" args="(int options=ToolBar|Keys|StatusBar|Save|Create, const QString &amp;xmlfile=QString::null)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KMainWindow::setupGUI </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>options</em> = <code>ToolBar&#160;|&#160;Keys&#160;|&#160;StatusBar&#160;|&#160;Save&#160;|&#160;Create</code>, </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>xmlfile</em> = <code>QString::null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Configures the current windows and its actions in the typical <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/namespaceKDE.html">KDE</a> fashion. </p>
<p>The options are all enabled by default but can be turned off if desired through the params or if the prereqs don't exists.</p>
<p>Typically this function replaces <a class="el" href="classKMainWindow.html#a45305772095868a93bf62817deebe938" title="Create a GUI given a local XML file.">createGUI()</a>.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKMainWindow.html#a510951213f30c01d27f9bc52fffb9821">StandardWindowOptions</a></dd></dl>
<dl class="since"><dt><b>Since:</b></dt><dd>3.3 </dd></dl>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l00445">445</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a0d16ed7f0f0c187607d66ad6cde17a69"></a><!-- doxytag: member="KMainWindow::setupToolbarMenuActions" ref="a0d16ed7f0f0c187607d66ad6cde17a69" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KMainWindow::setupToolbarMenuActions </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>for <a class="el" href="classKToolBar.html" title="Floatable toolbar with auto resize.">KToolBar</a> </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.3.1 </dd></dl>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l00273">273</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

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

<p>Reimplementation of QMainWindow::show() </p>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l00381">381</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

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

<p>This slot does nothing. </p>
<p>It must be reimplemented if you want to use a custom About Application dialog box. This slot is connected to the About Application entry in the menu returned by customHelpMenu.</p>
<p>Example: </p>
<div class="fragment"><pre class="fragment"> <span class="keywordtype">void</span> MyMainLevel::setupInterface()
 {
   ..
   <a class="code" href="classKMainWindow.html#a8ccf5a191070ebc855c1a181af22c8ec" title="Returns a pointer to the menu bar.">menuBar</a>()-&gt;<a class="codeRef" href="qmenubar.html#insertItem">insertItem</a>( i18n(<span class="stringliteral">&quot;&amp;Help&quot;</span>), <a class="code" href="classKMainWindow.html#af928be40ad494b097cdfc450e17dd3f7" title="Returns the help menu.">customHelpMenu</a>() );
   ..
 }

 <span class="keywordtype">void</span> <a class="code" href="classKMainWindow.html#a78475d46cfed0262802c76b6cbd2920c" title="This slot does nothing.">MyMainLevel::showAboutApplication</a>()
 {
   &lt;activate your custom dialog&gt;
 }
</pre></div> 
<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l00688">688</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a7dc83637a5e5043193c824d1f9808c5a"></a><!-- doxytag: member="KMainWindow::sizeForCentralWidgetSize" ref="a7dc83637a5e5043193c824d1f9808c5a" args="(QSize size) KDE_DEPRECATED" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qsize.html">QSize</a> KMainWindow::sizeForCentralWidgetSize </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qsize.html">QSize</a>&#160;</td>
          <td class="paramname"><em>size</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>the size the mainwindow should have so that the central widget will be of <code>size</code>.</dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000054">Deprecated:</a></b></dt><dd>You normally don't need this, the recommended way to achieve a certain central widget size is as follows: </dd></dl>
<ul>
<li>Override sizeHint() in the central widget so that it returns the desired size. </li>
<li>Call updateGeometry() in the central widget whenever the desired size changes. This ensures that the new sizeHint() is properly propagated to any parent layout. </li>
<li>Now call adjustSize() in the mainwindow to resize the mainwindow such that the central widget will become the desired size. </li>
</ul>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l01183">1183</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a92687868e4348fb1423b9588e508514f"></a><!-- doxytag: member="KMainWindow::slotStateChanged" ref="a92687868e4348fb1423b9588e508514f" args="(const QString &amp;newstate, KXMLGUIClient::ReverseStateChange)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KMainWindow::slotStateChanged </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>newstate</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">KXMLGUIClient::ReverseStateChange&#160;</td>
          <td class="paramname"><em>reverse</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Apply a state change. </p>
<p>Enable and disable actions as defined in the XML rc file, can "reverse" the state (disable the actions which should be enabled, and vice-versa) if specified. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.1 </dd></dl>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l00618">618</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

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

<p>Apply a state change. </p>
<p>Enable and disable actions as defined in the XML rc file </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.1 </dd></dl>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l00610">610</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a4cf634139ca0305c19d90390c9560e89"></a><!-- doxytag: member="KMainWindow::statusBar" ref="a4cf634139ca0305c19d90390c9560e89" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classKStatusBar.html">KStatusBar</a> * KMainWindow::statusBar </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns a pointer to the status bar. </p>
<p>If there is no status bar yet, one will be created.</p>
<p>Note that tooltips for kactions in <a class="el" href="classKXMLGUIClient.html#a7f996e74cc024ccceb6d96fba355b9a0" title="Retrieves the entire action collection for the GUI client.">actionCollection()</a> are not automatically connected to this statusBar. See the <a class="el" href="classKActionCollection.html" title="A managed set of KAction objects.">KActionCollection</a> documentation for more details.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKActionCollection.html" title="A managed set of KAction objects.">KActionCollection</a> </dd></dl>

<p>Reimplemented from <a class="elRef" href="qmainwindow.html#statusBar">QMainWindow</a>.</p>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l01083">1083</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a001e2db04e777dc1524d4ab09df2a492"></a><!-- doxytag: member="KMainWindow::toolBar" ref="a001e2db04e777dc1524d4ab09df2a492" args="(const char *name=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classKToolBar.html">KToolBar</a> * KMainWindow::toolBar </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em> = <code>0</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns a pointer to the toolbar with the specified name. </p>
<p>This refers to toolbars created dynamically from the XML UI framework. If the toolbar does not exist one will be created.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>The internal name of the toolbar. If no name is specified "mainToolBar" is assumed.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A pointer to the toolbar </dd></dl>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l01141">1141</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a73bdfcf4784f5e83573b8cc2ae6afa68"></a><!-- doxytag: member="KMainWindow::toolBarIterator" ref="a73bdfcf4784f5e83573b8cc2ae6afa68" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qptrlistiterator.html">QPtrListIterator</a>&lt; <a class="el" href="classKToolBar.html">KToolBar</a> &gt; KMainWindow::toolBarIterator </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>An iterator over the list of all toolbars for this window. </dd></dl>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l01156">1156</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ae5bbb3fa1dbda76e4ca5eb11d4040d65"></a><!-- doxytag: member="KMainWindow::toolBarMenuAction" ref="ae5bbb3fa1dbda76e4ca5eb11d4040d65" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classKAction.html">KAction</a> * KMainWindow::toolBarMenuAction </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns a pointer to the mainwindows action responsible for the toolbars menu. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.1 </dd></dl>

<p>Definition at line <a class="el" href="kmainwindow_8cpp_source.html#l00264">264</a> of file <a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.cpp</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a86558fb2a647157a997f438abc043f9f"></a><!-- doxytag: member="KMainWindow::memberList" ref="a86558fb2a647157a997f438abc043f9f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qptrlist.html">QPtrList</a>&lt; <a class="el" href="classKMainWindow.html">KMainWindow</a> &gt; * <a class="el" href="classKMainWindow.html#a86558fb2a647157a997f438abc043f9f">KMainWindow::memberList</a> = 0L<code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>List of members of <a class="el" href="classKMainWindow.html" title="KDE top level main window">KMainWindow</a> class. </p>

<p>Definition at line <a class="el" href="kmainwindow_8h_source.html#l00385">385</a> of file <a class="el" href="kmainwindow_8h_source.html">kmainwindow.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="kmainwindow_8h_source.html">kmainwindow.h</a></li>
<li><a class="el" href="kmainwindow_8cpp_source.html">kmainwindow.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>kdeui</h2>
<div class="nav_list">
<ul><li><a href="index.html">Main Page</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="classKAboutApplication.html">kaboutapplication</option>,  <option value="classKAboutContainer.html">kaboutcontainer</option>,  <option value="classKAboutContainerBase.html">kaboutcontainerbase</option>,  <option value="classKAboutContributor.html">kaboutcontributor</option>,  <option value="classKAboutDialog.html">kaboutdialog</option>,  <option value="classKAboutKDE.html">kaboutkde</option>,  <option value="classKAboutWidget.html">kaboutwidget</option>,  <option value="classKAccelGen_1_1Deref.html">kaccelgen::deref</option>,  <option value="classKAccelGen_1_1Deref__Key.html">kaccelgen::deref__key</option>,  <option value="classKAction.html">kaction</option>,  <option value="classKActionCollection.html">kactioncollection</option>,  <option value="classKActionMenu.html">kactionmenu</option>,  <option value="classKActionSelector.html">kactionselector</option>,  <option value="classKActiveLabel.html">kactivelabel</option>,  <option value="classKAnimWidget.html">kanimwidget</option>,  <option value="classKArrowButton.html">karrowbutton</option>,  <option value="classKAuthIcon.html">kauthicon</option>,  <option value="classKBugReport.html">kbugreport</option>,  <option value="classKButtonBox.html">kbuttonbox</option>,  <option value="classKCharSelect.html">kcharselect</option>,  <option value="classKCharSelectTable.html">kcharselecttable</option>,  <option value="classKCModule.html">kcmodule</option>,  <option value="classKColor.html">kcolor</option>,  <option value="classKColorButton.html">kcolorbutton</option>,  <option value="classKColorCells.html">kcolorcells</option>,  <option value="classKColorCombo.html">kcolorcombo</option>,  <option value="classKColorDialog.html">kcolordialog</option>,  <option value="classKColorDrag.html">kcolordrag</option>,  <option value="classKColorPatch.html">kcolorpatch</option>,  <option value="classKComboBox.html">kcombobox</option>,  <option value="classKCommand.html">kcommand</option>,  <option value="classKCommandHistory.html">kcommandhistory</option>,  <option value="classKCompletionBox.html">kcompletionbox</option>,  <option value="classKConfigDialog.html">kconfigdialog</option>,  <option value="classKContextMenuManager.html">kcontextmenumanager</option>,  <option value="classKCursor.html">kcursor</option>,  <option value="classKCursorPrivate.html">kcursorprivate</option>,  <option value="classKCursorPrivateAutoHideEventFilter.html">kcursorprivateautohideeventfilter</option>,  <option value="classKDateInternalMonthPicker.html">kdateinternalmonthpicker</option>,  <option value="classKDateInternalWeekSelector.html">kdateinternalweekselector</option>,  <option value="classKDateInternalYearSelector.html">kdateinternalyearselector</option>,  <option value="classKDatePicker.html">kdatepicker</option>,  <option value="classKDateTable.html">kdatetable</option>,  <option value="classKDateTimeWidget.html">kdatetimewidget</option>,  <option value="classKDateValidator.html">kdatevalidator</option>,  <option value="classKDateWidget.html">kdatewidget</option>,  <option value="classKDCOPActionProxy.html">kdcopactionproxy</option>,  <option value="classKDEPrivate_1_1ToolBarHandler.html">kdeprivate::toolbarhandler</option>,  <option value="classKDialog.html">kdialog</option>,  <option value="classKDialogBase.html">kdialogbase</option>,  <option value="classKDialogBaseButton.html">kdialogbasebutton</option>,  <option value="classKDialogBaseTile.html">kdialogbasetile</option>,  <option value="classKDictSpellingHighlighter.html">kdictspellinghighlighter</option>,  <option value="classKDockButton__Private.html">kdockbutton__private</option>,  <option value="classKDockMainWindow.html">kdockmainwindow</option>,  <option value="classKDockManager.html">kdockmanager</option>,  <option value="classKDockSplitter.html">kdocksplitter</option>,  <option value="classKDockTabGroup.html">kdocktabgroup</option>,  <option value="classKDockWidget.html">kdockwidget</option>,  <option value="classKDockWidgetAbstractHeader.html">kdockwidgetabstractheader</option>,  <option value="classKDockWidgetAbstractHeaderDrag.html">kdockwidgetabstractheaderdrag</option>,  <option value="classKDockWidgetHeader.html">kdockwidgetheader</option>,  <option value="classKDockWidgetHeaderDrag.html">kdockwidgetheaderdrag</option>,  <option value="classKDockWidgetPrivate.html">kdockwidgetprivate</option>,  <option value="classKDockWindow.html">kdockwindow</option>,  <option value="classKDoubleNumInput.html">kdoublenuminput</option>,  <option value="classKDoubleSpinBox.html">kdoublespinbox</option>,  <option value="classKDoubleValidator.html">kdoublevalidator</option>,  <option value="classKDualColorButton.html">kdualcolorbutton</option>,  <option value="classKEdit.html">kedit</option>,  <option value="classKEditListBox.html">keditlistbox</option>,  <option value="classKEditListBox_1_1CustomEditor.html">keditlistbox::customeditor</option>,  <option value="classKEditToolbar.html">kedittoolbar</option>,  <option value="classKEditToolbarWidget.html">kedittoolbarwidget</option>,  <option value="classKFloatValidator.html">kfloatvalidator</option>,  <option value="classKFontChooser.html">kfontchooser</option>,  <option value="classKFontCombo.html">kfontcombo</option>,  <option value="classKFontDialog.html">kfontdialog</option>,  <option value="classKFontRequester.html">kfontrequester</option>,  <option value="classKGradientSelector.html">kgradientselector</option>,  <option value="classKGuiItem.html">kguiitem</option>,  <option value="classKHelpMenu.html">khelpmenu</option>,  <option value="classKHistoryCombo.html">khistorycombo</option>,  <option value="classKHSSelector.html">khsselector</option>,  <option value="classKIconView.html">kiconview</option>,  <option value="classKIconViewItem.html">kiconviewitem</option>,  <option value="classKIconViewSearchLine.html">kiconviewsearchline</option>,  <option value="classKImageTrackLabel.html">kimagetracklabel</option>,  <option value="classKInputDialog.html">kinputdialog</option>,  <option value="classKIntNumInput.html">kintnuminput</option>,  <option value="classKIntSpinBox.html">kintspinbox</option>,  <option value="classKIntValidator.html">kintvalidator</option>,  <option value="classKJanusWidget.html">kjanuswidget</option>,  <option value="classKKeyButton.html">kkeybutton</option>,  <option value="classKKeyChooser.html">kkeychooser</option>,  <option value="classKKeyDialog.html">kkeydialog</option>,  <option value="classKLanguageButton.html">klanguagebutton</option>,  <option value="classKLed.html">kled</option>,  <option value="classKLineEdit.html">klineedit</option>,  <option value="classKLineEditDlg.html">klineeditdlg</option>,  <option value="classKListAction.html">klistaction</option>,  <option value="classKListBox.html">klistbox</option>,  <option value="classKListView.html">klistview</option>,  <option value="classKListViewItem.html">klistviewitem</option>,  <option value="classKListViewLineEdit.html">klistviewlineedit</option>,  <option value="classKListViewSearchLine.html">klistviewsearchline</option>,  <option value="classKListViewSearchLineWidget.html">klistviewsearchlinewidget</option>,  <option value="classKMacroCommand.html">kmacrocommand</option>,  <option value="classKMainWindow.html">kmainwindow</option>,  <option value="classKMainWindowInterface.html">kmainwindowinterface</option>,  <option value="classKMenuBar.html">kmenubar</option>,  <option value="classKMessageBox.html">kmessagebox</option>,  <option value="classKMimeTypeValidator.html">kmimetypevalidator</option>,  <option value="classKNamedCommand.html">knamedcommand</option>,  <option value="classKNumInput.html">knuminput</option>,  <option value="classKPaletteTable.html">kpalettetable</option>,  <option value="classKPanelApplet.html">kpanelapplet</option>,  <option value="classKPanelAppMenu.html">kpanelappmenu</option>,  <option value="classKPanelExtension.html">kpanelextension</option>,  <option value="classKPanelMenu.html">kpanelmenu</option>,  <option value="classKPassivePopup.html">kpassivepopup</option>,  <option value="classKPasswordDialog.html">kpassworddialog</option>,  <option value="classKPasswordEdit.html">kpasswordedit</option>,  <option value="classKPasteTextAction.html">kpastetextaction</option>,  <option value="classKPixmapIO.html">kpixmapio</option>,  <option value="classKPixmapRegionSelectorDialog.html">kpixmapregionselectordialog</option>,  <option value="classKPixmapRegionSelectorWidget.html">kpixmapregionselectorwidget</option>,  <option value="classKPopupFrame.html">kpopupframe</option>,  <option value="classKPopupMenu.html">kpopupmenu</option>,  <option value="classKPopupTitle.html">kpopuptitle</option>,  <option value="classKProgress.html">kprogress</option>,  <option value="classKProgressDialog.html">kprogressdialog</option>,  <option value="classKPushButton.html">kpushbutton</option>,  <option value="classKRadioAction.html">kradioaction</option>,  <option value="classKRecentFilesAction.html">krecentfilesaction</option>,  <option value="classKRestrictedLine.html">krestrictedline</option>,  <option value="classKRootPermsIcon.html">krootpermsicon</option>,  <option value="classKRootPixmap.html">krootpixmap</option>,  <option value="classKRuler.html">kruler</option>,  <option value="classKScrollView.html">kscrollview</option>,  <option value="classKSelectAction.html">kselectaction</option>,  <option value="classKSelector.html">kselector</option>,  <option value="classKSeparator.html">kseparator</option>,  <option value="classKShortcutDialog.html">kshortcutdialog</option>,  <option value="classKSpell.html">kspell</option>,  <option value="classKSpellConfig.html">kspellconfig</option>,  <option value="classKSplashScreen.html">ksplashscreen</option>,  <option value="classKSqueezedTextLabel.html">ksqueezedtextlabel</option>,  <option value="classKStatusBar.html">kstatusbar</option>,  <option value="classKStatusBarLabel.html">kstatusbarlabel</option>,  <option value="classKStdGuiItem.html">kstdguiitem</option>,  <option value="classKStringListValidator.html">kstringlistvalidator</option>,  <option value="classKSwitchLanguageDialog.html">kswitchlanguagedialog</option>,  <option value="classKSyntaxHighlighter.html">ksyntaxhighlighter</option>,  <option value="classKSystemTray.html">ksystemtray</option>,  <option value="classKTabBar.html">ktabbar</option>,  <option value="classKTabCtl.html">ktabctl</option>,  <option value="classKTabWidget.html">ktabwidget</option>,  <option value="classKTextBrowser.html">ktextbrowser</option>,  <option value="classKTextEdit.html">ktextedit</option>,  <option value="classKTimeWidget.html">ktimewidget</option>,  <option value="classKTimezoneWidget.html">ktimezonewidget</option>,  <option value="classKTipDatabase.html">ktipdatabase</option>,  <option value="classKTipDialog.html">ktipdialog</option>,  <option value="classKToggleAction.html">ktoggleaction</option>,  <option value="classKToggleFullScreenAction.html">ktogglefullscreenaction</option>,  <option value="classKToggleToolBarAction.html">ktoggletoolbaraction</option>,  <option value="classKToolBar.html">ktoolbar</option>,  <option value="classKToolBarButton.html">ktoolbarbutton</option>,  <option value="classKToolBarButtonList.html">ktoolbarbuttonlist</option>,  <option value="classKToolBarLabelAction.html">ktoolbarlabelaction</option>,  <option value="classKToolBarPopupAction.html">ktoolbarpopupaction</option>,  <option value="classKToolBarRadioGroup.html">ktoolbarradiogroup</option>,  <option value="classKURLLabel.html">kurllabel</option>,  <option value="classKValueSelector.html">kvalueselector</option>,  <option value="classKWidgetAction.html">kwidgetaction</option>,  <option value="classKWindowInfo.html">kwindowinfo</option>,  <option value="classKWizard.html">kwizard</option>,  <option value="classKWordWrap.html">kwordwrap</option>,  <option value="classKWritePermsIcon.html">kwritepermsicon</option>,  <option value="classKXMLGUIBuilder.html">kxmlguibuilder</option>,  <option value="classKXMLGUIClient.html">kxmlguiclient</option>,  <option value="classKXMLGUIFactory.html">kxmlguifactory</option>,  <option value="classKXYSelector.html">kxyselector</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>