kdecoration.h
71 MaximizeRestore = 0,
72 MaximizeVertical = 1,
73 MaximizeHorizontal = 2,
76 };
94 ToggleStoreSettingsOp = WindowRulesOp,
106 };
129 SettingDecoration = 1 << 0,
130 SettingColors = 1 << 1,
131 SettingFont = 1 << 2,
132 SettingButtons = 1 << 3,
133 SettingTooltips = 1 << 4,
135 };
159 AbilityAnnounceButtons = 0,
160 AbilityButtonMenu = 1000,
161 AbilityButtonOnAllDesktops = 1001,
162 AbilityButtonSpacer = 1002,
163 AbilityButtonHelp = 1003,
164 AbilityButtonMinimize = 1004,
165 AbilityButtonMaximize = 1005,
166 AbilityButtonClose = 1006,
167 AbilityButtonAboveOthers = 1007,
168 AbilityButtonBelowOthers = 1008,
169 AbilityButtonShade = 1009,
170 AbilityButtonResize = 1010,
843 KDecorationDefines::MaximizeMode operator^( KDecorationDefines::MaximizeMode m1, KDecorationDefines::MaximizeMode m2 )
849 KDecorationDefines::MaximizeMode operator&( KDecorationDefines::MaximizeMode m1, KDecorationDefines::MaximizeMode m2 )
855 KDecorationDefines::MaximizeMode operator|( KDecorationDefines::MaximizeMode m1, KDecorationDefines::MaximizeMode m2 )
This class provides a namespace for all decoration related classes.
Definition: kdecoration.h:48
ColorType
Basic color types that should be recognized by all decoration styles.
Definition: kdecoration.h:113
This class holds various configuration settings for the decoration.
Definition: kdecoration.h:191
virtual void iconChange()=0
This function is called whenever the window icon changes.
virtual void desktopChange()=0
This function is called whenever the desktop for the window changes.
virtual void resize(const TQSize &s)=0
This method is called by twin when the style should resize the decoration window.
virtual void init()=0
This function is called immediately after the decoration object is created.
virtual void captionChange()=0
This function is called whenever the caption changes.
int height() const
Convenience function that returns the height of the decoration.
Definition: kdecoration.h:885
KDecorationFactory * factory() const
Returns the factory that created this decoration.
Definition: kdecoration.h:870
virtual void shadeChange()=0
This function is called whenever the window is shaded or unshaded.
virtual void maximizeChange()=0
This function is called whenever the maximalization state of the window changes.
virtual void activeChange()=0
This function is called whenever the window either becomes or stops being active.
int desktop() const
Returns the number of the virtual desktop the decorated window is currently on (including NET::OnAllD...
Definition: kdecoration.cpp:114
void keepBelowChanged(bool)
This signal is emitted whenever the window's keep-below state changes.
void keepAboveChanged(bool)
This signal is emitted whenever the window's keep-above state changes.
bool isOnAllDesktops() const
Convenience function that returns true if the window is on all virtual desktops.
Definition: kdecoration.h:875
int width() const
Convenience function that returns the width of the decoration.
Definition: kdecoration.h:880
virtual void borders(int &left, int &right, int &top, int &bottom) const =0
This function should return the distance from each window side to the inner window.
virtual TQSize minimumSize() const =0
This function should return the minimum required size for the decoration.