qt5base-lts/tests/auto/corelib/text
Edward Welbourne 91e70f239e Give QLocale::uiLanguages() a separator parameter
It has always returned dash-joined forms of the locale names, and
callers who need an underscore-joined form have been obliged to
replace('-', '_') before using them. Given that everything it adds to
the list comes from QLocaleId methods that accept a separator, it's
trivial to let it offer the same choice to its callers and save them
this hassle.

Amended code in QTranslater and QMimeType to save them that hassle.

[ChangeLog][CoreLib][QLocale] QLocale::uiLanguages() now lets the
caller choose what separator to use between the tags that make up each
locale-identifier in the list returned.

Change-Id: I91fcd0b988d9a64e0e9ad9e851f6cb8c1be8ae50
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2023-08-16 16:25:48 +02:00
..
qanystringview QAnyStringView: add QDebug stream operator 2023-07-06 02:18:38 +00:00
qbytearray QByteArray: change append(QByteArray) to match QStringBuilder behavior 2023-08-03 02:12:22 +03:00
qbytearray_large CI: Enable tests under corelib/text for Wasm platform 2023-07-10 14:53:34 +02:00
qbytearrayapisymmetry CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qbytearraylist CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qbytearraymatcher CMake: remove check for cxx11_future 2023-08-02 12:36:18 -07:00
qbytearrayview String-like containers: add implicit conversions towards std:: string views 2023-07-13 16:19:06 +02:00
qbytedatabuffer CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qchar CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qcollator CI: Enable tests under corelib/text for Wasm platform 2023-07-10 14:53:34 +02:00
qlatin1stringmatcher CMake: remove check for cxx11_future 2023-08-02 12:36:18 -07:00
qlatin1stringview CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qlocale Give QLocale::uiLanguages() a separator parameter 2023-08-16 16:25:48 +02:00
qregularexpression CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qstring Add a better pangram to a QString::length() test-case 2023-08-08 17:35:35 +02:00
qstring_no_cast_from_bytearray CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qstringapisymmetry CI: Enable tests under corelib/text for Wasm platform 2023-07-10 14:53:34 +02:00
qstringbuilder QStringBuilder: test more concatenation variants 2023-07-24 01:04:55 +03:00
qstringconverter Provide QStringConverter equivalent of QTextCodec::availableCodecs 2023-07-18 09:38:38 +03:00
qstringiterator CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qstringlist CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qstringmatcher CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qstringtokenizer CI: Enable tests under corelib/text for Wasm platform 2023-07-10 14:53:34 +02:00
qstringview String-like containers: add implicit conversions towards std:: string views 2023-07-13 16:19:06 +02:00
qtextboundaryfinder tst_QTextBoundaryFinder: clean out the last two foreach uses 2023-08-11 19:58:01 +02:00
qunicodetools CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
shared Provide optTitle for a NumberDoubleTestData testcase that needs it 2022-10-11 11:21:38 +02:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00