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.san...@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@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
>
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to