On Friday, 6 de January de 2012 18.34.21, David Faure wrote: > On Thursday 05 January 2012 22:38:37 Thiago Macieira wrote: > > What happens if you open the file in read or read-write mode while the > > flag > > is on? > > I think that should just ignore the request for a temp file, since it cannot > possibly be honoured. > > Or if you prefer it could print a warning and fail.
The first solution doesn't look nice. It would have to fail opening completely.
But I think I prefer a QSaveFile, derived from QFile, with the proper
semantics.
--
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
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
