kwin Library API Documentation

KWMTheme::KWMThemeFactory Class Reference

Inheritance diagram for KWMTheme::KWMThemeFactory:

Inheritance graph
[legend]
Collaboration diagram for KWMTheme::KWMThemeFactory:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 KWMThemeFactory ()
 ~KWMThemeFactory ()
KDecorationcreateDecoration (KDecorationBridge *b)
bool reset (unsigned long mask)

Detailed Description

Definition at line 62 of file kwmthemeclient.h.


Member Function Documentation

KDecoration * KWMTheme::KWMThemeFactory::createDecoration KDecorationBridge *  b  )  [virtual]
 

This function must be reimplemented to create decoration objects.

The argument should be passed to the KDecoration constructor, the second KDecoration argument should be this factory object.

Implements KDecorationFactory.

Definition at line 901 of file kwmthemeclient.cpp.

bool KWMTheme::KWMThemeFactory::reset unsigned long  mask  )  [virtual]
 

This function is called when the configuration settings changed.

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 resetDecorations() can be called to reset all decoration objects. Note that true should be returned only when really necessary.

Reimplemented from KDecorationFactory.

Definition at line 906 of file kwmthemeclient.cpp.

References KWMTheme::create_pixmaps(), KWMTheme::delete_pixmaps(), KDecorationFactory::resetDecorations(), KDecorationDefines::SettingButtons, KDecorationDefines::SettingColors, and KDecorationDefines::SettingFont.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kwin Library Version 3.4.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Jun 14 19:06:58 2006 by doxygen 1.4.4 written by Dimitri van Heesch, © 1997-2003