aboutsummaryrefslogtreecommitdiffstats
path: root/cppgenerator.h
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2009-09-11 15:46:18 -0300
committerHugo Lima <hugo.lima@openbossa.org>2009-09-11 15:46:18 -0300
commita79deb363718cda61416ac2796350b40a93fb8df (patch)
tree8f3330a92d7ace34e7c7328a4b65af550b9a5311 /cppgenerator.h
parent6e4832a0c0fb772d1ccbb51b5b351d007df0c3fb (diff)
- Fix CppGenerator::writeMinimalConstructorCallArguments to support containers.
- Detect QObject and QFlags as non trivial types and use the Converter before call Py_BuildValue with them.
Diffstat (limited to 'cppgenerator.h')
-rw-r--r--cppgenerator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cppgenerator.h b/cppgenerator.h
index af4da26f6..80de38563 100644
--- a/cppgenerator.h
+++ b/cppgenerator.h
@@ -51,7 +51,7 @@ private:
void writeConstructorWrapper(QTextStream &s, const AbstractMetaFunctionList overloads);
void writeDestructorWrapper(QTextStream& s, const AbstractMetaClass* metaClass);
void writeMinimalConstructorCallArguments(QTextStream& s, const AbstractMetaClass* metaClass);
- void writeMinimalConstructorCallArguments(QTextStream& s, const TypeEntry* type);
+ void writeMinimalConstructorCallArguments(QTextStream& s, const AbstractMetaType* type);
void writeMethodWrapper(QTextStream &s, const AbstractMetaFunctionList overloads);
void writeArgumentsInitializer(QTextStream& s, OverloadData& overloadData);