Sophie

Sophie

distrib > CentOS > 5 > x86_64 > by-pkgid > f89abdeb016114b348a5c554d8214329 > files > 2838

kdelibs-apidocs-3.5.4-30.el5.centos.x86_64.rpm

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

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

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

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

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

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

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



</head>

<body>

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

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

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


</div>

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


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

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


<!-- Generated by Doxygen 1.4.7 -->
<h1>KWinModule Class Reference</h1><!-- doxytag: class="KWinModule" --><!-- doxytag: inherits="QObject" --><code>#include &lt;<a class="el" href="kwinmodule_8h-source.html">kwinmodule.h</a>&gt;</code>
<p>
<p>Inheritance diagram for KWinModule:
<p><center><img src="classKWinModule.png" usemap="#KWinModule_map" border="0" alt=""></center>
<map name="KWinModule_map">
<area doxygen="qt.tag:" href="qobject.html" alt="QObject" shape="rect" coords="0,0,83,24">
</map>
<a href="classKWinModule-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
The class <a class="el" href="classKWinModule.html">KWinModule</a> provides information about the state of the window manager as required by windowmanager modules.Base class for <a class="el" href="namespaceKDE.html">KDE</a> Window Manager modules. 
<p>
It informs a module about all currently managed windows and changes to them (via <a class="elRef" doxygen="qt.tag:" href="qt.html">Qt</a> signals).<p>
<a class="el" href="classKWinModule.html">KWinModule</a> uses NETRootInfo internally. Modules written with this class will work fine under any window manager that implements the NET_WM protocol.<p>
There are no methods to manipulate windows. Those are defined in the classes <a class="el" href="classKWin.html">KWin</a>, NETWinInfo and NETRootInfo.<p>
<dl compact><dt><b>Author:</b></dt><dd>Matthias Ettrich (<a href="mailto:ettrich@kde.org">ettrich@kde.org</a>) </dd></dl>

<p>

<p>
Definition at line <a class="el" href="kwinmodule_8h-source.html#l00052">52</a> of file <a class="el" href="kwinmodule_8h-source.html">kwinmodule.h</a>.<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e9921b08695860d62ebdd8859a843c8d45040e3315dd4e811fe8304079731f8f"></a><!-- doxytag: member="KWinModule::INFO_DESKTOP" ref="e9921b08695860d62ebdd8859a843c8d45040e3315dd4e811fe8304079731f8f" args="" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><b>INFO_DESKTOP</b> = 1</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e9921b08695860d62ebdd8859a843c8dd8b277c9b54497bb336b6d7c3b23f972"></a><!-- doxytag: member="KWinModule::INFO_WINDOWS" ref="e9921b08695860d62ebdd8859a843c8dd8b277c9b54497bb336b6d7c3b23f972" args="" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><b>INFO_WINDOWS</b> = 2</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e9921b08695860d62ebdd8859a843c8dd5de2d744a81a9dd671b7bef8aeccc51"></a><!-- doxytag: member="KWinModule::INFO_ALL" ref="e9921b08695860d62ebdd8859a843c8dd5de2d744a81a9dd671b7bef8aeccc51" args="" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><b>INFO_ALL</b> = 32767</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom">{ <b>INFO_DESKTOP</b> = 1, 
<b>INFO_WINDOWS</b> = 2, 
<b>INFO_ALL</b> = 32767
 }</td></tr>

<tr><td colspan="2"><br><h2>Signals</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#f521c0878cf331dce87d1e963106bbe8">currentDesktopChanged</a> (int desktop)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#36a04a948dc3313517fdd6f1a7752089">windowAdded</a> (WId id)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#54b5574f03def36668d06957404ade83">windowRemoved</a> (WId id)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#92ffa05aefd1c84907f70083a72911b0">activeWindowChanged</a> (WId id)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#2ba10da6fa9c8a45cbed9a09f956317f">desktopNamesChanged</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#b8195fbc4ad8bfe650d9a42cf06aed35">numberOfDesktopsChanged</a> (int num)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#4e6847340c3dbc4c27a733159222a504">systemTrayWindowAdded</a> (WId id)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#2cfbfa8b2810e223b65ce3ac2e92ff4c">systemTrayWindowRemoved</a> (WId id)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#66002d73f63710fb87bc9ada141f2380">workAreaChanged</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#10eaeea4182f578d51886d6d83e567e7">strutChanged</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#c0eda0507ffc6abb1ec8bced3e21653c">stackingOrderChanged</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#abb8c113f8f530df2bb718b913428cf8">windowChanged</a> (WId id, const unsigned long *properties)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#418a34179232001dce7936b868e13501">windowChanged</a> (WId id, unsigned int properties)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#71566d143ea8765ae2f6ea5f94f6e937">windowChanged</a> (WId id)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#52bdf74d03a2a3bc3e117b99f08ab50f">showingDesktopChanged</a> (bool showing)</td></tr>

