equal
deleted
inserted
replaced
1961 else if (node->type() == Node::Fake) { |
1961 else if (node->type() == Node::Fake) { |
1962 #ifdef QDOC_QML |
1962 #ifdef QDOC_QML |
1963 if ((node->subType() == Node::QmlClass) || |
1963 if ((node->subType() == Node::QmlClass) || |
1964 (node->subType() == Node::QmlBasicType)) { |
1964 (node->subType() == Node::QmlBasicType)) { |
1965 QString fb = node->fileBase(); |
1965 QString fb = node->fileBase(); |
1966 if (fb.startsWith(QLatin1String("QML:"))) |
1966 if (fb.startsWith(QLatin1String("qml-"))) |
1967 return node->fileBase() + ".html"; |
1967 return fb + ".html"; |
1968 else |
1968 else |
1969 return "qml-" + node->fileBase() + ".html"; |
1969 return "qml-" + node->fileBase() + ".html"; |
1970 } else |
1970 } else |
1971 #endif |
1971 #endif |
1972 parentName = node->fileBase() + ".html"; |
1972 parentName = node->fileBase() + ".html"; |
1979 if ((parentNode = node->relates())) |
1979 if ((parentNode = node->relates())) |
1980 parentName = fullDocumentLocation(node->relates()); |
1980 parentName = fullDocumentLocation(node->relates()); |
1981 else if ((parentNode = node->parent())) { |
1981 else if ((parentNode = node->parent())) { |
1982 if (parentNode->subType() == Node::QmlPropertyGroup) { |
1982 if (parentNode->subType() == Node::QmlPropertyGroup) { |
1983 parentNode = parentNode->parent(); |
1983 parentNode = parentNode->parent(); |
1984 parentName = "qml-" + parentNode->fileBase() + ".html"; |
1984 parentName = fullDocumentLocation(parentNode); |
1985 } |
1985 } |
1986 else |
1986 else |
1987 parentName = fullDocumentLocation(node->parent()); |
1987 parentName = fullDocumentLocation(node->parent()); |
1988 } |
1988 } |
1989 #if 0 |
1989 #if 0 |