summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@digia.com>2012-12-13 15:29:18 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-12-14 08:56:45 +0100
commit409516d5bb269c2746c9740c00093450dfebc43a (patch)
tree981bf374f1d2db4df88cbf9c369eed2f485f4058 /tools
parentb61d36ee3668833ad51b98ffcafc962b5dd3fa9a (diff)
downloadqtactiveqt-409516d5bb269c2746c9740c00093450dfebc43a.tar.gz
Fix namespace generation for ** parameters in dumpcpp
Pointer to a pointer (**) type parameters didn't get namespace prepended to them. Task-number: QTBUG-28383 Change-Id: I9379fecfad5814b897af7757d0b7b650b31d01e1 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/dumpcpp/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/dumpcpp/main.cpp b/tools/dumpcpp/main.cpp
index f45af6f..a7a44b1 100644
--- a/tools/dumpcpp/main.cpp
+++ b/tools/dumpcpp/main.cpp
@@ -1186,6 +1186,7 @@ bool generateTypeLibrary(const QByteArray &typeLib, const QByteArray &outname, O
declOut << " class " << className << ";" << endl;
namespaceForType.insert(className, nspace);
namespaceForType.insert(className + "*", nspace);
+ namespaceForType.insert(className + "**", nspace);
}
}
declOut << "}" << endl << endl;
@@ -1208,6 +1209,7 @@ bool generateTypeLibrary(const QByteArray &typeLib, const QByteArray &outname, O
declOut << " class " << className << ";" << endl;
namespaceForType.insert(className, libName.toLatin1());
namespaceForType.insert(className + "*", libName.toLatin1());
+ namespaceForType.insert(className + "**", libName.toLatin1());
}
}