Sophie

Sophie

distrib > Mandriva > 2006.0 > x86_64 > by-pkgid > d0c58635c3fcc548e9b6ce88c8980028 > files > 1239

lib64kdebase4-devel-3.4.2-55.5.20060mdk.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
  <title>kwin Library: ModernSystem::ModernSys Class Reference (kwin Library)</title>
  <link href="../../common/doxygen.css" rel="stylesheet" type="text/css">
</head>
<div class="header">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td rowspan="2" width="92">
<a href="../../index.html" title="The API documentation main page"><img src="../../common/docheadergears.png" style="border:0px;" alt=""></a>
</td>
<td width="95%">
<h1>kwin Library API Documentation</h1>
</td>
</tr>
<tr>
<td valign="bottom">
<table class="links" border=0 cellspacing=0>
<tr>
<td><a href="index.html">Overview</a></td>
<td><a href="hierarchy.html" title="Inheritance list, sorted roughly  alphabetically">Class&nbsp;Hierarchy</a></td>
<td><a href="classes.html" title="Alphabetical list of classes">Classes</a></td>
<td><a href="annotated.html" title="Classes, structs, unions and interfaces with brief descriptions">Classes&nbsp;(annotated)</a></td>
<td><a href="functions.html" title="Documented class members with links to the classes they belong to">Members</a></td>
<td><a href="namespaces.html" title="All documented namespaces with brief descriptions">Namespaces</a></td>
<td><a href="files.html" title="A list of all documented files with brief descriptions">Source&nbsp;Files</a></td>
</tr>
</table>
</td></tr></table>
</div>
<div id="hgrad"></div>
<div class="text">
<!-- Generated by Doxygen 1.4.4 -->
<div class="nav">
<a class="el" href="namespaceModernSystem.html">ModernSystem</a>::<a class="el" href="classModernSystem_1_1ModernSys.html">ModernSys</a></div>
<h1>ModernSystem::ModernSys Class Reference</h1><!-- doxytag: class="ModernSystem::ModernSys" --><!-- doxytag: inherits="KDecoration" -->Inheritance diagram for ModernSystem::ModernSys:<p><center><img src="classModernSystem_1_1ModernSys__inherit__graph.png" border="0" usemap="#ModernSystem_1_1ModernSys__inherit__map" alt="Inheritance graph"></center>
<map name="ModernSystem_1_1ModernSys__inherit__map">
<area href="classKDecoration.html" shape="rect" coords="53,82,149,109" alt="">
<area href="classKDecorationDefines.html" shape="rect" coords="30,8,172,34" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for ModernSystem::ModernSys:<p><center><img src="classModernSystem_1_1ModernSys__coll__graph.png" border="0" usemap="#ModernSystem_1_1ModernSys__coll__map" alt="Collaboration graph"></center>
<map name="ModernSystem_1_1ModernSys__coll__map">
<area href="classModernSystem_1_1ModernButton.html" shape="rect" coords="28,344,230,370" alt="">
<area href="classKDecoration.html" shape="rect" coords="81,176,177,202" alt="">
<area href="classKDecorationDefines.html" shape="rect" coords="58,8,200,34" alt="">
<area href="classKDecorationOptions.html" shape="rect" coords="58,85,200,112" alt="">
<area href="classKDecorationFactory.html" shape="rect" coords="224,85,362,112" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classModernSystem_1_1ModernSys-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a0"></a><!-- doxytag: member="ModernSystem::ModernSys::ModernSys" ref="a0" args="(KDecorationBridge *b, KDecorationFactory *f)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classModernSystem_1_1ModernSys.html#a0">ModernSys</a> (KDecorationBridge *b, <a class="el" href="classKDecorationFactory.html">KDecorationFactory</a> *f)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a1"></a><!-- doxytag: member="ModernSystem::ModernSys::~ModernSys" ref="a1" args="()" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classModernSystem_1_1ModernSys.html#a1">~ModernSys</a> ()</td></tr>

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

