aboutsummaryrefslogtreecommitdiffstats
path: root/shibokengenerator.cpp
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2009-09-18 15:54:29 -0300
committerMarcelo Lira <marcelo.lira@openbossa.org>2009-09-18 15:54:29 -0300
commit8b1169b3d41890ef7da08b7f6f28ed9ba791fac8 (patch)
treeee79c873104d3b81db16de384a8c15b03c3bd773 /shibokengenerator.cpp
parent2a26c34da5984bcfc31ec853c79d0b3081edb8d5 (diff)
Shiboken now fixes the conversions and calls passing Object Types by value
Diffstat (limited to 'shibokengenerator.cpp')
-rw-r--r--shibokengenerator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/shibokengenerator.cpp b/shibokengenerator.cpp
index 1311cb8f8..fdb03b6b1 100644
--- a/shibokengenerator.cpp
+++ b/shibokengenerator.cpp
@@ -155,7 +155,7 @@ QString ShibokenGenerator::translateTypeForWrapperMethod(const AbstractMetaType*
if (cType->isValue() || cType->isObject()
|| (cType->isReference() && !cType->isContainer())) {
result = cType->typeEntry()->qualifiedCppName();
- if (cType->isObject())
+ if (cType->isObject() || cType->isQObject())
result.append('*');
} else if (cType->isArray()) {
result = translateTypeForWrapperMethod(cType->arrayElementType(), context) + "[]";