[Interest] QTemporaryFile::open(OpenMode flags) is protected, but not in documentation

Etienne Sandré-Chardonnal etienne.sandre at m4x.org
Wed Sep 25 22:31:54 CEST 2013


In Qt 4.8.1, QTemporaryFile::open(OpenMode flags) is protected. On the
other hand, the documentation says it's public.

Is this a bug or a documentation error?

If this is a documentation error, why not allowing to reopen the file in
read mode? Instead, the current implementation forces to create another
QFile on the temporary path for reading the data.

Etienne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130925/4600ea2a/attachment.html>


More information about the Interest mailing list