qt5base-lts/tests/auto/corelib/io/io.pro
David Faure e993df8771 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>
2013-01-17 17:39:11 +01:00

46 lines
837 B
Prolog

TEMPLATE=subdirs
SUBDIRS=\
qabstractfileengine \
qbuffer \
qdatastream \
qdataurl \
qdebug \
qdir \
qdiriterator \
qfile \
largefile \
qfileinfo \
qfilesystementry \
qfilesystemwatcher \
qiodevice \
qipaddress \
qnodebug \
qprocess \
qprocess-noapplication \
qprocessenvironment \
qresourceengine \
qsettings \
qsavefile \
qstandardpaths \
qtemporarydir \
qtemporaryfile \
qtextstream \
qurl \
qurlinternal \
qurlquery \
qwinoverlappedionotifier \
!win32|wince* {
SUBDIRS -=\
qwinoverlappedionotifier
}
!contains(QT_CONFIG, private_tests): SUBDIRS -= \
qabstractfileengine \
qfileinfo \
qipaddress \
qurlinternal
win32:!contains(QT_CONFIG, private_tests): SUBDIRS -= \
qfilesystementry