Sophie

Sophie

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

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

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

<head>
  <title>kdecore: 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.7.4 -->
</div>
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#signals">Signals</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#friends">Friends</a>  </div>
  <div class="headertitle">
<div class="title">KWinModule Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="KWinModule" --><!-- doxytag: inherits="QObject" -->
<p>The class <a class="el" href="classKWinModule.html" title="The class KWinModule provides information about the state of the window manager as required by window...">KWinModule</a> provides information about the state of the window manager as required by windowmanager modules.  
 <a href="classKWinModule.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="kwinmodule_8h_source.html">kwinmodule.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for KWinModule:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classKWinModule.png" usemap="#KWinModule_map" alt=""/>
  <map id="KWinModule_map" name="KWinModule_map">
<area href="qobject.html" alt="QObject" shape="rect" coords="0,0,83,24"/>
</map>
 </div></div>

<p><a href="classKWinModule-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">{ <b>INFO_DESKTOP</b> = 1, 
<b>INFO_WINDOWS</b> = 2, 
<b>INFO_ALL</b> = 32767
 }</td></tr>
<tr><td colspan="2"><h2><a name="signals"></a>
Signals</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#af521c0878cf331dce87d1e963106bbe8">currentDesktopChanged</a> (int desktop)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#a36a04a948dc3313517fdd6f1a7752089">windowAdded</a> (WId id)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#a54b5574f03def36668d06957404ade83">windowRemoved</a> (WId id)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#a92ffa05aefd1c84907f70083a72911b0">activeWindowChanged</a> (WId id)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#a2ba10da6fa9c8a45cbed9a09f956317f">desktopNamesChanged</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#ab8195fbc4ad8bfe650d9a42cf06aed35">numberOfDesktopsChanged</a> (int num)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#a4e6847340c3dbc4c27a733159222a504">systemTrayWindowAdded</a> (WId id)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#a2cfbfa8b2810e223b65ce3ac2e92ff4c">systemTrayWindowRemoved</a> (WId id)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#a66002d73f63710fb87bc9ada141f2380">workAreaChanged</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#a10eaeea4182f578d51886d6d83e567e7">strutChanged</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#ac0eda0507ffc6abb1ec8bced3e21653c">stackingOrderChanged</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#aabb8c113f8f530df2bb718b913428cf8">windowChanged</a> (WId id, const unsigned long *properties)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#a418a34179232001dce7936b868e13501">windowChanged</a> (WId id, unsigned int properties)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#a71566d143ea8765ae2f6ea5f94f6e937">windowChanged</a> (WId id)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#a52bdf74d03a2a3bc3e117b99f08ab50f">showingDesktopChanged</a> (bool showing)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#a8212e2cd20daac174c99eb423f85ee8d">desktopGeometryChanged</a> (int desktop)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#af719277b6ec952e7df68897f732fc915">currentDesktopViewportChanged</a> (int desktop, const <a class="elRef" href="qpoint.html">QPoint</a> &amp;viewport)</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="classKWinModule.html#a50e8b0aec1b1b438ac5fdbca6001c9d2">KWinModule</a> (<a class="elRef" href="qobject.html">QObject</a> *<a class="elRef" href="qobject.html#parent">parent</a>, int what)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#a6221be0904b177d4b59de15b93500d9d">KWinModule</a> (<a class="elRef" href="qobject.html">QObject</a> *<a class="elRef" href="qobject.html#parent">parent</a>=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#a610e4819144cf2a04e2cd190640e74b6">~KWinModule</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="elRef" href="qvaluelist.html">QValueList</a>&lt; WId &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#a9fdf29f8e5d58402097c0dad60115084">windows</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="elRef" href="qvaluelist.html">QValueList</a>&lt; WId &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#aa6ff0c96de6073fdb4da168ebe5a0a79">stackingOrder</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#a73bdc3df9214c11aa2c97c83a0186116">hasWId</a> (WId id) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="elRef" href="qvaluelist.html">QValueList</a>&lt; WId &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#ac92826a8b14155d0db40813ea58fcfd2">systemTrayWindows</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#af167b7e7b4c25f13e90abee799ba8bc3">currentDesktop</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#accd69ee216c0b22f122a452754f492ff">numberOfDesktops</a> () const </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="classKWinModule.html#a3c7a69111fffb965023ef14dd820722d">numberOfViewports</a> (int desktop) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qpoint.html">QPoint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#ab3d0d7aa67899f342c6ddce9fb464b59">currentViewport</a> (int desktop) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">WId&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#ac61a530aa775e5a0518e7fe2d25c6bf8">activeWindow</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qrect.html">QRect</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#a4fef713d2fa88161fe9a091b4ce0c652">workArea</a> (int desktop=-1) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qrect.html">QRect</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#ab516785cd9fd9d33cfa8c18f86c05c0e">workArea</a> (const <a class="elRef" href="qvaluelist.html">QValueList</a>&lt; WId &gt; &amp;excludes, int desktop=-1) 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="classKWinModule.html#a1e52ece4f6490d4848a7f25863dce102">desktopName</a> (int desktop) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#a607abb69994dbde04cefa272b17e941a">setDesktopName</a> (int desktop, const <a class="elRef" href="qstring.html">QString</a> &amp;<a class="elRef" href="qobject.html#name">name</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#a368d3cff70cd2c5cabe77fcd2ce340c6">showingDesktop</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKWinModule.html#aa745b742dbce81ecd3f83ca71843fecd">doNotManage</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;title)</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="a1bd35fe8db5c637fb5617ac4c49fb74f"></a><!-- doxytag: member="KWinModule::connectNotify" ref="a1bd35fe8db5c637fb5617ac4c49fb74f" args="(const char *signal)" -->
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>connectNotify</b> (const char *signal)</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="a193d28b2ae4289219eaccb7ef9ecdbef"></a><!-- doxytag: member="KWinModule::KWinModulePrivate" ref="a193d28b2ae4289219eaccb7ef9ecdbef" args="" -->
class&#160;</td><td class="memItemRight" valign="bottom"><b>KWinModulePrivate</b></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>The class <a class="el" href="classKWinModule.html" title="The class KWinModule provides information about the state of the window manager as required by window...">KWinModule</a> provides information about the state of the window manager as required by windowmanager modules. </p>
<p>It informs a module about all currently managed windows and changes to them (via <a class="elRef" href="qt.html">Qt</a> signals).</p>
<p><a class="el" href="classKWinModule.html" title="The class KWinModule provides information about the state of the window manager as required by window...">KWinModule</a> uses NETRootInfo internally. Modules written with this class will work fine under any window manager that implements the NET_WM protocol.</p>
<p>There are no methods to manipulate windows. Those are defined in the classes <a class="el" href="classKWin.html" title="Convenience access to certain properties and features of the window manager.">KWin</a>, NETWinInfo and NETRootInfo.</p>
<p>Base class for <a class="el" href="namespaceKDE.html" title="Namespace for general KDE functions.">KDE</a> Window Manager modules. </p>
<dl class="author"><dt><b>Author:</b></dt><dd>Matthias Ettrich (<a href="mailto:ettrich@kde.org">ettrich@kde.org</a>) </dd></dl>

