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:
David Edmundson 2014-08-12 19:48:30 +02:00
parent c0556d92f3
commit 7487592cce
2 changed files with 4 additions and 0 deletions

View File

@ -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('#');

View File

@ -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: