On Wed, Aug 29, 2001 at 06:14:11PM +0200, Bradley T Hughes wrote: > On Wednesday 29 August 2001 17:47, Simon Hausmann wrote: > > On Wed, Aug 29, 2001 at 10:27:45AM -0500, Scott Manson wrote: > > > We also have to decide on a "substitute" QWidget::GUIStyle() as this > > > is depreciated. > > > > I think it is safe to remove any code checking for > > style().guiStyle() == Windows . guiStyle() == Windows is never > > fullfilled on Qt/X11, as far as I can see (see #ifdef in qstyle.cpp in > > qt2) . So it seems safe to go for the motif variant, always. > > This is not correct. The default for X11 is Motif, but if you explicitly > use Windows/Platinum style (or another Windows style derivative), then the > GUI style enum would be set to WindowsStyle. Ooops, I indeed missed the windows style calling the other style constructor %-} So is inherits( "QWindowsStyle" ) a valid replacement then? Simon