<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>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a50e8b0aec1b1b438ac5fdbca6001c9d2"></a><!-- doxytag: member="KWinModule::KWinModule" ref="a50e8b0aec1b1b438ac5fdbca6001c9d2" 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" href="qobject.html">QObject</a> *&#160;</td>
          <td class="paramname"><em>parent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>what</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a <a class="el" href="classKWinModule.html" title="The class KWinModule provides information about the state of the window manager as required by window...">KWinModule</a> object and connects to the window manager. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">parent</td><td>the parent for the <a class="elRef" href="qobject.html">QObject</a> </td></tr>
    <tr><td class="paramname">what</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>
  </dd>
</dl>
<p>INFO_WINDOWS: windows, windowAdded, windowRemoved, stackingOrder, systemTrayWindows, systemTrayWindowAdded, systemTrayWindowRemoved, windowChanged, strutChanged, workArea(const QValueList&lt;WId&gt; &amp;excludes, int desktop) </p>

</div>
</div>
<a class="anchor" id="a6221be0904b177d4b59de15b93500d9d"></a><!-- doxytag: member="KWinModule::KWinModule" ref="a6221be0904b177d4b59de15b93500d9d" 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" href="qobject.html">QObject</a> *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>0</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a <a class="el" href="classKWinModule.html" title="The class KWinModule provides information about the state of the window manager as required by window...">KWinModule</a> object and connects to the window manager. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">parent</td><td>the parent for the <a class="elRef" href="qobject.html">QObject</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a610e4819144cf2a04e2cd190640e74b6"></a><!-- doxytag: member="KWinModule::~KWinModule" ref="a610e4819144cf2a04e2cd190640e74b6" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KWinModule::~KWinModule </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Destructor. </p>
<p>Internal cleanup, nothing fancy. </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ac61a530aa775e5a0518e7fe2d25c6bf8"></a><!-- doxytag: member="KWinModule::activeWindow" ref="ac61a530aa775e5a0518e7fe2d25c6bf8" 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>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

