qt5base-lts/tests/auto/corelib/io
d3fault 1a4cc8d57b Add QIODevice::NewOnly and QIODevice::ExistingOnly OpenMode flags
When QFile::open is called with the NewOnly flag, the call will
fail if the file already exists. As usual, if the file does not exist,
it will be created. Like QTemporaryFile, there is a guarantee from
the operating system that you are not accidentally creating a new file
on top of an older file. When QFile::open is called with the
ExistingOnly flag, the call will fail if the file does not exist. The
ExistingOnly flag only provides new functionality when used with the
WriteOnly flag. For ReadOnly it provides no change in functionality,
as ReadOnly by itself already never creates.

Task-number: QTBUG-52244
Change-Id: I8e3206728f245f95172c225bf297023fb078fc6d
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2018-01-17 04:32:47 +00:00
..
largefile Change almost all other uses of qrand() to QRandomGenerator 2017-11-08 09:14:03 +00:00
qabstractfileengine Filesystem: Use "birth time" to avoid confusion with Unix ctime 2017-08-05 16:41:38 +00:00
qbuffer Updated license headers 2016-01-21 18:55:18 +00:00
qdatastream Use QSharedPointer::create() more 2017-07-19 13:40:42 +00:00
qdataurl Updated license headers 2016-01-21 18:55:18 +00:00
qdebug QDebug: add op<<(QStringView) 2017-03-24 20:43:03 +00:00
qdir Remove unnecessary VxWorks ifdef 2017-09-18 21:06:25 +00:00
qdiriterator Merge remote-tracking branch 'origin/5.7' into dev 2016-06-13 12:46:46 +02:00
qfile Add QIODevice::NewOnly and QIODevice::ExistingOnly OpenMode flags 2018-01-17 04:32:47 +00:00
qfileinfo Merge remote-tracking branch 'origin/5.9' into 5.10 2018-01-04 17:24:18 +01:00
qfileselector Remove duplicate qnx from the platform file selector names 2017-10-24 16:43:39 +00:00
qfilesystementry Updated license headers 2016-01-21 18:55:18 +00:00
qfilesystemmetadata Filesystem: Use "birth time" to avoid confusion with Unix ctime 2017-08-05 16:41:38 +00:00
qfilesystemwatcher QFileSystemWatcher/Windows: Recreate handle for files 2017-07-07 07:02:45 +00:00
qiodevice Replace Q_DECL_OVERRIDE with override where possible 2017-09-19 11:53:42 +00:00
qipaddress Merge remote-tracking branch 'origin/5.6' into 5.7 2016-04-13 06:55:37 +02:00
qlockfile QLockFile/Unix: save the boot and machine IDs in the lock file too 2017-11-14 15:54:56 +00:00
qloggingcategory Updated license headers 2016-01-21 18:55:18 +00:00
qloggingregistry Fix typo 2017-12-13 13:07:48 +00:00
qnodebug QDate/Time: add toString(QStringView) overloads 2017-04-12 11:12:09 +00:00
qprocess Replace Q_NULLPTR with nullptr where possible 2017-09-19 11:53:55 +00:00
qprocess-noapplication macOS: Don't build auto-tests as application bundles unless explicitly requested 2016-10-23 10:39:56 +00:00
qprocessenvironment QtCore: Remove Windows CE. 2016-03-30 11:22:47 +00:00
qresourceengine unbreak tst_qresourceengine for prefix builds 2017-08-03 04:54:56 +00:00
qsavefile Support Alternate Data Streams in QSaveFile 2017-08-04 17:30:13 +00:00
qsettings Replace Q_NULLPTR with nullptr where possible 2017-09-19 11:53:55 +00:00
qstandardpaths Blacklist tst_qstandardpaths::testFindExecutable for b2qt/arm64 2017-11-12 15:35:21 +00:00
qstorageinfo Merge remote-tracking branch 'origin/5.7' into dev 2016-05-23 21:09:46 +02:00
qtemporarydir Merge remote-tracking branch 'origin/5.9' into 5.10 2017-11-09 11:47:57 +01:00
qtemporaryfile QTemporaryFile: fix issues with removing a file twice 2017-11-23 05:27:23 +00:00
qtextstream Replace Q_NULLPTR with nullptr where possible 2017-09-19 11:53:55 +00:00
qurl Merge remote-tracking branch 'origin/5.9' into 5.10 2017-10-30 08:54:05 +01:00
qurlinternal QUrl: fix IDN conversion when the ACE form is invalid 2017-04-25 00:51:43 +00:00
qurlquery Updated license headers 2016-01-21 18:55:18 +00:00
io.pro Remove QWinOverlappedIoNotifier 2017-06-02 20:01:43 +00:00