<tr><td colspan="2"><br><h2>Protected Slots</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="j0"></a><!-- doxytag: member="ModernSystem::ModernSys::maxButtonClicked" ref="j0" args="()" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classModernSystem_1_1ModernSys.html#j0">maxButtonClicked</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="j1"></a><!-- doxytag: member="ModernSystem::ModernSys::slotAbove" ref="j1" args="()" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classModernSystem_1_1ModernSys.html#j1">slotAbove</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="j2"></a><!-- doxytag: member="ModernSystem::ModernSys::slotBelow" ref="j2" args="()" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classModernSystem_1_1ModernSys.html#j2">slotBelow</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="j3"></a><!-- doxytag: member="ModernSystem::ModernSys::slotShade" ref="j3" args="()" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classModernSystem_1_1ModernSys.html#j3">slotShade</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="j4"></a><!-- doxytag: member="ModernSystem::ModernSys::keepAboveChange" ref="j4" args="(bool)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classModernSystem_1_1ModernSys.html#j4">keepAboveChange</a> (bool)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="j5"></a><!-- doxytag: member="ModernSystem::ModernSys::keepBelowChange" ref="j5" args="(bool)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classModernSystem_1_1ModernSys.html#j5">keepBelowChange</a> (bool)</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="b0"></a><!-- doxytag: member="ModernSystem::ModernSys::eventFilter" ref="b0" args="(QObject *o, QEvent *e)" -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classModernSystem_1_1ModernSys.html#b0">eventFilter</a> (QObject *o, QEvent *e)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b1"></a><!-- doxytag: member="ModernSystem::ModernSys::drawRoundFrame" ref="b1" args="(QPainter &amp;p, int x, int y, int w, int h)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classModernSystem_1_1ModernSys.html#b1">drawRoundFrame</a> (QPainter &amp;p, int x, int y, int w, int h)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b2"></a><!-- doxytag: member="ModernSystem::ModernSys::resizeEvent" ref="b2" args="(QResizeEvent *)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classModernSystem_1_1ModernSys.html#b2">resizeEvent</a> (QResizeEvent *)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b3"></a><!-- doxytag: member="ModernSystem::ModernSys::paintEvent" ref="b3" args="(QPaintEvent *)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classModernSystem_1_1ModernSys.html#b3">paintEvent</a> (QPaintEvent *)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b4"></a><!-- doxytag: member="ModernSystem::ModernSys::showEvent" ref="b4" args="(QShowEvent *)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classModernSystem_1_1ModernSys.html#b4">showEvent</a> (QShowEvent *)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b5"></a><!-- doxytag: member="ModernSystem::ModernSys::mouseDoubleClickEvent" ref="b5" args="(QMouseEvent *)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classModernSystem_1_1ModernSys.html#b5">mouseDoubleClickEvent</a> (QMouseEvent *)</td></tr>

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

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

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b8"></a><!-- doxytag: member="ModernSystem::ModernSys::doShape" ref="b8" args="()" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classModernSystem_1_1ModernSys.html#b8">doShape</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b9"></a><!-- doxytag: member="ModernSystem::ModernSys::recalcTitleBuffer" ref="b9" args="()" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classModernSystem_1_1ModernSys.html#b9">recalcTitleBuffer</a> ()</td></tr>

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

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classKDecorationDefines.html#w70">Position</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classModernSystem_1_1ModernSys.html#b11">mousePosition</a> (const QPoint &amp;) const </td></tr>

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

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

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

<tr><td class="memItemLeft" nowrap align="right" valign="top">QSize&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classModernSystem_1_1ModernSys.html#b15">minimumSize</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="classModernSystem_1_1ModernSys.html#b16">resize</a> (const QSize &amp;)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classModernSystem_1_1ModernSys.html#b17">borders</a> (int &amp;, int &amp;, int &amp;, int &amp;) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classModernSystem_1_1ModernSys.html#b18">reset</a> (unsigned long)</td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>

<p>

