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

List:       kde-devel
Subject:    Re: slotError and QString
From:       Waldo Bastian <bastian () ens ! ascom ! ch>
Date:       1999-06-28 8:28:11
[Download RAW message or body]

Alex Zepeda wrote:
> 
> On Fri, 25 Jun 1999, Hans Petter Bieker wrote:
> 
> > Just wondering... Are there some special reasons why
> > IOJob::slotError(int, const char*) etc haven't been renamed to
> > IOJob::slotError(int, const QString&) or something like that?
> 
> Sure.  Because very little if anything is gained by using QStrings
> throughout.  With slotError specifically, the data is guaranteed 
> to be 8bit ASCII (there's no real reason for Unicode), so, 
> QStrings are a loss.

For the sake of consistency I would prefer to use QString there as
well and pay the loss.

Cheers,
Waldo
-- 
KDE, A New Millennium, A New Desktop                      http://www.kde.org

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

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