qt5base-lts/tests/auto/corelib
Mårten Nordheim 737fe89691 Q{File,FileInfo,Dir}: add std::filesystem::path overloads
Add some overloads where (I thought) it makes sense for QDir and QFile
to accept std::filesystem::path objects. Currently my thinking is to
not add overloads for static functions where std::filesystem can already
do the same job, e.g. create directory or file.

Template and enable_if is needed due to both QString and
std::filesystem::path being able to be constructed from string literals.

The common shared code is currently in QFile because QDir had an
implicit include of QFile, made explicit in this patch, and QFileInfo
has an include to QFile as well.

The QT_HAS_STD_FILESYSTEM macro is visible in user-code which I
currently take advantage of in the tests, and users could too.

Change-Id: I8d05d3c34c6c17e20972a6a2053862b8891d6c3c
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2020-03-24 16:20:03 +01:00
..
animation Merge remote-tracking branch 'origin/5.15' into dev 2020-03-16 18:41:27 +01:00
codecs Regenerate tests/auto/corelib/codecs 2019-11-12 17:26:41 +00:00
global Remove QLinkedList 2020-02-19 21:01:07 +01:00
io Q{File,FileInfo,Dir}: add std::filesystem::path overloads 2020-03-24 16:20:03 +01:00
itemmodels Add a way to filter only rows or columns in QSortFilterProxyModel 2020-03-18 15:42:58 +01:00
kernel Enable generic property bindings to QProperty<T> 2020-03-19 13:08:56 +01:00
mimetypes QtConcurrent::run: accept more then five function's arguments 2020-03-11 14:46:25 +01:00
plugin Merge "Merge remote-tracking branch 'origin/5.15' into dev" 2020-03-16 20:43:50 +01:00
serialization CMake: Regenerate tests projects 2020-03-12 11:41:39 +01:00
statemachine Merge remote-tracking branch 'origin/5.15' into dev 2020-02-13 18:31:40 +01:00
text Merge remote-tracking branch 'origin/5.15' into dev 2020-03-18 11:45:08 +01:00
thread CMake: Regenerate tests projects 2020-03-12 11:41:39 +01:00
time Purge QRegExp use in QDateTime's rfcDateImpl() 2020-02-27 10:48:25 +01:00
tools Change QTaggedPointer API to be more similar to other smart pointers in Qt 2020-03-19 19:01:31 +01:00
.prev_CMakeLists.txt cmake: Remove APPLE prefix from platform names 2020-03-16 17:57:56 +01:00
CMakeLists.txt cmake: Remove APPLE prefix from platform names 2020-03-16 17:57:56 +01:00
corelib.pro Move text-related code out of corelib/tools/ to corelib/text/ 2019-07-10 17:05:30 +02:00