diff options
author | Renato Filho <renato.filho@openbossa.org> | 2011-06-20 15:18:22 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:15:26 -0300 |
commit | e80044aaca2f0769d65a18384df711006a519eb7 (patch) | |
tree | a86fb45d29ec3552c756bab72308b7a791a1e4c1 /generator/cppgenerator.h | |
parent | d08c86eebf68d049fe80795955fbcf1446e8b0f7 (diff) |
Implemented support to qt_metacast function on qobjects.
fixs bug #872.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
Diffstat (limited to 'generator/cppgenerator.h')
-rw-r--r-- | generator/cppgenerator.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/generator/cppgenerator.h b/generator/cppgenerator.h index a5709ec52..185380e4b 100644 --- a/generator/cppgenerator.h +++ b/generator/cppgenerator.h @@ -46,6 +46,7 @@ private: void writeDestructorNative(QTextStream& s, const AbstractMetaClass* metaClass); void writeVirtualMethodNative(QTextStream& s, const AbstractMetaFunction* func); void writeMetaObjectMethod(QTextStream& s, const AbstractMetaClass* metaClass); + void writeMetaCast(QTextStream& s, const AbstractMetaClass* metaClass); void writeConstructorWrapper(QTextStream &s, const AbstractMetaFunctionList overloads); void writeDestructorWrapper(QTextStream& s, const AbstractMetaClass* metaClass); |