From 2f0dbd04394c6829726aa9ab48d6746b00c1b42c Mon Sep 17 00:00:00 2001 From: Martin Smith Date: Thu, 5 Jul 2012 13:58:17 +0200 Subject: qdoc: Removed several #if 0 blocks. Removed a lot of dead code. Change-Id: I237521efab7dd046d3a47ab92a6a0e083c59ab55 Reviewed-by: Casper van Donderen --- src/tools/qdoc/node.cpp | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'src/tools/qdoc/node.cpp') diff --git a/src/tools/qdoc/node.cpp b/src/tools/qdoc/node.cpp index 4117c5090da..6cb72ca0a8d 100644 --- a/src/tools/qdoc/node.cpp +++ b/src/tools/qdoc/node.cpp @@ -532,13 +532,6 @@ QString Node::guid() const return uuid_; } -#if 0 -// fossil -QUuid quuid = QUuid::createUuid(); -QString t = quuid.toString(); -uuid = "id-" + t.mid(1,t.length()-2); -#endif - /*! Composes a string to be used as an href attribute in DITA XML. It is composed of the file name and the UUID separated @@ -2356,22 +2349,6 @@ QmlPropertyNode::QmlPropertyNode(QmlPropertyNode* parent, setPageType(ApiPage); } -#if 0 - const PropertyNode *correspondingProperty = 0; - ClassNode *correspondingClass = static_cast(qmlPropGroup->parent())->classNode(); - if (correspondingClass) { - correspondingProperty = qmlPropNode->correspondingProperty(tree_); - } - if (correspondingProperty) { - bool writableList = type.startsWith("list") && correspondingProperty->dataType().endsWith('*'); - qmlPropNode->setReadOnly(!(writableList || correspondingProperty->isWritable())); - } - - if (correspondingProperty) { - bool writableList = type.startsWith("list") && correspondingProperty->dataType().endsWith('*'); - qmlPropNode->setReadOnly(!(writableList || correspondingProperty->isWritable())); - } -#endif /*! Returns true if a QML property or attached property is not read-only. The algorithm for figuring this out is long -- cgit v1.2.3