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

List:       kopete-devel
Subject:    Re: [Kopete-devel] patch, and other stuff
From:       Rob Kaper <cap () capsi ! com>
Date:       2002-05-05 17:04:14
[Download RAW message or body]

On Sunday 05 May 2002 18:00, Martijn Klingens wrote:
> On Sunday 05 May 2002 17:30, Andres Krapf wrote:
> > -       mBg = QColor();
> > -       mFg = QColor();
> > +       mBg = QColor(255,255,255);
> > +       mFg = QColor(0,0,0);
>
> Is there something like QColor::null ? I think that unless explicitly
> specified the colors should be used from the user's color scheme. Either
> you ask those, or use a null color (if it exists) to indicate 'use
> default'.

Yes, use QColor() in that case, because its isValid() method will return 
false.

Rob
-- 
Rob Kaper     | Gimme some love, gimme some skin,
cap@capsi.com | if we ain't got that then we ain't got much
www.capsi.com | and we ain't got nothing, nothing! -- "Nothing" by A
_______________________________________________
Kopete-devel mailing list
Kopete-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/kopete-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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