summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets/qtoolbox.cpp
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2019-12-04 09:49:34 +0100
committerOlivier Goffart <ogoffart@woboq.com>2019-12-07 10:32:29 +0100
commit4c3c63d4cbb81b38e88e06b72749e7e01497b6f1 (patch)
treec1daef3225c90791dd642abe44ffe6242652cb08 /src/widgets/widgets/qtoolbox.cpp
parentece0c0a5e7e0b18beb58ccd868bde54c7be64f78 (diff)
QMetaType: add more static-less API
In prevision to Qt6 which is going to discourrage the use of the integer id, add some missing API to the staticless QMetaType API: - Add a way to construct a QMetaType from a type without calling qMetaTypeId: QMetaType::fromType<T>() - Add equality operators - Add a QMetaType::name() function - Add a default constructor (by adding a default parameter to the existing ctor) Change-Id: I95487c1c31bdf0d773717daa9d5452cbced30673 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/widgets/widgets/qtoolbox.cpp')
0 files changed, 0 insertions, 0 deletions