[Interest] QTemporaryFile::open(OpenMode flags) is protected, but not in documentation
Constantin Makshin
cmakshin at gmail.com
Wed Sep 25 22:47:39 CEST 2013
QTemporaryFile alays opens in read-write mode and, as it was explained on
this list some time ago, is not actually closed until the object is
destroyed ([primarily] for security reasons).
On Sep 26, 2013 12:32 AM, "Etienne Sandré-Chardonnal" <
etienne.sandre at m4x.org> wrote:
> 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
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130926/e8eb3e20/attachment.html>
More information about the Interest
mailing list