qt6-bb10/tests/auto/corelib
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
..
animation tst_QParallelAnimationGroup: fix memleak 2023-07-14 14:56:03 +02:00
global Make qYieldCpu() public API 2023-07-25 07:21:56 -07:00
io tst_QFile: restrict to running on Linux 2023-08-03 20:49:51 -07:00
ipc QNativeIpcKey: add qHash() function 2023-07-25 12:31:04 +02:00
itemmodels tst_QSortFilterProxyModel: fix mem-leaks II: sortStable() 2023-07-19 04:51:26 +00:00
kernel Give QLocale::uiLanguages() a separator parameter 2023-08-16 16:25:48 +02:00
mimetypes tst_QMimeDatabase{Xml,Cache}: make the two siblings behave the same 2023-08-09 23:57:21 +02:00
platform CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
plugin Remove QUuid(quint128) constructor again 2023-08-14 20:13:54 +00:00
serialization QXmlStreamReader::readNextStartElement() - return false on document end 2023-08-15 07:16:31 +02:00
text Give QLocale::uiLanguages() a separator parameter 2023-08-16 16:25:48 +02:00
thread Tests: Fix typo in qfuture test 2023-08-07 23:56:10 +02:00
time Update QTimeZone data to CLDR v43 2023-08-07 19:51:09 +02:00
tools tst_QHashFunctions: extend the consistency() test with int/FP types 2023-08-16 12:56:50 +00:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00