<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#50e8b0aec1b1b438ac5fdbca6001c9d2">KWinModule</a> (<a class="elRef" doxygen="qt.tag:" href="qobject.html">QObject</a> *<a class="elRef" doxygen="qt.tag:" href="qobject.html#parent">parent</a>, int what)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#6221be0904b177d4b59de15b93500d9d">KWinModule</a> (<a class="elRef" doxygen="qt.tag:" href="qobject.html">QObject</a> *<a class="elRef" doxygen="qt.tag:" href="qobject.html#parent">parent</a>=0)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#610e4819144cf2a04e2cd190640e74b6">~KWinModule</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="elRef" doxygen="qt.tag:" href="qvaluelist.html">QValueList</a>&lt; WId &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#9fdf29f8e5d58402097c0dad60115084">windows</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="elRef" doxygen="qt.tag:" href="qvaluelist.html">QValueList</a>&lt; WId &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#a6ff0c96de6073fdb4da168ebe5a0a79">stackingOrder</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#73bdc3df9214c11aa2c97c83a0186116">hasWId</a> (WId id) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="elRef" doxygen="qt.tag:" href="qvaluelist.html">QValueList</a>&lt; WId &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#c92826a8b14155d0db40813ea58fcfd2">systemTrayWindows</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#f167b7e7b4c25f13e90abee799ba8bc3">currentDesktop</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#ccd69ee216c0b22f122a452754f492ff">numberOfDesktops</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">WId&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#c61a530aa775e5a0518e7fe2d25c6bf8">activeWindow</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="qt.tag:" href="qrect.html">QRect</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#4fef713d2fa88161fe9a091b4ce0c652">workArea</a> (int desktop=-1) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="qt.tag:" href="qrect.html">QRect</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#b516785cd9fd9d33cfa8c18f86c05c0e">workArea</a> (const <a class="elRef" doxygen="qt.tag:" href="qvaluelist.html">QValueList</a>&lt; WId &gt; &amp;excludes, int desktop=-1) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#1e52ece4f6490d4848a7f25863dce102">desktopName</a> (int desktop) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#607abb69994dbde04cefa272b17e941a">setDesktopName</a> (int desktop, const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;<a class="elRef" doxygen="qt.tag:" href="qobject.html#name">name</a>)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#368d3cff70cd2c5cabe77fcd2ce340c6">showingDesktop</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#a745b742dbce81ecd3f83ca71843fecd">doNotManage</a> (const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;title)</td></tr>

<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1bd35fe8db5c637fb5617ac4c49fb74f"></a><!-- doxytag: member="KWinModule::connectNotify" ref="1bd35fe8db5c637fb5617ac4c49fb74f" args="(const char *signal)" -->
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><b>connectNotify</b> (const char *signal)</td></tr>

<tr><td colspan="2"><br><h2>Friends</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="193d28b2ae4289219eaccb7ef9ecdbef"></a><!-- doxytag: member="KWinModule::KWinModulePrivate" ref="193d28b2ae4289219eaccb7ef9ecdbef" args="" -->
class&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#193d28b2ae4289219eaccb7ef9ecdbef">KWinModulePrivate</a></td></tr>

</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="50e8b0aec1b1b438ac5fdbca6001c9d2"></a><!-- doxytag: member="KWinModule::KWinModule" ref="50e8b0aec1b1b438ac5fdbca6001c9d2" args="(QObject *parent, int what)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KWinModule::KWinModule           </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" doxygen="qt.tag:" href="qobject.html">QObject</a> *&nbsp;</td>
          <td class="paramname"> <em>parent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>what</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Creates a <a class="el" href="classKWinModule.html">KWinModule</a> object and connects to the window manager. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>parent</em>&nbsp;</td><td>the parent for the <a class="elRef" doxygen="qt.tag:" href="qobject.html">QObject</a> </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>what</em>&nbsp;</td><td>The information you are interested in: INFO_DESKTOP: currentDesktop, numberOfDesktops, desktopName, currentDesktopChanged, numberOfDesktopsChanged, desktopNameChanged, activeWindow, activeWindowChanged, workArea(int desktop), workAreaChanged</td></tr>
  </table>
