diff options
author | David Faure <faure@kde.org> | 2012-12-27 07:42:27 -0500 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-01-17 17:39:11 +0100 |
commit | e993df877131cfafbf1a3578dbef233a3041a82f (patch) | |
tree | 4913597e2253c029b955a7bd2e0ba1c27f43bc43 /tests/auto/corelib/io/io.pro | |
parent | e3a10e15ff5a015de28528b5f73316d7aa0de116 (diff) |
Add class QSaveFile.
This QIODevice uses a temporary file for writing, so that in case of
write errors, the writing operation is canceled, without losing any
existing file. It also avoids having a partially-written file visible
by other processes, at the final destination.
Change-Id: I9482df45751cb890b1b6f1382ec2eea3eb980627
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/corelib/io/io.pro')
-rw-r--r-- | tests/auto/corelib/io/io.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/corelib/io/io.pro b/tests/auto/corelib/io/io.pro index 03b42a2cbb..948e9dec5f 100644 --- a/tests/auto/corelib/io/io.pro +++ b/tests/auto/corelib/io/io.pro @@ -20,6 +20,7 @@ SUBDIRS=\ qprocessenvironment \ qresourceengine \ qsettings \ + qsavefile \ qstandardpaths \ qtemporarydir \ qtemporaryfile \ |