</div>
</div>
<a class="anchor" id="a92ffa05aefd1c84907f70083a72911b0"></a><!-- doxytag: member="KWinModule::activeWindowChanged" ref="a92ffa05aefd1c84907f70083a72911b0" 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&#160;</td>
          <td class="paramname"><em>id</em></td><td>)</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Hint that &lt;Window&gt; is active (= has focus) now. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>the id of the window that is active </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="af167b7e7b4c25f13e90abee799ba8bc3"></a><!-- doxytag: member="KWinModule::currentDesktop" ref="af167b7e7b4c25f13e90abee799ba8bc3" 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>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the current virtual desktop. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the current virtual desktop </dd></dl>

</div>
</div>
<a class="anchor" id="af521c0878cf331dce87d1e963106bbe8"></a><!-- doxytag: member="KWinModule::currentDesktopChanged" ref="af521c0878cf331dce87d1e963106bbe8" 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&#160;</td>
          <td class="paramname"><em>desktop</em></td><td>)</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Switched to another virtual desktop. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">desktop</td><td>the number of the new desktop </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="af719277b6ec952e7df68897f732fc915"></a><!-- doxytag: member="KWinModule::currentDesktopViewportChanged" ref="af719277b6ec952e7df68897f732fc915" args="(int desktop, const QPoint &amp;viewport)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KWinModule::currentDesktopViewportChanged </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>desktop</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qpoint.html">QPoint</a> &amp;&#160;</td>
          <td class="paramname"><em>viewport</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The viewport position has changed. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.5 </dd></dl>

</div>
</div>
<a class="anchor" id="ab3d0d7aa67899f342c6ddce9fb464b59"></a><!-- doxytag: member="KWinModule::currentViewport" ref="ab3d0d7aa67899f342c6ddce9fb464b59" args="(int desktop) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qpoint.html">QPoint</a> KWinModule::currentViewport </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>desktop</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the current viewport on the given virtual desktop. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the number of virtual desktops </dd></dl>
<dl class="since"><dt><b>Since:</b></dt><dd>3.5.5 </dd></dl>

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

<p>The state of showing the desktop has changed. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.5.5 </dd></dl>

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

<p>Returns the name of the specified desktop. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">desktop</td><td>the number of the desktop </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the name of the desktop </dd></dl>

</div>
</div>
<a class="anchor" id="a2ba10da6fa9c8a45cbed9a09f956317f"></a><!-- doxytag: member="KWinModule::desktopNamesChanged" ref="a2ba10da6fa9c8a45cbed9a09f956317f" 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>)</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Desktops have been renamed. </p>

</div>
</div>
<a class="anchor" id="aa745b742dbce81ecd3f83ca71843fecd"></a><!-- doxytag: member="KWinModule::doNotManage" ref="aa745b742dbce81ecd3f83ca71843fecd" 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" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>title</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Informs kwin via dcop to not manage a window with the specified <code>title</code>. </p>
<p>Useful for swallowing legacy applications, for example java applets.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">title</td><td>the title of the window </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a73bdc3df9214c11aa2c97c83a0186116"></a><!-- doxytag: member="KWinModule::hasWId" ref="a73bdc3df9214c11aa2c97c83a0186116" 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&#160;</td>
          <td class="paramname"><em>id</em></td><td>)</td>
          <td> 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><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>the window id to test </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if the window id is still managed </dd></dl>

</div>
</div>
<a class="anchor" id="accd69ee216c0b22f122a452754f492ff"></a><!-- doxytag: member="KWinModule::numberOfDesktops" ref="accd69ee216c0b22f122a452754f492ff" 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>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the number of virtual desktops. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the number of virtual desktops </dd></dl>

</div>
</div>
<a class="anchor" id="ab8195fbc4ad8bfe650d9a42cf06aed35"></a><!-- doxytag: member="KWinModule::numberOfDesktopsChanged" ref="ab8195fbc4ad8bfe650d9a42cf06aed35" 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&#160;</td>
          <td class="paramname"><em>num</em></td><td>)</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The number of desktops changed. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">num</td><td>the new number of desktops </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a3c7a69111fffb965023ef14dd820722d"></a><!-- doxytag: member="KWinModule::numberOfViewports" ref="a3c7a69111fffb965023ef14dd820722d" args="(int desktop) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qsize.html">QSize</a> KWinModule::numberOfViewports </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>desktop</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the number of viewports in x and y direction on the virtual desktop. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the number of virtual desktops </dd></dl>
<dl class="since"><dt><b>Since:</b></dt><dd>3.5.5 </dd></dl>