<p>
Definition at line <a class="el" href="modernsys_8h-source.html#l00043">43</a> of file <a class="el" href="modernsys_8h-source.html">modernsys.h</a>.<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="a2"></a><!-- doxytag: member="ModernSystem::ModernSys::init" ref="a2" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">void ModernSystem::ModernSys::init           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [virtual]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
This function is called immediately after the decoration object is created. 
<p>
Due to some technical reasons, initialization should be done here instead of in the constructor.
<p>
Implements <a class="el" href="classKDecoration.html#a35">KDecoration</a>.
<p>
Definition at line <a class="el" href="modernsys_8cpp-source.html#l00388">388</a> of file <a class="el" href="modernsys_8cpp-source.html">modernsys.cpp</a>.
<p>
References <a class="el" href="modernsys_8cpp-source.html#l00047">ModernSystem::above_off_bits</a>, <a class="el" href="modernsys_8cpp-source.html#l00050">ModernSystem::below_off_bits</a>, <a class="el" href="modernsys_8cpp-source.html#l00088">ModernSystem::border_width</a>, <a class="el" href="modernsys_8cpp-source.html#l00084">ModernSystem::button_pattern</a>, <a class="el" href="modernsys_8cpp-source.html#l00026">ModernSystem::close_bits</a>, <a class="el" href="kdecoration_8cpp-source.html#l00234">KDecoration::closeWindow()</a>, <a class="el" href="kdecoration_8cpp-source.html#l00060">KDecoration::createMainWidget()</a>, <a class="el" href="modernsys_8cpp-source.html#l00087">ModernSystem::handle_width</a>, <a class="el" href="modernsys_8cpp-source.html#l00023">ModernSystem::iconify_bits</a>, <a class="el" href="kdecoration_8cpp-source.html#l00089">KDecoration::isCloseable()</a>, <a class="el" href="kdecoration_8cpp-source.html#l00094">KDecoration::isMaximizable()</a>, <a class="el" href="kdecoration_8cpp-source.html#l00104">KDecoration::isMinimizable()</a>, <a class="el" href="kdecoration_8h-source.html#l00864">KDecoration::isOnAllDesktops()</a>, <a class="el" href="kdecoration_8cpp-source.html#l00204">KDecoration::isPreview()</a>, <a class="el" href="kdecoration_8cpp-source.html#l00134">KDecoration::isSetShade()</a>, <a class="el" href="kdecoration_8cpp-source.html#l00124">KDecoration::isShadeable()</a>, <a class="el" href="kdecoration_8cpp-source.html#l00139">KDecoration::keepAbove()</a>, <a class="el" href="modernsys_8cpp-source.html#l00732">keepAboveChange()</a>, <a class="el" href="classKDecoration.html#l0">KDecoration::keepAboveChanged()</a>, <a class="el" href="kdecoration_8cpp-source.html#l00144">KDecoration::keepBelow()</a>, <a class="el" href="modernsys_8cpp-source.html#l00740">keepBelowChange()</a>, <a class="el" href="classKDecoration.html#l1">KDecoration::keepBelowChanged()</a>, <a class="el" href="modernsys_8cpp-source.html#l00497">maxButtonClicked()</a>, <a class="el" href="modernsys_8cpp-source.html#l00029">ModernSystem::maximize_bits</a>, <a class="el" href="kdecoration_8cpp-source.html#l00249">KDecoration::minimize()</a>, <a class="el" href="kdecoration_8cpp-source.html#l00109">KDecoration::providesContextHelp()</a>, <a class="el" href="modernsys_8cpp-source.html#l00041">ModernSystem::question_bits</a>, <a class="el" href="modernsys_8cpp-source.html#l00535">recalcTitleBuffer()</a>, <a class="el" href="modernsys_8cpp-source.html#l00338">ModernSystem::ModernButton::setBitmap()</a>, <a class="el" href="modernsys_8cpp-source.html#l00056">ModernSystem::shade_off_bits</a>, <a class="el" href="kdecoration_8cpp-source.html#l00254">KDecoration::showContextHelp()</a>, <a class="el" href="modernsys_8cpp-source.html#l00504">slotAbove()</a>, <a class="el" href="modernsys_8cpp-source.html#l00514">slotBelow()</a>, <a class="el" href="modernsys_8cpp-source.html#l00524">slotShade()</a>, <a class="el" href="modernsys_8cpp-source.html#l00038">ModernSystem::sticky_bits</a>, <a class="el" href="modernsys_8cpp-source.html#l00089">ModernSystem::title_height</a>, <a class="el" href="kdecoration_8cpp-source.html#l00264">KDecoration::toggleOnAllDesktops()</a>, <a class="el" href="modernsys_8cpp-source.html#l00035">ModernSystem::unsticky_bits</a>, and <a class="el" href="kdecoration_8h-source.html#l00849">KDecoration::widget()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="b6"></a><!-- doxytag: member="ModernSystem::ModernSys::captionChange" ref="b6" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">void ModernSystem::ModernSys::captionChange           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [protected, virtual]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
This function is called whenever the caption changes. 
<p>
Use <a class="el" href="classKDecoration.html#a20">caption()</a> to get it.
<p>
Implements <a class="el" href="classKDecoration.html#a41">KDecoration</a>.
<p>
Definition at line <a class="el" href="modernsys_8cpp-source.html#l00579">579</a> of file <a class="el" href="modernsys_8cpp-source.html">modernsys.cpp</a>.
<p>
References <a class="el" href="modernsys_8cpp-source.html#l00535">recalcTitleBuffer()</a>, and <a class="el" href="kdecoration_8h-source.html#l00849">KDecoration::widget()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="b7"></a><!-- doxytag: member="ModernSystem::ModernSys::maximizeChange" ref="b7" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">void ModernSystem::ModernSys::maximizeChange           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [protected, virtual]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
This function is called whenever the maximalization state of the window changes. 
<p>
Use <a class="el" href="classKDecoration.html#a5">maximizeMode()</a> to get the current state.
<p>
Implements <a class="el" href="classKDecoration.html#a43">KDecoration</a>.
<p>
Definition at line <a class="el" href="modernsys_8cpp-source.html#l00717">717</a> of file <a class="el" href="modernsys_8cpp-source.html">modernsys.cpp</a>.
<p>
References <a class="el" href="modernsys_8cpp-source.html#l00029">ModernSystem::maximize_bits</a>, <a class="el" href="classKDecorationDefines.html#w71w12">KDecorationDefines::MaximizeFull</a>, <a class="el" href="kdecoration_8cpp-source.html#l00099">KDecoration::maximizeMode()</a>, <a class="el" href="modernsys_8cpp-source.html#l00032">ModernSystem::minmax_bits</a>, and <a class="el" href="modernsys_8cpp-source.html#l00338">ModernSystem::ModernButton::setBitmap()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="b10"></a><!-- doxytag: member="ModernSystem::ModernSys::activeChange" ref="b10" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">void ModernSystem::ModernSys::activeChange           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [protected, virtual]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
This function is called whenever the window either becomes or stops being active. 
<p>
Use <a class="el" href="classKDecoration.html#a2">isActive()</a> to find out the current state.
<p>
Implements <a class="el" href="classKDecoration.html#a40">KDecoration</a>.
<p>
Definition at line <a class="el" href="modernsys_8cpp-source.html#l00725">725</a> of file <a class="el" href="modernsys_8cpp-source.html">modernsys.cpp</a>.
<p>
References <a class="el" href="modernsys_8cpp-source.html#l00375">reset()</a>, and <a class="el" href="kdecoration_8h-source.html#l00849">KDecoration::widget()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="b11"></a><!-- doxytag: member="ModernSystem::ModernSys::mousePosition" ref="b11" args="(const QPoint &amp;) const " --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"><a class="el" href="classKDecorationDefines.html#w70">ModernSys::Position</a> ModernSystem::ModernSys::mousePosition           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const QPoint &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const<code> [protected, virtual]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
This function should return mouse cursor position in the decoration. 
<p>
Positions at the edge will result in window resizing with mouse button pressed, center position will result in moving.
<p>
Implements <a class="el" href="classKDecoration.html#a36">KDecoration</a>.
<p>
Definition at line <a class="el" href="modernsys_8cpp-source.html#l00749">749</a> of file <a class="el" href="modernsys_8cpp-source.html">modernsys.cpp</a>.
<p>
References <a class="el" href="modernsys_8cpp-source.html#l00088">ModernSystem::border_width</a>, <a class="el" href="modernsys_8cpp-source.html#l00087">ModernSystem::handle_width</a>, <a class="el" href="kdecoration_8h-source.html#l00874">KDecoration::height()</a>, <a class="el" href="kdecoration_8cpp-source.html#l00326">KDecoration::mousePosition()</a>, <a class="el" href="modernsys_8cpp-source.html#l00085">ModernSystem::show_handle</a>, and <a class="el" href="kdecoration_8h-source.html#l00869">KDecoration::width()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="b12"></a><!-- doxytag: member="ModernSystem::ModernSys::desktopChange" ref="b12" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">void ModernSystem::ModernSys::desktopChange           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [protected, virtual]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
This function is called whenever the desktop for the window changes. 
<p>
Use <a class="el" href="classKDecoration.html#a8">desktop()</a> or <a class="el" href="classKDecoration.html#a9">isOnAllDesktops()</a> to find out the current desktop on which the window is.
<p>
Implements <a class="el" href="classKDecoration.html#a44">KDecoration</a>.
<p>
Definition at line <a class="el" href="modernsys_8cpp-source.html#l00709">709</a> of file <a class="el" href="modernsys_8cpp-source.html">modernsys.cpp</a>.
<p>
References <a class="el" href="kdecoration_8h-source.html#l00864">KDecoration::isOnAllDesktops()</a>, <a class="el" href="modernsys_8cpp-source.html#l00338">ModernSystem::ModernButton::setBitmap()</a>, <a class="el" href="modernsys_8cpp-source.html#l00038">ModernSystem::sticky_bits</a>, and <a class="el" href="modernsys_8cpp-source.html#l00035">ModernSystem::unsticky_bits</a>.    </td>
  </tr>
