[Qt-interest] QString Versus QLatin1String

Thiago Macieira thiago.macieira at trolltech.com
Thu Dec 11 13:14:00 CET 2008


On Thursday 11 December 2008 12:54:05 Denton Vis wrote:
> Check this out:
> http://doc.trolltech.com/4.4/qlatin1string.html#details
>
> "SABROG" <sabrog at inbox.ru_> wrote in message
> news:ghqu1g$1le$1 at eple.troll.no...
>
> > Inside Qt source i see QLatin1String everywhere. This does it mean, what
> > i must use QLatin1String everywhere in my program rather QString ?
> >
> > What diffirent between using QString(QLatin1String(const char *)) and
> > QString(const char *) ?

See also: http://labs.trolltech.com/blogs/2008/04/28/string-theory/
-- 
Thiago Macieira - thiago.macieira (AT) nokia.com
  Senior Software Engineer - Nokia, Qt Software
  Qt Software is hiring - ask me
      Sandakerveien 116, NO-0402 Oslo, Norway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20081211/2427c787/attachment.bin 


More information about the Qt-interest-old mailing list