summaryrefslogtreecommitdiffstats
path: root/src/tools/qdoc/node.cpp
diff options
context:
space:
mode:
authorMartin Smith <martin.smith@nokia.com>2012-07-05 13:58:17 +0200
committerQt by Nokia <qt-info@nokia.com>2012-07-06 03:54:26 +0200
commit2f0dbd04394c6829726aa9ab48d6746b00c1b42c (patch)
tree5d051d1ca206a10336e182b0afd26081a9066b92 /src/tools/qdoc/node.cpp
parente17c87df9c4e31cb23cc71758972ac1254a415db (diff)
qdoc: Removed several #if 0 blocks.
Removed a lot of dead code. Change-Id: I237521efab7dd046d3a47ab92a6a0e083c59ab55 Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
Diffstat (limited to 'src/tools/qdoc/node.cpp')
-rw-r--r--src/tools/qdoc/node.cpp23
1 files changed, 0 insertions, 23 deletions
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<QmlClassNode*>(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