Translation in Qt5

Oswald Buddenhagen ossi at kde.org
Sun Jul 3 15:45:47 BST 2011


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




More information about the kde-core-devel mailing list