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

List:       kde-core-devel
Subject:    Re: Translation in Qt5
From:       Oswald Buddenhagen <ossi () kde ! org>
Date:       2011-07-03 14:45:47
Message-ID: 20110703144547.GB19744 () ugly ! local
[Download RAW message or body]

On Sun, Jul 03, 2011 at 03:32:44PM +0200, Chusslove Illich wrote:
> [Michael Olbrich's response:]
> No implicit conversion. That just asks for trouble. You don't know whether
> the QString stored in the QVariant is before or after the arguments are
> passed. If its before you would loose [KLocalizedString]'s functionality
> without any warning.
> 
that doesn't convince me.
1) one can postulate that QLocalizedString should be only used
implicitly. so, "of course it is after argument processing".
2) alternatively, one could properly support it in QVariant. then the
implicit conversion should not kick in, i think?

the other issues seem to be either academic or obsolete due to changes
(implicit constructors).

note that qt has implicit QString conversion from QStringBuilder, too -
if you don't even know what that is, i made a point. :D
[prev in list] [next in list] [prev in thread] [next in thread] 

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