On Thursday, 5 de January de 2012 22.48.32, David Faure wrote:
> Solution 2: how about making this functionality part of QFile itself?
> No need to "port to another class" anymore, just enable the safety feature
> by  calling file.setUseTemporaryFile(true).

What happens if you open the file in read or read-write mode while the flag is
on?

--
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to