</div>
</div>
<a class="anchor" id="a607abb69994dbde04cefa272b17e941a"></a><!-- doxytag: member="KWinModule::setDesktopName" ref="a607abb69994dbde04cefa272b17e941a" 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&#160;</td>
          <td class="paramname"><em>desktop</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>name</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the name of the specified desktop. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">desktop</td><td>the number of the desktop </td></tr>
    <tr><td class="paramname">name</td><td>the new name for the desktop </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a368d3cff70cd2c5cabe77fcd2ce340c6"></a><!-- doxytag: member="KWinModule::showingDesktop" ref="a368d3cff70cd2c5cabe77fcd2ce340c6" 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>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the state of showing the desktop. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.5 </dd></dl>

</div>
</div>
<a class="anchor" id="a52bdf74d03a2a3bc3e117b99f08ab50f"></a><!-- doxytag: member="KWinModule::showingDesktopChanged" ref="a52bdf74d03a2a3bc3e117b99f08ab50f" 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&#160;</td>
          <td class="paramname"><em>showing</em></td><td>)</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

</div>
</div>
<a class="anchor" id="aa6ff0c96de6073fdb4da168ebe5a0a79"></a><!-- doxytag: member="KWinModule::stackingOrder" ref="aa6ff0c96de6073fdb4da168ebe5a0a79" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="elRef" href="qvaluelist.html">QValueList</a>&lt;WId&gt;&amp; KWinModule::stackingOrder </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> 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>
<p>May be useful for pagers. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the list of all toplevel windows in stacking order </dd></dl>

</div>
</div>
<a class="anchor" id="ac0eda0507ffc6abb1ec8bced3e21653c"></a><!-- doxytag: member="KWinModule::stackingOrderChanged" ref="ac0eda0507ffc6abb1ec8bced3e21653c" 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>)</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Emitted when the stacking order of the window changed. </p>
<p>The new order can be obtained with <a class="el" href="classKWinModule.html#aa6ff0c96de6073fdb4da168ebe5a0a79" title="Returns the list of all toplevel windows currently managed by the window manager in the current stack...">stackingOrder()</a>. </p>

</div>
</div>
<a class="anchor" id="a10eaeea4182f578d51886d6d83e567e7"></a><!-- doxytag: member="KWinModule::strutChanged" ref="a10eaeea4182f578d51886d6d83e567e7" 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>)</td>
          <td><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>
<p>Usually just using the <a class="el" href="classKWinModule.html#a66002d73f63710fb87bc9ada141f2380" title="The workarea has changed.">workAreaChanged()</a> signal is sufficient. </p>

</div>
</div>
<a class="anchor" id="a4e6847340c3dbc4c27a733159222a504"></a><!-- doxytag: member="KWinModule::systemTrayWindowAdded" ref="a4e6847340c3dbc4c27a733159222a504" 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&#160;</td>
          <td class="paramname"><em>id</em></td><td>)</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Emitted when a dock window has been added. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>the id of the new system tray window </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a2cfbfa8b2810e223b65ce3ac2e92ff4c"></a><!-- doxytag: member="KWinModule::systemTrayWindowRemoved" ref="a2cfbfa8b2810e223b65ce3ac2e92ff4c" 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&#160;</td>
          <td class="paramname"><em>id</em></td><td>)</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Emitted when a dock window has been removed. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>the id of the former system tray window </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ac92826a8b14155d0db40813ea58fcfd2"></a><!-- doxytag: member="KWinModule::systemTrayWindows" ref="ac92826a8b14155d0db40813ea58fcfd2" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="elRef" href="qvaluelist.html">QValueList</a>&lt;WId&gt;&amp; KWinModule::systemTrayWindows </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns a list of the system tray windows. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>a list of all system tray windows </dd></dl>

</div>
</div>
<a class="anchor" id="a36a04a948dc3313517fdd6f1a7752089"></a><!-- doxytag: member="KWinModule::windowAdded" ref="a36a04a948dc3313517fdd6f1a7752089" 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&#160;</td>
          <td class="paramname"><em>id</em></td><td>)</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A window has been added. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>the id of the the window </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a418a34179232001dce7936b868e13501"></a><!-- doxytag: member="KWinModule::windowChanged" ref="a418a34179232001dce7936b868e13501" 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&#160;</td>
          <td class="paramname"><em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>properties</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000078">Deprecated:</a></b></dt><dd>The window changed.</dd></dl>
