summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3/ditaxmlgenerator.cpp
diff options
context:
space:
mode:
authorMartin Smith <martin.smith@nokia.com>2010-06-22 08:14:44 (GMT)
committerMartin Smith <martin.smith@nokia.com>2010-06-22 08:14:44 (GMT)
commit6c45845dfd76c1582ff8e1b11a9d4989b8136590 (patch)
tree175d943a15856f50e28e4ee159d23e2dd0ea6fb2 /tools/qdoc3/ditaxmlgenerator.cpp
parent1d5e87b0451fd770395c1344af4b56cf790ca0e0 (diff)
parent9c7d10686f73aeddcff73a88c47aac9735f5b3ad (diff)
downloadQt-6c45845dfd76c1582ff8e1b11a9d4989b8136590.zip
Qt-6c45845dfd76c1582ff8e1b11a9d4989b8136590.tar.gz
Qt-6c45845dfd76c1582ff8e1b11a9d4989b8136590.tar.bz2
Finish merge conflict.
Merge branch '4.7' of git@scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7 Conflicts: tools/qdoc3/ditaxmlgenerator.cpp
Diffstat (limited to 'tools/qdoc3/ditaxmlgenerator.cpp')
-rw-r--r--tools/qdoc3/ditaxmlgenerator.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/qdoc3/ditaxmlgenerator.cpp b/tools/qdoc3/ditaxmlgenerator.cpp
index e1e1b91..ff91f11 100644
--- a/tools/qdoc3/ditaxmlgenerator.cpp
+++ b/tools/qdoc3/ditaxmlgenerator.cpp
@@ -1402,8 +1402,8 @@ DitaXmlGenerator::generateClassLikeNode(const InnerNode* inner, CodeMarker* mark
QList<Section> sections;
QList<Section>::ConstIterator s;
- ClassNode* cn = 0;
- NamespaceNode* namespasse = 0;
+ const ClassNode* cn = 0;
+ const NamespaceNode* namespasse = 0;
QString title;
QString rawTitle;
@@ -4696,7 +4696,7 @@ void DitaXmlGenerator::writeFunctions(const Section& s,
}
}
-void DitaXmlGenerator::writeParameters(FunctionNode* fn, CodeMarker* marker)
+void DitaXmlGenerator::writeParameters(const FunctionNode* fn, CodeMarker* marker)
{
const QList<Parameter>& parameters = fn->parameters();
if (!parameters.isEmpty()) {
@@ -4735,7 +4735,7 @@ void DitaXmlGenerator::writeEnumerations(const Section& s,
NodeList::ConstIterator m = s.members.begin();
while (m != s.members.end()) {
if ((*m)->type() == Node::Enum) {
- EnumNode* en = static_cast<const EnumNode*>(*m);
+ const EnumNode* en = static_cast<const EnumNode*>(*m);
writer.writeStartElement(CXXENUMERATION);
writer.writeAttribute("id",en->guid());
writer.writeStartElement(APINAME);