</table>
<a class="anchor" name="b13"></a><!-- doxytag: member="ModernSystem::ModernSys::shadeChange" ref="b13" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">void ModernSystem::ModernSys::shadeChange           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [protected, virtual]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
This function is called whenever the window is shaded or unshaded. 
<p>
Use <a class="el" href="classKDecoration.html#a12">isShade()</a> to get the current state.
<p>
Implements <a class="el" href="classKDecoration.html#a45">KDecoration</a>.
<p>
Definition at line <a class="el" href="modernsys_8cpp-source.html#l00792">792</a> of file <a class="el" href="modernsys_8cpp-source.html">modernsys.cpp</a>.
<p>
References <a class="el" href="kdecoration_8cpp-source.html#l00134">KDecoration::isSetShade()</a>, <a class="el" href="modernsys_8cpp-source.html#l00338">ModernSystem::ModernButton::setBitmap()</a>, <a class="el" href="modernsys_8cpp-source.html#l00056">ModernSystem::shade_off_bits</a>, <a class="el" href="modernsys_8cpp-source.html#l00059">ModernSystem::shade_on_bits</a>, and <a class="el" href="modernsys_8cpp-source.html#l00327">ModernSystem::ModernButton::turnOn()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="b14"></a><!-- doxytag: member="ModernSystem::ModernSys::iconChange" ref="b14" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">void ModernSystem::ModernSys::iconChange           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [protected, virtual]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
This function is called whenever the window icon changes. 
<p>
Use <a class="el" href="classKDecoration.html#a19">icon()</a> to get it.
<p>
Implements <a class="el" href="classKDecoration.html#a42">KDecoration</a>.
<p>
Definition at line <a class="el" href="modernsys_8cpp-source.html#l00788">788</a> of file <a class="el" href="modernsys_8cpp-source.html">modernsys.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="b15"></a><!-- doxytag: member="ModernSystem::ModernSys::minimumSize" ref="b15" args="() const " --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">QSize ModernSystem::ModernSys::minimumSize           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const<code> [protected, virtual]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
This function should return the minimum required size for the decoration. 
<p>
Note that the returned size shouldn't be too large, because it will be used to keep the decorated window at least as large.
<p>
Implements <a class="el" href="classKDecoration.html#a39">KDecoration</a>.
<p>
Definition at line <a class="el" href="modernsys_8cpp-source.html#l00804">804</a> of file <a class="el" href="modernsys_8cpp-source.html">modernsys.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="b16"></a><!-- doxytag: member="ModernSystem::ModernSys::resize" ref="b16" args="(const QSize &amp;)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">void ModernSystem::ModernSys::resize           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const QSize &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [protected, virtual]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
This method is called by kwin when the style should resize the decoration window. 
<p>
The usual implementation is to resize the main widget of the decoration to the given size.<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>s</em>&nbsp;</td><td>Specifies the new size of the decoration window.</td></tr>
  </table>
