[Qt-interest] Howto get default carriage return ?

Thiago Macieira thiago at kde.org
Thu Oct 21 21:19:45 CEST 2010


On Thursday 21. October 2010 20.08.11 Dan White wrote:
> How about QChar::LineSeparator from enum QChar::SpecialCharacter ?
> 
> <http://doc.qt.nokia.com/4.7/qchar.html#SpecialCharacter-enum>
> 
> Will that work ?

No. QChar is about Unicode, not about OS-specific line-endings.

Not to mention that CRLF are two characters.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101021/76c36031/attachment.bin 


More information about the Qt-interest-old mailing list