diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2020-06-29 14:26:36 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2020-07-08 14:13:59 +0200 |
commit | 986d89c2eefd37ee0da8e07d7794716000608610 (patch) | |
tree | 5e709f713cacdf0bfac7ddb95d14e1ed8553a9f3 /config.tests/unix/fvisibility.test | |
parent | 0e2cfdedf261a9d29d7466bd26545549479d9f8a (diff) |
Automatically register comparison operators in QMetaType
This removes the fully manual registration of comparison operators in
QMetaType and replaces it with an automatic registration through
Q_DECLARE_METATYPE().
[ChangeLog][QMetaType] The QMetaType::registerComparator() and
QMetaType::registerEqualsComparator() have been removed.
Q_DECLARE_METATYPE() now automatically registers any
operator==() and/or operator<() for a type visible where
it is used on that type, as part of declaring its meta-type.
Change-Id: I3df451b652b735c093533838bf32f3cc785439f8
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'config.tests/unix/fvisibility.test')
0 files changed, 0 insertions, 0 deletions