</dl>
INFO_WINDOWS: windows, windowAdded, windowRemoved, stackingOrder, systemTrayWindows, systemTrayWindowAdded, systemTrayWindowRemoved, windowChanged, strutChanged, workArea(const QValueList&lt;WId&gt; &amp;excludes, int desktop) 
</div>
</div><p>
<a class="anchor" name="6221be0904b177d4b59de15b93500d9d"></a><!-- doxytag: member="KWinModule::KWinModule" ref="6221be0904b177d4b59de15b93500d9d" args="(QObject *parent=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KWinModule::KWinModule           </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" doxygen="qt.tag:" href="qobject.html">QObject</a> *&nbsp;</td>
          <td class="paramname"> <em>parent</em> = <code>0</code>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Creates a <a class="el" href="classKWinModule.html">KWinModule</a> object and connects to the window manager. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>parent</em>&nbsp;</td><td>the parent for the <a class="elRef" doxygen="qt.tag:" href="qobject.html">QObject</a> </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="610e4819144cf2a04e2cd190640e74b6"></a><!-- doxytag: member="KWinModule::~KWinModule" ref="610e4819144cf2a04e2cd190640e74b6" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KWinModule::~KWinModule           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Destructor. 
<p>
Internal cleanup, nothing fancy. 
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="c61a530aa775e5a0518e7fe2d25c6bf8"></a><!-- doxytag: member="KWinModule::activeWindow" ref="c61a530aa775e5a0518e7fe2d25c6bf8" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">WId KWinModule::activeWindow           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the currently active window, or 0 if no window is active. 
<p>
<dl compact><dt><b>Returns:</b></dt><dd>the window id of the active window, or 0 if no window is active </dd></dl>

