diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-26 16:34:00 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-26 16:34:00 -0600 |
commit | 0eb9f5e217225129b22de1a48fe7300723456da3 (patch) | |
tree | ede5a4dd39476960a1f113a323b34b613cf07987 /src/kernel/qwidget.cpp | |
parent | 336d563830cd5f9f1f9abdce20db839d06431168 (diff) | |
download | qt3-0eb9f5e217225129b22de1a48fe7300723456da3.tar.gz qt3-0eb9f5e217225129b22de1a48fe7300723456da3.zip |
Add NetWM/Motif controls to QWidget
This must break binary compatibility, so version was also bumped to 3.4.0
Diffstat (limited to 'src/kernel/qwidget.cpp')
-rw-r--r-- | src/kernel/qwidget.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/kernel/qwidget.cpp b/src/kernel/qwidget.cpp index 856907c..65aabb4 100644 --- a/src/kernel/qwidget.cpp +++ b/src/kernel/qwidget.cpp @@ -776,6 +776,25 @@ QSize qt_naturalWidgetSize( QWidget *w ) { */ /*! + \enum Qt::NETWMFlags + + \keyword NETWM flag + + This enum type is used to specify various NETWM properties + under X11 and similar systems. + + The main types are + + \value WX11DisableMove + \value WX11DisableClose + \value WX11DisableResize + \value WX11DisableMinimize + \value WX11DisableMaximize + \value WX11DisableShade + +*/ + +/*! \enum Qt::WidgetState Internal flags. @@ -874,6 +893,7 @@ QWidget::QWidget( QWidget *parent, const char *name, WFlags f ) winid = 0; // default attributes widget_state = 0; widget_flags = f; + netwm_flags = 0; focus_policy = 0; own_font = 0; own_palette = 0; |