QDoc: Added "QML Type" to HTML titles of QML type pages.

-makes it more consistent with the C++ pages.
-easier to read for the search engines.

Change-Id: I172bdff04e0aa80ee58a903d112585992234d7d7
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
This commit is contained in:
Jerome Pasion 2014-05-09 14:53:06 +02:00 committed by The Qt Project
parent a968042f54
commit 8e5e9d7987

View File

@ -1446,6 +1446,10 @@ void HtmlGenerator::generateDocNode(DocNode* dn, CodeMarker* marker)
// Replace the marker with a QML code marker. // Replace the marker with a QML code marker.
marker = CodeMarker::markerForLanguage(QLatin1String("QML")); marker = CodeMarker::markerForLanguage(QLatin1String("QML"));
} }
else if (dn->subType() == Node::QmlClass) {
fullTitle = fullTitle + " QML Type";
htmlTitle = fullTitle;
}
generateHeader(htmlTitle, dn, marker); generateHeader(htmlTitle, dn, marker);
/* /*