[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: qt-copy updated
From:       Simon Hausmann <hausmann () kde ! org>
Date:       2001-08-29 16:21:10
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic