14 #include <kdecoration_p.h>
16 namespace KWinInternal
21 class Bridge :
public KDecorationBridge
27 virtual bool isActive()
const;
28 virtual bool isCloseable()
const;
29 virtual bool isMaximizable()
const;
30 virtual MaximizeMode maximizeMode()
const;
31 virtual bool isMinimizable()
const;
32 virtual bool providesContextHelp()
const;
33 virtual int desktop()
const;
34 virtual bool isModal()
const;
35 virtual bool isShadeable()
const;
36 virtual bool isShade()
const;
37 virtual bool isSetShade()
const;
38 virtual bool keepAbove()
const;
39 virtual bool keepBelow()
const;
40 virtual bool isMovable()
const;
41 virtual bool isResizable()
const;
42 virtual NET::WindowType windowType(
unsigned long supported_types )
const;
43 virtual TQIconSet icon()
const;
44 virtual TQString caption()
const;
45 virtual void processMousePressEvent( TQMouseEvent* );
46 virtual void showWindowMenu( TQPoint );
47 virtual void showWindowMenu(
const TQRect & );
48 virtual void performWindowOperation( WindowOperation );
49 virtual void setMask(
const TQRegion&,
int );
50 virtual bool isPreview()
const;
51 virtual TQRect geometry()
const;
52 virtual TQRect iconGeometry()
const;
53 virtual TQRegion unobscuredRegion(
const TQRegion& r )
const;
54 virtual TQWidget* workspaceWidget()
const;
55 virtual WId windowId()
const;
56 virtual void closeWindow();
57 virtual void maximize( MaximizeMode mode );
58 virtual void minimize();
59 virtual void showContextHelp();
60 virtual void setDesktop(
int desktop );
61 virtual void titlebarDblClickOperation();
62 virtual void titlebarMouseWheelOperation(
int delta );
63 virtual void setShade(
bool set );
64 virtual void setKeepAbove(
bool );
65 virtual void setKeepBelow(
bool );
66 virtual int currentDesktop()
const;
67 virtual TQWidget* initialParentWidget()
const;
68 virtual TQt::WFlags initialWFlags()
const;
69 virtual void helperShowHide(
bool show );
70 virtual void grabXServer(
bool grab );