Sophie

Sophie

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

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: Laptop::LaptopClientFactory 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="namespaceLaptop.html">Laptop</a>::<a class="el" href="classLaptop_1_1LaptopClientFactory.html">LaptopClientFactory</a></div>
<h1>Laptop::LaptopClientFactory Class Reference</h1><!-- doxytag: class="Laptop::LaptopClientFactory" --><!-- doxytag: inherits="QObject,KDecorationFactory" -->Inheritance diagram for Laptop::LaptopClientFactory:<p><center><img src="classLaptop_1_1LaptopClientFactory__inherit__graph.png" border="0" usemap="#Laptop_1_1LaptopClientFactory__inherit__map" alt="Inheritance graph"></center>
<map name="Laptop_1_1LaptopClientFactory__inherit__map">
<area href="classKDecorationFactory.html" shape="rect" coords="33,82,171,109" alt="">
<area href="classKDecorationDefines.html" shape="rect" coords="31,8,173,34" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for Laptop::LaptopClientFactory:<p><center><img src="classLaptop_1_1LaptopClientFactory__coll__graph.png" border="0" usemap="#Laptop_1_1LaptopClientFactory__coll__map" alt="Collaboration graph"></center>
<map name="Laptop_1_1LaptopClientFactory__coll__map">
<area href="classKDecorationFactory.html" shape="rect" coords="33,82,171,109" alt="">
<area href="classKDecorationDefines.html" shape="rect" coords="31,8,173,34" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classLaptop_1_1LaptopClientFactory-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="Laptop::LaptopClientFactory::LaptopClientFactory" ref="a0" args="()" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLaptop_1_1LaptopClientFactory.html#a0">LaptopClientFactory</a> ()</td></tr>

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

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classKDecoration.html">KDecoration</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLaptop_1_1LaptopClientFactory.html#a2">createDecoration</a> (KDecorationBridge *)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLaptop_1_1LaptopClientFactory.html#a3">reset</a> (unsigned long changed)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a4"></a><!-- doxytag: member="Laptop::LaptopClientFactory::supports" ref="a4" args="(Ability ability)" -->
virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLaptop_1_1LaptopClientFactory.html#a4">supports</a> (<a class="el" href="classKDecorationDefines.html#w76">Ability</a> ability)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual QValueList&lt; <a class="el" href="classKDecorationDefines.html#w75">BorderSize</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLaptop_1_1LaptopClientFactory.html#a5">borderSizes</a> () const </td></tr>

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

<p>

<p>
Definition at line <a class="el" href="laptopclient_8h-source.html#l00104">104</a> of file <a class="el" href="laptopclient_8h-source.html">laptopclient.h</a>.<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="a2"></a><!-- doxytag: member="Laptop::LaptopClientFactory::createDecoration" ref="a2" args="(KDecorationBridge *)" --><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="classKDecoration.html">KDecoration</a> * Laptop::LaptopClientFactory::createDecoration           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">KDecorationBridge *&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 must be reimplemented to create decoration objects. 
<p>
The argument should be passed to the <a class="el" href="classKDecoration.html">KDecoration</a> constructor, the second <a class="el" href="classKDecoration.html">KDecoration</a> argument should be this factory object.
<p>
Implements <a class="el" href="classKDecorationFactory.html#a2">KDecorationFactory</a>.
<p>
Definition at line <a class="el" href="laptopclient_8cpp-source.html#l00890">890</a> of file <a class="el" href="laptopclient_8cpp-source.html">laptopclient.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a3"></a><!-- doxytag: member="Laptop::LaptopClientFactory::reset" ref="a3" args="(unsigned long changed)" --><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">bool Laptop::LaptopClientFactory::reset           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">unsigned long&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>changed</em>          </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 when the configuration settings changed. 
<p>
The argument specifies what has changed, using the SettingXXX masks. It should be determined whether the decorations need to be completely remade, in which case true should be returned, or whether only e.g. a repaint will be sufficient, in which case false should be returned, and <a class="el" href="classKDecorationFactory.html#b0">resetDecorations()</a> can be called to reset all decoration objects. Note that true should be returned only when really necessary.
<p>
Reimplemented from <a class="el" href="classKDecorationFactory.html#a3">KDecorationFactory</a>.
<p>
Definition at line <a class="el" href="laptopclient_8cpp-source.html#l00896">896</a> of file <a class="el" href="laptopclient_8cpp-source.html">laptopclient.cpp</a>.
<p>
References <a class="el" href="laptopclient_8cpp-source.html#l00111">Laptop::create_pixmaps()</a>, and <a class="el" href="laptopclient_8cpp-source.html#l00236">Laptop::delete_pixmaps()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a5"></a><!-- doxytag: member="Laptop::LaptopClientFactory::borderSizes" ref="a5" 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">QValueList&lt; <a class="el" href="classKDecorationDefines.html#w75">LaptopClientFactory::BorderSize</a> &gt; Laptop::LaptopClientFactory::borderSizes           </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> [virtual]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Reimplement this function if your decoration supports more border sizes than the default one (BorderNormal). 
<p>
The returned list must contain all supported sizes, ordered from the smallest to the largest one. By default, only BorderNormal is returned.
<p>
Reimplemented from <a class="el" href="classKDecorationFactory.html#a4">KDecorationFactory</a>.
<p>
Definition at line <a class="el" href="laptopclient_8cpp-source.html#l00925">925</a> of file <a class="el" href="laptopclient_8cpp-source.html">laptopclient.cpp</a>.
<p>
References <a class="el" href="classKDecorationDefines.html#w75w52">KDecorationDefines::BorderHuge</a>, <a class="el" href="classKDecorationDefines.html#w75w50">KDecorationDefines::BorderLarge</a>, <a class="el" href="classKDecorationDefines.html#w75w49">KDecorationDefines::BorderNormal</a>, <a class="el" href="classKDecorationDefines.html#w75w54">KDecorationDefines::BorderOversized</a>, <a class="el" href="classKDecorationDefines.html#w75w53">KDecorationDefines::BorderVeryHuge</a>, and <a class="el" href="classKDecorationDefines.html#w75w51">KDecorationDefines::BorderVeryLarge</a>.    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="laptopclient_8h-source.html">laptopclient.h</a><li><a class="el" href="laptopclient_8cpp-source.html">laptopclient.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:00 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>