[Qt-interest] Howto get default carriage return ?

Aaron Lewis the.warl0ck.1989 at gmail.com
Fri Oct 22 16:03:54 CEST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Thiago !

On 10/22/2010 04:23 PM, Thiago Macieira wrote:
> Em Sexta-feira 22 Outubro 2010, às 09:01:17, Aaron Lewis escreveu:
>> So if i append those strings , on line-endings will be written.
>>
>> How can i handle this ?
> 
> Use \n.

Hmm , if i could simply use "\n" as line terminators ..

We've fall backed to the elementary question , i'm just trying to find a
suitable one , maybe i should dive into Kate's source code , see how it
detects default file format ...

Or just take an assumption that those files are created on the platform
that my app is running , not moved from other platforms , that's why i'm
looking for a elegant solutions , should Qt supply such functions like
QDir::separator() , which provides "/" or "\" depends on target platforms ?

Thanks !

> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest


- -- 
Best Regards,
Aaron Lewis - PGP: 0xDFE6C29E
Key Server: http://keyserver.veridis.com
Finger Print: 9482 448F C7C3 896C 1DFE 7DD3 2492 A7D0 DFE6 C29E

No HTML shits , thanks.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJMwZnJAAoJECSSp9Df5sKeQdAP+wcJ1xVB+0IZLxzQIYDhblu3
3XAkw/bOtBGUw4MzvBKboadMH/g/KRXxmUTmDanYpuIfPhKVVU+FBcjwPlry9GHS
jm2GFWGlGlDglbOTQ5GuNdyVbw989vKaXeC6w3cLW6FSZgZKI2UOb5Zq0SokO3LV
twkgdicVzg/ol7qDY1deskJkrwuSgwz3N5WHBLnbpJpPPTuL2BkXhxEpQKlvjNnW
DOfjNc8JYunD3fUvE2dDy14Jj7d69m/OjJTbd/1vrCpy/4C7DbdTAqwnATtY+GOf
gY0W/UFgbr1XOcsUFvrx+B+J/ygosmpmdtdWsFinX2e40/qqAwSZq80HSJL9QgxD
jTig7N84aqK4Rr4mKAhXro8mq1f2mFo3mjLeVBDMhNnk/LYXPf087ms+OSvDAqyT
EfKETrWMc1aczJlLEWK9otATKEfeonCbOga1FfBjE8hjbFlKhQmPy9EExbOsH600
ILTLSrqkqT2EQcvVlAS14ZZo2Xooyc/t8N+Vdoc4mtZmp6DcKv4YfmfB0JGqchne
KYg0QlDxoURxAqD7FCrn82IPIZlwtGuqYPU5YJmnwRtgy5P/hb6fDcvRWxyIp/1p
CFLN0rZ7gq1PzC/TIi1RvXsThef4FiphQ1ecSpTA4VNAAoMS+2Tc26Mhm22CcmuZ
ihszfufCv57IxHiywWgk
=2pVL
-----END PGP SIGNATURE-----



More information about the Qt-interest-old mailing list