qt6-bb10/tests/auto/corelib/tools/qpoint
Ivan Solovev d999e64692 QPoint(F): use comparison helper macros
Explicitly add QPointF vs QPoint comparison. Previously such
comparison was implicitly converting QPoint to QPointF, and
doing the fuzzy comparison. We have to keep the old behavior to
avoid breaking user code, so explicitly use fuzzy comparison in
the new operators.

As a drive-by: move the friend functions into the private section,
so that they are actually hidden friends.

Task-number: QTBUG-120308
Change-Id: I471a890b8332455e8b2dc1b99e5fba4ada168a30
Reviewed-by: Tatiana Borisova <tatiana.borisova@qt.io>
2024-05-10 15:33:39 +02:00
..
.gitignore
CMakeLists.txt QPoint(F): use comparison helper macros 2024-05-10 15:33:39 +02:00
tst_qpoint.cpp QPoint(F): use comparison helper macros 2024-05-10 15:33:39 +02:00