i18n

Jordi kde-optimize@mail.kde.org
Wed, 5 Feb 2003 14:53:40 +0100


> > As long as a previous thread in this list stated that QString is not the
> > most efficient thing in memory and CPU, why don't make i18n return a
> > QConstString instead of a QString? I think is a very used function all
> > over KDE.
> >
> > Maybe is needed that the .arg() will make the QConstString QString in
> > order to add it the data. But _lots_ of text of KDE don't have .arg() ,
> > so it will be a gain ,no?
>
>  So, why don't you try it? But given that .po texts are in utf8 AFAIK, and
> therefore need to converted anyway, I fail to see the advantage of using
> QConstString.

Why need to be converted ?
>From qt manual:
The QConstString class provides string objects using constant Unicode data. 

--
Jordi Polo
Http://development.bluesock.net