[Qt-interest] why QTemporaryFile::open is not allowing specify flags?
Colin S. Miller
no-spam-thank-you at csmiller.demon.co.uk
Thu Oct 7 19:34:45 CEST 2010
Malyushytsky, Alex wrote:
> Is there any specific reason to prevent user specify flags in QTemporaryFile::open() (make derived function protected) ?
> Correct me if I am wrong, but I see no way to specify QIODevice::Text flag now, which means my files are not human readable on Windows due to the absence of Windows style line break.
>
> Isn't it strange I need to override just in order to access inherited functionality?
>
Alex,
WordPad (and Word) can open files that have in UNIX-style line endings,
however NotePad can't.
HTH,
Colin S. Miller
More information about the Qt-interest-old
mailing list