kwin Library API Documentation

Keramik::KeramikHandler Class Reference

Inheritance diagram for Keramik::KeramikHandler:

Inheritance graph
[legend]
Collaboration diagram for Keramik::KeramikHandler:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 KeramikHandler ()
 ~KeramikHandler ()
virtual QValueList< BorderSizeborderSizes () const
virtual bool reset (unsigned long changed)
virtual KDecorationcreateDecoration (KDecorationBridge *)
virtual bool supports (Ability ability)
bool showAppIcons () const
bool useShadowedText () const
bool largeCaptionBubbles () const
int titleBarHeight (bool large) const
int grabBarHeight () const
const QPixmap * roundButton () const
const QPixmap * squareButton () const
const QBitmap * buttonDeco (ButtonDeco deco) const
const QPixmap * tile (TilePixmap tilePix, bool active) const

Detailed Description

Definition at line 57 of file keramik.h.


Member Function Documentation

QValueList< KeramikHandler::BorderSize > Keramik::KeramikHandler::borderSizes  )  const [virtual]
 

Reimplement this function if your decoration supports more border sizes than the default one (BorderNormal).

The returned list must contain all supported sizes, ordered from the smallest to the largest one. By default, only BorderNormal is returned.

Reimplemented from KDecorationFactory.

Definition at line 745 of file keramik.cpp.

References KDecorationDefines::BorderHuge, KDecorationDefines::BorderLarge, KDecorationDefines::BorderNormal, KDecorationDefines::BorderOversized, KDecorationDefines::BorderVeryHuge, and KDecorationDefines::BorderVeryLarge.

bool Keramik::KeramikHandler::reset unsigned long  changed  )  [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 649 of file keramik.cpp.

References Keramik::keramik_initialized, Keramik::SettingsCache::largeGrabBars, KDecorationFactory::resetDecorations(), KDecorationDefines::SettingBorder, KDecorationDefines::SettingButtons, KDecorationDefines::SettingColors, KDecorationDefines::SettingFont, KDecorationDefines::SettingTooltips, and Keramik::SettingsCache::smallCaptionBubbles.

KDecoration * Keramik::KeramikHandler::createDecoration KDecorationBridge *   )  [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 740 of file keramik.cpp.


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.3.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Jun 14 01:54:24 2006 by doxygen 1.4.4 written by Dimitri van Heesch, © 1997-2003