diff options
| author | Ulf Hermann <ulf.hermann@qt.io> | 2025-09-26 10:50:55 +0200 |
|---|---|---|
| committer | Ulf Hermann <ulf.hermann@qt.io> | 2025-10-14 16:40:21 +0200 |
| commit | 64c35a03e2e3bf066531cc89e5a25196bdffba33 (patch) | |
| tree | c416d6004a3d531c229259457c48a076042fb7f6 /src/corelib/kernel/qmetacontainer.cpp | |
| parent | 2e9e6a8f2e2e4f6f55287ed419e962d7d0bf07d4 (diff) | |
Core: Add documentation for QMetaAssociation
The documentation was missing. Create the documentation in a separate
file, in preparation for adding further inner classes to
QMetaAssociation that can't live in qmetacontainer.{h|cpp}. Also, move
the two out of line methods into the same file.
Pick-to: 6.10 6.8
Task-number: QTBUG-140181
Change-Id: I907ced8446ff0d63bcf73ae601130d541816402b
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/corelib/kernel/qmetacontainer.cpp')
| -rw-r--r-- | src/corelib/kernel/qmetacontainer.cpp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/corelib/kernel/qmetacontainer.cpp b/src/corelib/kernel/qmetacontainer.cpp index 3a1a33a478a..2fa46507fa4 100644 --- a/src/corelib/kernel/qmetacontainer.cpp +++ b/src/corelib/kernel/qmetacontainer.cpp @@ -829,27 +829,4 @@ void QMetaSequence::valueAtConstIterator(const void *iterator, void *result) con type than the QMetaSequence \a rhs, otherwise returns \c false. */ - -/*! - \internal - Returns the meta type for keys in the container. - */ -QMetaType QMetaAssociation::keyMetaType() const -{ - if (auto iface = d()) - return QMetaType(iface->keyMetaType); - return QMetaType(); -} - -/*! - \internal - Returns the meta type for mapped values in the container. - */ -QMetaType QMetaAssociation::mappedMetaType() const -{ - if (auto iface = d()) - return QMetaType(iface->mappedMetaType); - return QMetaType(); -} - QT_END_NAMESPACE |