</dl>

<p>
Implements <a class="el" href="classKDecoration.html#a38">KDecoration</a>.
<p>
Definition at line <a class="el" href="modernsys_8cpp-source.html#l00783">783</a> of file <a class="el" href="modernsys_8cpp-source.html">modernsys.cpp</a>.
<p>
References <a class="el" href="kdecoration_8h-source.html#l00849">KDecoration::widget()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="b17"></a><!-- doxytag: member="ModernSystem::ModernSys::borders" ref="b17" args="(int &amp;, int &amp;, int &amp;, int &amp;) const " --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">void ModernSystem::ModernSys::borders           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">int &amp;&nbsp;</td>
          <td class="mdname" nowrap>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>int &amp;&nbsp;</td>
          <td class="mdname" nowrap>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>int &amp;&nbsp;</td>
          <td class="mdname" nowrap>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>int &amp;&nbsp;</td>
          <td class="mdname" nowrap></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"> const<code> [protected, virtual]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
This function should return the distance from each window side to the inner window. 
<p>
The sizes may depend on the state of the decorated window, such as whether it's shaded. Decorations often turn off their bottom border when the window is shaded, and turn off their left/right/bottom borders when the window is maximized and moving and resizing of maximized windows is disabled. This function mustn't do any repaints or resizes. Also, if the sizes returned by this function don't match the real values, this may result in drawing errors or other problems.<p>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classKDecorationOptions.html#a10">KDecorationOptions::moveResizeMaximizedWindows()</a></dd></dl>

