qt5base-lts/tests/auto/corelib/io
Thiago Macieira 1b7e9dba75 Change the component formatting enum values so the default is zero
By having the default value equal to zero, we follow the principle of
least surprise. For example, if we had
      url.path()
and we refactored to
      url.path(QUrl::DecodeSpaces)

Then instead of ensuring spaces are decoded, we make spaces the only
thing encoded (unicode, delimiters and reserved characters are
encoded).

Besides, modifying the default can only be used to encode something
that wasn't encoded previously, so having the enums as Encode makes
more sense.

As a side-effect, toEncoded() does not support any extra encoding
options.

Change-Id: I2624ec446e65c2d979e9ca2f81bd3db22b00bb13
Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
2012-04-11 23:32:26 +02:00
..
largefile Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qabstractfileengine Deprecate qMemCopy/qMemSet in favour of their stdlib equivilents. 2012-04-11 10:46:19 +02:00
qbuffer Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qdatastream Eliminate duplicate data row names from corelib autotests. 2012-02-14 06:19:16 +01:00
qdebug Fix QTextStream and QDebug operator<< for QLatin1String 2012-02-02 11:10:04 +01:00
qdir Fix MSVC warnings in tests. 2012-04-02 16:56:48 +02:00
qdiriterator Drop file-engine abstraction from public API 2012-02-22 00:07:31 +01:00
qfile Drop file-engine abstraction from public API 2012-02-22 00:07:31 +01:00
qfileinfo Add QFileInfo::isNativePath 2012-02-14 02:48:35 +01:00
qfilesystementry Eliminate duplicate data row names from corelib autotests. 2012-02-14 06:19:16 +01:00
qfilesystemwatcher Fix directories never being unwatched after deletion on Windows. 2012-03-21 12:32:16 +01:00
qiodevice Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qipaddress Add support for IPv6 parsing and reconstructing the address 2012-03-28 16:31:34 +02:00
qnodebug Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qprocess Fix MSVC warnings in tests. 2012-04-02 16:56:48 +02:00
qprocessenvironment Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qresourceengine Uncomment disabled code in QResourceEngine autotest. 2012-03-14 07:51:45 +01:00
qsettings Uncomment disabled code in QSettings autotest. 2012-03-27 09:11:04 +02:00
qstandardpaths Merge remote-tracking branch 'origin/master' into api_changes 2012-04-10 15:31:45 +02:00
qtemporarydir Compilation fix: missing includes for geteuid() 2012-02-17 05:27:29 +01:00
qtemporaryfile Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qtextstream Eliminate duplicate data row names from corelib autotests. 2012-02-14 06:19:16 +01:00
qurl Change the component formatting enum values so the default is zero 2012-04-11 23:32:26 +02:00
qurlinternal Change the component formatting enum values so the default is zero 2012-04-11 23:32:26 +02:00
qurlquery Change the component formatting enum values so the default is zero 2012-04-11 23:32:26 +02:00
qwinoverlappedionotifier Update contact address in license headers. 2012-01-31 04:54:56 +01:00
io.pro Add a function to parse IPv4 addresses in QtCore 2012-03-28 16:31:34 +02:00