From 91730ecf3ba4abd0b4705ae99f42bc9fd57a9e0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5rten=20Nordheim?= Date: Fri, 23 Aug 2024 13:30:51 +0200 Subject: [PATCH] Containers: correct documentation for QMulti(Map|Hash) They're no longer just convenience subclasses. Pick-to: 6.7 6.5 Change-Id: I80b52eeac4a68f6b546b635c792a17e975d3d7e7 Reviewed-by: Thiago Macieira (cherry picked from commit 1666ce930b980ec73f01b038eb8d1a2a7b180ea4) Reviewed-by: Qt Cherry-pick Bot --- src/corelib/doc/src/containers.qdoc | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/corelib/doc/src/containers.qdoc b/src/corelib/doc/src/containers.qdoc index 94a2d4a2612..874ab807609 100644 --- a/src/corelib/doc/src/containers.qdoc +++ b/src/corelib/doc/src/containers.qdoc @@ -101,9 +101,8 @@ doesn't matter QHash is a faster alternative. \row \li \l{QMultiMap} - \li This is a convenience subclass of QMap that provides a nice - interface for multi-valued maps, i.e. maps where one key can be - associated with multiple values. + \li This provides a dictionary, like QMap, except it allows + inserting multiple equivalent keys. \row \li \l{QHash} \li This has almost the same API as QMap, but provides @@ -111,8 +110,8 @@ arbitrary order. \row \li \l{QMultiHash} - \li This is a convenience subclass of QHash that - provides a nice interface for multi-valued hashes. + \li This provides a hash-table-based dictionary, like QHash, + except it allows inserting multiple equivalent keys. \endtable