Create.tag entries for QML classes
This patch makes Qml Classes get written to tag files the same as C++ tags. Task-number: QTBUG-40551 Change-Id: I4a1973eeed6f7c2fdb65686c50e6ae4d273c9d7a Reviewed-by: Aleix Pol Gonzalez <aleixpol@kde.org> Reviewed-by: Martin Smith <martin.smith@digia.com>
This commit is contained in:
parent
c0556d92f3
commit
7487592cce
@ -2572,6 +2572,9 @@ QString Node::fullDocumentName() const
|
||||
|
||||
// Create a name based on the type of the ancestor node.
|
||||
QString concatenator = "::";
|
||||
if (n->isQmlType())
|
||||
concatenator = QLatin1Char('.');
|
||||
|
||||
if (n->isDocNode())
|
||||
concatenator = QLatin1Char('#');
|
||||
|
||||
|
@ -120,6 +120,7 @@ void QDocTagFiles::generateTagFileCompounds(QXmlStreamWriter& writer, const Inne
|
||||
kind = "namespace";
|
||||
break;
|
||||
case Node::Class:
|
||||
case Node::QmlType:
|
||||
kind = "class";
|
||||
break;
|
||||
case Node::Enum:
|
||||
|
Loading…
Reference in New Issue
Block a user