<p>The unsigned int parameter contains the <a class="el" href="classNET.html" title="Base namespace class.">NET</a> properties that were modified (see <a class="el" href="netwm__def_8h_source.html">netwm_def.h</a>). </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>the id of the window </td></tr>
    <tr><td class="paramname">properties</td><td>the properties that were modified </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a71566d143ea8765ae2f6ea5f94f6e937"></a><!-- doxytag: member="KWinModule::windowChanged" ref="a71566d143ea8765ae2f6ea5f94f6e937" 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&#160;</td>
          <td class="paramname"><em>id</em></td><td>)</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The window changed somehow. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>the id of the window </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aabb8c113f8f530df2bb718b913428cf8"></a><!-- doxytag: member="KWinModule::windowChanged" ref="aabb8c113f8f530df2bb718b913428cf8" 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&#160;</td>
          <td class="paramname"><em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const unsigned long *&#160;</td>
          <td class="paramname"><em>properties</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The window changed. </p>
<p>The properties parameter contains the <a class="el" href="classNET.html" title="Base namespace class.">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#aaea92340c4b9901e05aa7748587dcde5" title="Supported properties.">NET::Property</a> values, second element are <a class="el" href="classNET.html#a851d15d9aa748b5f76e44b1e2d7c79b0" title="Supported properties.">NET::Property2</a> values (i.e. the format is the same like for the NETWinInfo class constructor). </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>the id of the window </td></tr>
    <tr><td class="paramname">properties</td><td>the properties that were modified </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a54b5574f03def36668d06957404ade83"></a><!-- doxytag: member="KWinModule::windowRemoved" ref="a54b5574f03def36668d06957404ade83" 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&#160;</td>
          <td class="paramname"><em>id</em></td><td>)</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A window has been removed. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>the id of the window that has been removed </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a9fdf29f8e5d58402097c0dad60115084"></a><!-- doxytag: member="KWinModule::windows" ref="a9fdf29f8e5d58402097c0dad60115084" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="elRef" href="qvaluelist.html">QValueList</a>&lt;WId&gt;&amp; KWinModule::windows </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> 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>
<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#a73bdc3df9214c11aa2c97c83a0186116" title="Test to see if id still managed at present.">hasWId()</a> before any operations.</p>
<p>Iteration over this list can be done easily with </p>
<div class="fragment"><pre class="fragment">  <a class="codeRef" href="qvaluelist.html">QValueList&lt;WId&gt;::ConstIterator</a> it;
  <span class="keywordflow">for</span> ( it = module-&gt;windows().<a class="codeRef" href="qvaluelist.html#begin">begin</a>();
        it != modules-&gt;windows().<a class="codeRef" href="qvaluelist.html#end">end</a>(); ++it ) {
     ... <span class="keywordflow">do</span> something here,  (*it) is the current WId.
       }
</pre></div> <dl class="return"><dt><b>Returns:</b></dt><dd>the list of all toplevel windows </dd></dl>

</div>
</div>
<a class="anchor" id="a4fef713d2fa88161fe9a091b4ce0c652"></a><!-- doxytag: member="KWinModule::workArea" ref="a4fef713d2fa88161fe9a091b4ce0c652" args="(int desktop=&#45;1) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qrect.html">QRect</a> KWinModule::workArea </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>desktop</em> = <code>-1</code></td><td>)</td>
          <td> 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><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">desktop</td><td>the number of the desktop to check, -1 for the current desktop </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the size and position of the desktop </dd></dl>

</div>
</div>
<a class="anchor" id="ab516785cd9fd9d33cfa8c18f86c05c0e"></a><!-- doxytag: member="KWinModule::workArea" ref="ab516785cd9fd9d33cfa8c18f86c05c0e" args="(const QValueList&lt; WId &gt; &amp;excludes, int desktop=&#45;1) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qrect.html">QRect</a> KWinModule::workArea </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qvaluelist.html">QValueList</a>&lt; WId &gt; &amp;&#160;</td>
          <td class="paramname"><em>excludes</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>desktop</em> = <code>-1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> 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>
<p>Excludes struts of clients in the exclude List.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">excludes</td><td>the list of clients whose struts will be excluded </td></tr>
    <tr><td class="paramname">desktop</td><td>the number of the desktop to check, -1 for the current desktop </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the size and position of the desktop </dd></dl>

</div>
</div>
<a class="anchor" id="a66002d73f63710fb87bc9ada141f2380"></a><!-- doxytag: member="KWinModule::workAreaChanged" ref="a66002d73f63710fb87bc9ada141f2380" 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>)</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The workarea has changed. </p>

</div>
</div>
<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></li>
</ul>
</div>
    </div></div>


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


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

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


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

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

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

</body>
</html>