kcommondecoration.h
124 DB_ButtonHide
165 virtual int layoutMetric(LayoutMetric lm, bool respectWindowState = true, const KCommonDecorationButton *button = 0) const;
308 ManualReset = 1 << 0,
309 SizeChange = 1 << 1,
310 ToggleChange = 1 << 2,
311 StateChange = 1 << 3,
312 IconChange = 1 << 4,
313 DecorationReset = 1 << 5
virtual void captionChange()=0
This function is called whenever the caption changes.
Title bar buttons of KCommonDecoration need to inherit this class.
Definition: kcommondecoration.h:292
virtual void activeChange()=0
This function is called whenever the window either becomes or stops being active. ...
virtual TQSize minimumSize() const =0
This function should return the minimum required size for the decoration.
virtual void maximizeChange()=0
This function is called whenever the maximalization state of the window changes.
ButtonState lastMousePress() const
The mouse button that has been clicked last time.
Definition: kcommondecoration.h:349
virtual void reset(unsigned long changed)
This function is called to reset the decoration on settings changes.
Definition: kdecoration.cpp:317
virtual void reset(unsigned long changed)
Handles SettingButtons, call the base implementation when subclassing this member.
Definition: kcommondecoration.cpp:131
virtual void desktopChange()=0
This function is called whenever the desktop for the window changes.
virtual void init()=0
This function is called immediately after the decoration object is created.
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.
This class eases development of decorations by implementing parts of KDecoration which are error pron...
Definition: kcommondecoration.h:59
virtual void resize(const TQSize &s)=0
This method is called by twin when the style should resize the decoration window. ...
virtual void shadeChange()=0
This function is called whenever the window is shaded or unshaded.
virtual void iconChange()=0
This function is called whenever the window icon changes.
virtual Position mousePosition(const TQPoint &p) const =0
This function should return mouse cursor position in the decoration.
Definition: kdecoration.cpp:331
Close window on double clicking the menu.
Definition: kcommondecoration.h:122