forked from qt-creator/qt-creator
Doc: replace deprecated QDoc commands
The \i and \o commands were replaced with \li and \bold was replaced with \b in QDoc for Qt 5. The \input command was replaced with \include in the docs. Change-Id: I257d1bebb8ebc739ca20e0d29fcf0406ecb14534 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
This commit is contained in:
committed by
Oswald Buddenhagen
parent
276320caac
commit
419c6de735
@@ -1191,21 +1191,21 @@ MimeMapEntry::MimeMapEntry(const MimeType &t, int aLevel) :
|
||||
|
||||
Storage requirements:
|
||||
\list
|
||||
\o Must be robust in case of incomplete hierarchies, dangling entries
|
||||
\o Plugins will not load and register their mime types in order of inheritance.
|
||||
\o Multiple inheritance (several subClassesOf) can occur
|
||||
\o Provide quick lookup by name
|
||||
\o Provide quick lookup by file type.
|
||||
\li Must be robust in case of incomplete hierarchies, dangling entries
|
||||
\li Plugins will not load and register their mime types in order of inheritance.
|
||||
\li Multiple inheritance (several subClassesOf) can occur
|
||||
\li Provide quick lookup by name
|
||||
\li Provide quick lookup by file type.
|
||||
\endlist
|
||||
|
||||
This basically rules out some pointer-based tree, so the structure chosen is:
|
||||
\list
|
||||
\o An alias map QString->QString for mapping aliases to types
|
||||
\o A Map QString->MimeMapEntry for the types (MimeMapEntry being a pair of
|
||||
\li An alias map QString->QString for mapping aliases to types
|
||||
\li A Map QString->MimeMapEntry for the types (MimeMapEntry being a pair of
|
||||
MimeType and (hierarchy) level.
|
||||
\o A map QString->QString representing parent->child relations (enabling
|
||||
\li A map QString->QString representing parent->child relations (enabling
|
||||
recursing over children)
|
||||
\o Using strings avoids dangling pointers.
|
||||
\li Using strings avoids dangling pointers.
|
||||
\endlist
|
||||
|
||||
The hierarchy level is used for mapping by file types. When findByFile()
|
||||
|
||||
Reference in New Issue
Block a user