summaryrefslogtreecommitdiffstats
path: root/src/kernel/qnamespace.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/qnamespace.h')
-rw-r--r--src/kernel/qnamespace.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/kernel/qnamespace.h b/src/kernel/qnamespace.h
index 1598785..2201a3d 100644
--- a/src/kernel/qnamespace.h
+++ b/src/kernel/qnamespace.h
@@ -168,6 +168,28 @@ public:
WState_HasMouse = 0x00800000
};
+ // NetWM flags; documented in qwidget.cpp
+ typedef uint NFlags;
+
+ // documented in qwidget.cpp
+ enum NETWMFlags {
+#if defined(Q_WS_X11)
+ WX11DisableMove = 0x00000001,
+ WX11DisableClose = 0x00000002,
+ WX11DisableResize = 0x00000004,
+ WX11DisableMinimize = 0x00000008,
+ WX11DisableMaximize = 0x00000010,
+ WX11DisableShade = 0x00000020
+#else
+ WX11DisableMove = 0x00000000,
+ WX11DisableClose = 0x00000000,
+ WX11DisableResize = 0x00000000,
+ WX11DisableMinimize = 0x00000000,
+ WX11DisableMaximize = 0x00000000,
+ WX11DisableShade = 0x00000000
+#endif
+ };
+
// Widget flags2; documented in qwidget.cpp
typedef uint WFlags;