</div>
</div><p>
<a class="anchor" name="92ffa05aefd1c84907f70083a72911b0"></a><!-- doxytag: member="KWinModule::activeWindowChanged" ref="92ffa05aefd1c84907f70083a72911b0" args="(WId id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KWinModule::activeWindowChanged           </td>
          <td>(</td>
          <td class="paramtype">WId&nbsp;</td>
          <td class="paramname"> <em>id</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Hint that &lt;Window&gt; is active (= has focus) now. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>id</em>&nbsp;</td><td>the id of the window that is active </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="f167b7e7b4c25f13e90abee799ba8bc3"></a><!-- doxytag: member="KWinModule::currentDesktop" ref="f167b7e7b4c25f13e90abee799ba8bc3" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KWinModule::currentDesktop           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the current virtual desktop. 
<p>
<dl compact><dt><b>Returns:</b></dt><dd>the current virtual desktop </dd></dl>

</div>
</div><p>
<a class="anchor" name="f521c0878cf331dce87d1e963106bbe8"></a><!-- doxytag: member="KWinModule::currentDesktopChanged" ref="f521c0878cf331dce87d1e963106bbe8" args="(int desktop)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KWinModule::currentDesktopChanged           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>desktop</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Switched to another virtual desktop. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>desktop</em>&nbsp;</td><td>the number of the new desktop </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="1e52ece4f6490d4848a7f25863dce102"></a><!-- doxytag: member="KWinModule::desktopName" ref="1e52ece4f6490d4848a7f25863dce102" args="(int desktop) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> KWinModule::desktopName           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>desktop</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the name of the specified desktop. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>desktop</em>&nbsp;</td><td>the number of the desktop </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>the name of the desktop </dd></dl>

</div>
</div><p>
<a class="anchor" name="2ba10da6fa9c8a45cbed9a09f956317f"></a><!-- doxytag: member="KWinModule::desktopNamesChanged" ref="2ba10da6fa9c8a45cbed9a09f956317f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KWinModule::desktopNamesChanged           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Desktops have been renamed. 
<p>

</div>
</div><p>
<a class="anchor" name="a745b742dbce81ecd3f83ca71843fecd"></a><!-- doxytag: member="KWinModule::doNotManage" ref="a745b742dbce81ecd3f83ca71843fecd" args="(const QString &amp;title)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KWinModule::doNotManage           </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>title</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Informs kwin via dcop to not manage a window with the specified <code>title</code>. 
<p>
Useful for swallowing legacy applications, for example java applets.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>title</em>&nbsp;</td><td>the title of the window </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="73bdc3df9214c11aa2c97c83a0186116"></a><!-- doxytag: member="KWinModule::hasWId" ref="73bdc3df9214c11aa2c97c83a0186116" args="(WId id) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KWinModule::hasWId           </td>
          <td>(</td>
          <td class="paramtype">WId&nbsp;</td>
          <td class="paramname"> <em>id</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<a class="elRef" doxygen="dcop.tag:../../dcop/html/" href="../../dcop/html/classTest.html">Test</a> to see if <code>id</code> still managed at present. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>id</em>&nbsp;</td><td>the window id to test </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>true if the window id is still managed </dd></dl>

</div>
</div><p>
<a class="anchor" name="ccd69ee216c0b22f122a452754f492ff"></a><!-- doxytag: member="KWinModule::numberOfDesktops" ref="ccd69ee216c0b22f122a452754f492ff" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KWinModule::numberOfDesktops           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the number of virtual desktops. 
<p>
<dl compact><dt><b>Returns:</b></dt><dd>the number of virtual desktops </dd></dl>

</div>
</div><p>
<a class="anchor" name="b8195fbc4ad8bfe650d9a42cf06aed35"></a><!-- doxytag: member="KWinModule::numberOfDesktopsChanged" ref="b8195fbc4ad8bfe650d9a42cf06aed35" args="(int num)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KWinModule::numberOfDesktopsChanged           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>num</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The number of desktops changed. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>num</em>&nbsp;</td><td>the new number of desktops </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="607abb69994dbde04cefa272b17e941a"></a><!-- doxytag: member="KWinModule::setDesktopName" ref="607abb69994dbde04cefa272b17e941a" args="(int desktop, const QString &amp;name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KWinModule::setDesktopName           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>desktop</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>name</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the name of the specified desktop. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>desktop</em>&nbsp;</td><td>the number of the desktop </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>the new name for the desktop </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="368d3cff70cd2c5cabe77fcd2ce340c6"></a><!-- doxytag: member="KWinModule::showingDesktop" ref="368d3cff70cd2c5cabe77fcd2ce340c6" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KWinModule::showingDesktop           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the state of showing the desktop. 
<p>
<dl compact><dt><b>Since:</b></dt><dd>3.5 </dd></dl>

</div>
</div><p>
<a class="anchor" name="52bdf74d03a2a3bc3e117b99f08ab50f"></a><!-- doxytag: member="KWinModule::showingDesktopChanged" ref="52bdf74d03a2a3bc3e117b99f08ab50f" args="(bool showing)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KWinModule::showingDesktopChanged           </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>showing</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The state of showing the desktop has changed. 
<p>
<dl compact><dt><b>Since:</b></dt><dd>3.5 </dd></dl>

</div>
</div><p>
<a class="anchor" name="a6ff0c96de6073fdb4da168ebe5a0a79"></a><!-- doxytag: member="KWinModule::stackingOrder" ref="a6ff0c96de6073fdb4da168ebe5a0a79" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="elRef" doxygen="qt.tag:" href="qvaluelist.html">QValueList</a>&lt;WId&gt;&amp; KWinModule::stackingOrder           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the list of all toplevel windows currently managed by the window manager in the current stacking order (from lower to higher). 
<p>
May be useful for pagers. <dl compact><dt><b>Returns:</b></dt><dd>the list of all toplevel windows in stacking order </dd></dl>

</div>
</div><p>
<a class="anchor" name="c0eda0507ffc6abb1ec8bced3e21653c"></a><!-- doxytag: member="KWinModule::stackingOrderChanged" ref="c0eda0507ffc6abb1ec8bced3e21653c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KWinModule::stackingOrderChanged           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Emitted when the stacking order of the window changed. 
<p>
The new order can be obtained with <a class="el" href="classKWinModule.html#a6ff0c96de6073fdb4da168ebe5a0a79">stackingOrder()</a>. 
</div>
</div><p>
<a class="anchor" name="10eaeea4182f578d51886d6d83e567e7"></a><!-- doxytag: member="KWinModule::strutChanged" ref="10eaeea4182f578d51886d6d83e567e7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KWinModule::strutChanged           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Something changed with the struts, may or may not have changed the work area. 
<p>
Usually just using the <a class="el" href="classKWinModule.html#66002d73f63710fb87bc9ada141f2380">workAreaChanged()</a> signal is sufficient. 
</div>
</div><p>
<a class="anchor" name="4e6847340c3dbc4c27a733159222a504"></a><!-- doxytag: member="KWinModule::systemTrayWindowAdded" ref="4e6847340c3dbc4c27a733159222a504" args="(WId id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KWinModule::systemTrayWindowAdded           </td>
          <td>(</td>
          <td class="paramtype">WId&nbsp;</td>
          <td class="paramname"> <em>id</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Emitted when a dock window has been added. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>id</em>&nbsp;</td><td>the id of the new system tray window </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="2cfbfa8b2810e223b65ce3ac2e92ff4c"></a><!-- doxytag: member="KWinModule::systemTrayWindowRemoved" ref="2cfbfa8b2810e223b65ce3ac2e92ff4c" args="(WId id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KWinModule::systemTrayWindowRemoved           </td>
          <td>(</td>
          <td class="paramtype">WId&nbsp;</td>
          <td class="paramname"> <em>id</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Emitted when a dock window has been removed. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>id</em>&nbsp;</td><td>the id of the former system tray window </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="c92826a8b14155d0db40813ea58fcfd2"></a><!-- doxytag: member="KWinModule::systemTrayWindows" ref="c92826a8b14155d0db40813ea58fcfd2" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="elRef" doxygen="qt.tag:" href="qvaluelist.html">QValueList</a>&lt;WId&gt;&amp; KWinModule::systemTrayWindows           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns a list of the system tray windows. 
<p>
<dl compact><dt><b>Returns:</b></dt><dd>a list of all system tray windows </dd></dl>

</div>
</div><p>
<a class="anchor" name="36a04a948dc3313517fdd6f1a7752089"></a><!-- doxytag: member="KWinModule::windowAdded" ref="36a04a948dc3313517fdd6f1a7752089" args="(WId id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KWinModule::windowAdded           </td>
          <td>(</td>
          <td class="paramtype">WId&nbsp;</td>
          <td class="paramname"> <em>id</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
A window has been added. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>id</em>&nbsp;</td><td>the id of the the window </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="71566d143ea8765ae2f6ea5f94f6e937"></a><!-- doxytag: member="KWinModule::windowChanged" ref="71566d143ea8765ae2f6ea5f94f6e937" args="(WId id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KWinModule::windowChanged           </td>
          <td>(</td>
          <td class="paramtype">WId&nbsp;</td>
          <td class="paramname"> <em>id</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The window changed somehow. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>id</em>&nbsp;</td><td>the id of the window </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="418a34179232001dce7936b868e13501"></a><!-- doxytag: member="KWinModule::windowChanged" ref="418a34179232001dce7936b868e13501" args="(WId id, unsigned int properties)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KWinModule::windowChanged           </td>
          <td>(</td>
          <td class="paramtype">WId&nbsp;</td>
          <td class="paramname"> <em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&nbsp;</td>
          <td class="paramname"> <em>properties</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000078">Deprecated:</a></b></dt><dd>The window changed.</dd></dl>
The unsigned int parameter contains the <a class="el" href="classNET.html">NET</a> properties that were modified (see <a class="el" href="netwm__def_8h-source.html">netwm_def.h</a>). <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>id</em>&nbsp;</td><td>the id of the window </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>properties</em>&nbsp;</td><td>the properties that were modified </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="abb8c113f8f530df2bb718b913428cf8"></a><!-- doxytag: member="KWinModule::windowChanged" ref="abb8c113f8f530df2bb718b913428cf8" args="(WId id, const unsigned long *properties)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KWinModule::windowChanged           </td>
          <td>(</td>
          <td class="paramtype">WId&nbsp;</td>
          <td class="paramname"> <em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const unsigned long *&nbsp;</td>
          <td class="paramname"> <em>properties</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The window changed. 
<p>
The properties parameter contains the <a class="el" href="classNET.html">NET</a> properties that were modified (see <a class="el" href="netwm__def_8h-source.html">netwm_def.h</a>). First element are <a class="el" href="classNET.html#aea92340c4b9901e05aa7748587dcde5">NET::Property</a> values, second element are <a class="el" href="classNET.html#851d15d9aa748b5f76e44b1e2d7c79b0">NET::Property2</a> values (i.e. the format is the same like for the NETWinInfo class constructor). <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>id</em>&nbsp;</td><td>the id of the window </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>properties</em>&nbsp;</td><td>the properties that were modified </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="54b5574f03def36668d06957404ade83"></a><!-- doxytag: member="KWinModule::windowRemoved" ref="54b5574f03def36668d06957404ade83" args="(WId id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KWinModule::windowRemoved           </td>
          <td>(</td>
          <td class="paramtype">WId&nbsp;</td>
          <td class="paramname"> <em>id</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
A window has been removed. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>id</em>&nbsp;</td><td>the id of the window that has been removed </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="9fdf29f8e5d58402097c0dad60115084"></a><!-- doxytag: member="KWinModule::windows" ref="9fdf29f8e5d58402097c0dad60115084" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="elRef" doxygen="qt.tag:" href="qvaluelist.html">QValueList</a>&lt;WId&gt;&amp; KWinModule::windows           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the list of all toplevel windows currently managed by the window manager in the order of creation. 
<p>
Please do not rely on indexes of this list: Whenever you enter Qt's event loop in your application, it may happen that entries are removed or added. Your module should perhaps work on a copy of this list and verify a window with <a class="el" href="classKWinModule.html#73bdc3df9214c11aa2c97c83a0186116">hasWId()</a> before any operations.<p>
Iteration over this list can be done easily with <div class="fragment"><pre class="fragment">  <a class="codeRef" doxygen="qt.tag:" href="qvaluelist.html">QValueList&lt;WId&gt;::ConstIterator</a> it;
  <span class="keywordflow">for</span> ( it = module-&gt;windows().<a class="codeRef" doxygen="qt.tag:" href="qvaluelist.html#begin">begin</a>();
        it != modules-&gt;windows().<a class="codeRef" doxygen="qt.tag:" href="qvaluelist.html#end">end</a>(); ++it ) {
     ... <span class="keywordflow">do</span> something here,  (*it) is the current WId.
       }
</pre></div> <dl compact><dt><b>Returns:</b></dt><dd>the list of all toplevel windows </dd></dl>

</div>
</div><p>
<a class="anchor" name="b516785cd9fd9d33cfa8c18f86c05c0e"></a><!-- doxytag: member="KWinModule::workArea" ref="b516785cd9fd9d33cfa8c18f86c05c0e" args="(const QValueList&lt; WId &gt; &amp;excludes, int desktop=-1) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="qt.tag:" href="qrect.html">QRect</a> KWinModule::workArea           </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="qt.tag:" href="qvaluelist.html">QValueList</a>&lt; WId &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>excludes</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>desktop</em> = <code>-1</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the workarea for the specified desktop, or the current work area if no desktop has been specified. 
<p>
Excludes struts of clients in the exclude List.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>excludes</em>&nbsp;</td><td>the list of clients whose struts will be excluded </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>desktop</em>&nbsp;</td><td>the number of the desktop to check, -1 for the current desktop </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>the size and position of the desktop </dd></dl>

</div>
</div><p>
<a class="anchor" name="4fef713d2fa88161fe9a091b4ce0c652"></a><!-- doxytag: member="KWinModule::workArea" ref="4fef713d2fa88161fe9a091b4ce0c652" args="(int desktop=-1) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="qt.tag:" href="qrect.html">QRect</a> KWinModule::workArea           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>desktop</em> = <code>-1</code>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the workarea for the specified desktop, or the current work area if no desktop has been specified. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>desktop</em>&nbsp;</td><td>the number of the desktop to check, -1 for the current desktop </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>the size and position of the desktop </dd></dl>

</div>
</div><p>
<a class="anchor" name="66002d73f63710fb87bc9ada141f2380"></a><!-- doxytag: member="KWinModule::workAreaChanged" ref="66002d73f63710fb87bc9ada141f2380" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KWinModule::workAreaChanged           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The workarea has changed. 
<p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="kwinmodule_8h-source.html">kwinmodule.h</a></ul>
    </div></div>


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