On quinta-feira, 12 de abril de 2012 14.41.27, [email protected] wrote:
> > Maybe QChar *begin, int len?
> >
> > Or QChar *begin, guaranteed to be NUL-terminated?
>
> What's the advantage of having a QChar * in contrast to a QString?

To be honest, not much. I was just wondering if we could use a pre-allocated
buffer in case we wanted to show a message in an OOM situation.

> > fromAscii() was correct in the sense of "from whatever the user used in
> > developing source code".
>
> Just realized that nowadays fromAscii==fromLatin1. So it's really just a
> matter of taste.

Not for long. I still need to change fromAscii to be fromUtf8. Provided it
doesn't break too much.

--
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to