KWinPlastik::PlastikHandler Class Reference
Inheritance diagram for KWinPlastik::PlastikHandler:

Public Member Functions | |
PlastikHandler () | |
~PlastikHandler () | |
virtual bool | reset (unsigned long changed) |
virtual KDecoration * | createDecoration (KDecorationBridge *) |
virtual bool | supports (Ability ability) |
QValueList< PlastikHandler::BorderSize > | borderSizes () const |
Static Public Member Functions | |
static bool | initialized () |
static int | titleHeight () |
static int | titleHeightTool () |
static QFont | titleFont () |
static QFont | titleFontTool () |
static bool | titleShadow () |
static int | borderSize () |
static bool | animateButtons () |
static bool | menuClose () |
static Qt::AlignmentFlags | titleAlign () |
static bool | reverseLayout () |
static QColor | getColor (KWinPlastik::ColorType type, const bool active=true) |
Detailed Description
Definition at line 59 of file plastik.h.
Member Function Documentation
|
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 58 of file plastik.cpp. References KDecorationDefines::BorderHuge, KDecorationDefines::BorderLarge, KDecorationDefines::BorderNormal, KDecorationDefines::BorderOversized, KDecorationDefines::BorderTiny, KDecorationDefines::BorderVeryHuge, KDecorationDefines::BorderVeryLarge, KDecorationOptions::font(), KDecoration::options(), KDecorationOptions::preferredBorderSize(), KDecorationFactory::resetDecorations(), QApplication::reverseLayout(), KDecorationDefines::SettingColors, and KDecorationDefines::SettingFont. Referenced by PlastikHandler(). |
|
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 114 of file plastik.cpp. |
|
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 204 of file plastik.cpp. References KDecorationDefines::BorderHuge, KDecorationDefines::BorderLarge, KDecorationDefines::BorderNormal, KDecorationDefines::BorderOversized, KDecorationDefines::BorderTiny, KDecorationDefines::BorderVeryHuge, and KDecorationDefines::BorderVeryLarge. |
The documentation for this class was generated from the following files: