qt5base-lts/tests/auto/corelib/time
Marc Mutz bdd41f491c Rename Q*Ordering to Qt::*_ordering
Since we cannot re-use the pre-existing QPartialOrdering type due to
binary-compatibility issues (it's not BC to std::partial_ordering),
we're no longer bound to copy its API for consistency.

So copy std::*_ordering type API for consistency instead, to ease
porting for users that can already use C++20 and everyone else come
Qt 7.

This patch is another step in that direction, renaming classes and
their memmbers to std-compatible names. QPartialOrdering cannot
change, as it's pre-existing. So add a completely new type
Qt::partial_ordering.

Adding conversions from QPartialOrdering is left for a follow-up
patch.

As a drive-by, change `\c Less` to `\l Less` in the \class
documentation blocks of the new classes.

Amending c6fe64b17c, which didn't have a
ChangeLog:

[ChangeLog][QtCore] Added Qt::{partial,weak,strong}_ordering as
drop-in C++17 stand-ins for C++20's std::{partial,weak,strong}_ordering.

Task-number: QTBUG-119108
Change-Id: Ib1296de6b708571a6abca8843ba36c114f6fd34f
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
2023-11-21 11:46:27 +01:00
..
qcalendar CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qdate Rename Q*Ordering to Qt::*_ordering 2023-11-21 11:46:27 +01:00
qdatetime Rename Q*Ordering to Qt::*_ordering 2023-11-21 11:46:27 +01:00
qdatetimeparser Use localized time-zone abbreviations or offset 2023-10-27 10:52:48 +02:00
qtime Rename Q*Ordering to Qt::*_ordering 2023-11-21 11:46:27 +01:00
qtimezone QTimeZone(qint32 offsetSeconds): use IANA ID when one is available 2023-11-03 18:27:14 +01:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00