summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3/cppcodeparser.cpp
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2010-02-24 00:32:26 (GMT)
committerBea Lam <bea.lam@nokia.com>2010-02-24 00:32:26 (GMT)
commitf95e0d4dee769363a9c84b27f854055b0425e6ec (patch)
treeba3f5902e9f53b116989904b1766187444c6c0f1 /tools/qdoc3/cppcodeparser.cpp
parent6bd74e08ea2d29086ad2a16fef8e9b02c5e5ae5d (diff)
parent56fe1454fe08ec7cc258cbbd38486e721d088c99 (diff)
downloadQt-f95e0d4dee769363a9c84b27f854055b0425e6ec.zip
Qt-f95e0d4dee769363a9c84b27f854055b0425e6ec.tar.gz
Qt-f95e0d4dee769363a9c84b27f854055b0425e6ec.tar.bz2
Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-qml
Diffstat (limited to 'tools/qdoc3/cppcodeparser.cpp')
-rw-r--r--tools/qdoc3/cppcodeparser.cpp13
1 files changed, 4 insertions, 9 deletions
diff --git a/tools/qdoc3/cppcodeparser.cpp b/tools/qdoc3/cppcodeparser.cpp
index c8655a4..d9e9c3b 100644
--- a/tools/qdoc3/cppcodeparser.cpp
+++ b/tools/qdoc3/cppcodeparser.cpp
@@ -1033,7 +1033,10 @@ void CppCodeParser::processOtherMetaCommand(const Doc& doc,
#ifdef QDOC_QML
else if (command == COMMAND_QMLINHERITS) {
setLink(node, Node::InheritsLink, arg);
- }
+ if (node->subType() == Node::QmlClass) {
+ QmlClassNode::addInheritedBy(arg,node);
+ }
+ }
else if (command == COMMAND_QMLDEFAULT) {
QmlPropGroupNode* qpgn = static_cast<QmlPropGroupNode*>(node);
qpgn->setDefault();
@@ -2299,14 +2302,6 @@ void CppCodeParser::createExampleFileNodes(FakeNode *fake)
QString imagesPath = fullPath + "/images";
QStringList imageFiles = Config::getFilesHere(imagesPath,exampleImageFilter);
-#if 0
- qDebug() << "examplePath:" << examplePath;
- qDebug() << " exampleFiles" << exampleFiles;
- qDebug() << "imagesPath:" << imagesPath;
- qDebug() << "fullPath:" << fullPath;
- qDebug() << " imageFiles" << imageFiles;
-#endif
-
if (!exampleFiles.isEmpty()) {
// move main.cpp and to the end, if it exists
QString mainCpp;