KWinDecorationLibrary
kdecorationfactory.cpp
Go to the documentation of this file.
70 return options()->titleButtonsLeft().contains(DecorationButtonClose) ? Qt::TopLeftCorner : Qt::TopRightCorner;
88 NET::WindowType KDecorationFactory::windowType(unsigned long supported_types, KDecorationBridge* bridge) const
bool exists(const KDecoration *deco) const
Returns true if the given decoration object still exists.
Definition: kdecorationfactory.cpp:61
virtual QList< BorderSize > borderSizes() const
Reimplement this function if your decoration supports more border sizes than the default one (BorderN...
Definition: kdecorationfactory.cpp:56
Bridge class for communicating between decorations and KWin core.
Definition: kdecorationbridge.h:37
virtual void checkRequirements(KDecorationProvides *provides)
Definition: kdecorationfactory.cpp:52
const KDecorationOptions * options()
Returns the KDecorationOptions object, which is used to access configuration settings for the decorat...
Definition: kdecorationfactory.cpp:93
void removeDecoration(KDecoration *)
Definition: kdecorationfactory.cpp:83
NET::WindowType windowType(unsigned long supported_types, KDecorationBridge *bridge) const
This function has the same functionality like KDecoration::windowType().
Definition: kdecorationfactory.cpp:88
Definition: kdecoration.h:296
Qt::Corner closeButtonCorner()
Set & get the position of the close button - most decorations don't have to call this ever...
Definition: kdecorationfactory.cpp:66
void setCloseButtonCorner(Qt::Corner cnr)
Definition: kdecorationfactory.cpp:73
bool contains(const T &value) const
Standard size borders, the default setting.
Definition: kdecoration.h:187
void addDecoration(KDecoration *)
Definition: kdecorationfactory.cpp:78
virtual NET::WindowType windowType(unsigned long supported_types) const =0
This class holds various configuration settings for the decoration.
Definition: kdecoration.h:309
QList< DecorationButton > titleButtonsLeft() const
If customButtonPositions() returns true, titleButtonsLeft returns which buttons should be on the left...
Definition: kdecoration.cpp:699
This file is part of the KDE documentation.
Documentation copyright © 1996-2019 The KDE developers.
Generated on Mon Dec 9 2019 01:34:56 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2019 The KDE developers.
Generated on Mon Dec 9 2019 01:34:56 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.