diff options
| author | Tatiana Borisova <tatiana.borisova@qt.io> | 2024-03-15 17:23:16 +0100 |
|---|---|---|
| committer | Tatiana Borisova <tatiana.borisova@qt.io> | 2024-03-21 23:43:35 +0100 |
| commit | 2499de88744c493bebda25c0135bd623ccf35729 (patch) | |
| tree | 8ed42ea563b4c897f2b16e970283ffcc94444933 /examples/opengl/openglwindow/openglwindow.cpp | |
| parent | 587003c3ccf6f8abab9aa6e8131f5ff6ce368d8a (diff) | |
QJsonArray: use new comparison helper macros
Replace public operators operator==(), operator!=() of
QJsonArray to friend methods comparesEqual().
Use QT_CORE_REMOVED_SINCE and removed_api.cpp to get rid of current
comparison methods and replace them with a friend.
Add friend method comparesEqual(QJsonArray, QJsonValue)
to the QJsonArray class, to support comparison between QJsonArray
and QJsonValue elements, see test-case fromToVariantConversions()
Task-number: QTBUG-120300
Change-Id: I8440ca0761bede8551ff792bfa7f22e47b56fa79
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'examples/opengl/openglwindow/openglwindow.cpp')
0 files changed, 0 insertions, 0 deletions
