qt5base-lts/tests/auto
João Abecasis 5c637e9171 Add QFileInfo::isNativePath
This function returns true if the file path can be used directly with
native APIs, modulo encoding and path separator conversions. This is
important for applications that interface with other libraries or simply
need to use native APIs together with Qt.

Traditionally, this information was available in QAbstractFileEngine and
forced users to explicitly create an engine or use internal API such as
QFile::fileEngine to access the underlying engine and this piece of
information.

Given its usefulness, exposing the information in a more visible place
is more appropriate. This reduces the need for people to know or care
about implementation details, like file engines...

The existing isLocalFs test was updated and repurposed to use the new
API, instead of relying on file engines and internal implementation
details of QFileInfo.

Change-Id: I65f497bb25741f6f7ea4d2c3b3562c8c4aab8bea
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Reviewed-by: David Faure <faure@kde.org>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
2012-02-14 02:48:35 +01:00
..
bic Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
compilerwarnings/data Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
concurrent Complete split of QtConcurrent. 2012-02-06 16:48:22 +01:00
corelib Add QFileInfo::isNativePath 2012-02-14 02:48:35 +01:00
dbus Align QVariant::UserType and QMetaType::User 2012-02-07 08:52:32 +01:00
gui Make "nmake check" pass for gui tests in Windows. 2012-02-10 15:40:22 +01:00
guiapplauncher Update the documentation after moving examples. 2011-07-05 21:19:08 +02:00
network Add socketOptions flags to QLocalServer 2012-02-10 03:02:07 +01:00
opengl Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
other Move all usages of Relation enum values to QAccessible::relations() 2012-02-10 15:21:46 +01:00
sql QSqlTableModel::setRecord(): emit dataChanged() consistently 2012-02-08 14:43:18 +01:00
testlib testlib: Count passes, fails and skips consistently. 2012-02-13 01:46:09 +01:00
tools Implement QMAKE_SUBSTITUTES.config = verbatim. 2012-02-11 13:30:31 +01:00
widgets QHeaderView - minor bug in visualIndexAt 2012-02-10 00:27:44 +01:00
xml Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
auto.pro Move QtConcurrent into its own module 2012-02-05 17:49:16 +01:00
network-settings.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
platformquirks.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
test.pl Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00