<p>
Implements <a class="el" href="classKDecoration.html#a37">KDecoration</a>.
<p>
Definition at line <a class="el" href="modernsys_8cpp-source.html#l00809">809</a> of file <a class="el" href="modernsys_8cpp-source.html">modernsys.cpp</a>.
<p>
References <a class="el" href="modernsys_8cpp-source.html#l00088">ModernSystem::border_width</a>, and <a class="el" href="modernsys_8cpp-source.html#l00087">ModernSystem::handle_width</a>.    </td>
  </tr>
</table>
<a class="anchor" name="b18"></a><!-- doxytag: member="ModernSystem::ModernSys::reset" ref="b18" args="(unsigned long)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">void ModernSystem::ModernSys::reset           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">unsigned&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>long</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [protected, virtual]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
This function is called to reset the decoration on settings changes. 
<p>
It is usually invoked by calling <a class="el" href="classKDecorationFactory.html#b0">KDecorationFactory::resetDecorations()</a>.<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>changed</em>&nbsp;</td><td>Specifies which settings were changed, given by the SettingXXX masks</td></tr>
  </table>
</dl>

<p>
Reimplemented from <a class="el" href="classKDecoration.html#a49">KDecoration</a>.
<p>
Definition at line <a class="el" href="modernsys_8cpp-source.html#l00375">375</a> of file <a class="el" href="modernsys_8cpp-source.html">modernsys.cpp</a>.
<p>
References <a class="el" href="modernsys_8cpp-source.html#l00535">recalcTitleBuffer()</a>, and <a class="el" href="kdecoration_8h-source.html#l00849">KDecoration::widget()</a>.
<p>
Referenced by <a class="el" href="modernsys_8cpp-source.html#l00725">activeChange()</a>.    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="modernsys_8h-source.html">modernsys.h</a><li><a class="el" href="modernsys_8cpp-source.html">modernsys.cpp</a></ul>
</div>
<div id="bottom-nav">
<img src="../../common/bottom2.png" align="right" height="59" width="227" alt="KDE Logo">
</div>
<div class="bottom">
This file is part of the documentation for kwin Library Version 3.4.2.
</div>
<div class="bottom" style="color:#cccccc">
Documentation copyright &copy; 1996-2004 the KDE developers.<br>
Generated on Wed Jun 14 19:07:02 2006 by
<a href="http://www.doxygen.org/index.html">doxygen</a> 1.4.4 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>, &copy;&nbsp;1997-2003
</div>
</body>
</html>