aboutsummaryrefslogtreecommitdiffstats
path: root/generator/cppgenerator.h
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2011-08-01 00:03:07 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:17:07 -0300
commitbb95046f7cb7a06e52bc5e6f3cb9eff4271ecbf0 (patch)
tree5632dba96a18a3212a42cf5675db58dd53944ecd /generator/cppgenerator.h
parent967961a9d3e96854d256206bb813ab3bde4409c3 (diff)
Revamped the virtual method writer.
It's way less messy now, and uses writeTypeCheck() as it should have been doing from the beginning.
Diffstat (limited to 'generator/cppgenerator.h')
-rw-r--r--generator/cppgenerator.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/generator/cppgenerator.h b/generator/cppgenerator.h
index cd8cfb97b..841a983f4 100644
--- a/generator/cppgenerator.h
+++ b/generator/cppgenerator.h
@@ -44,7 +44,10 @@ protected:
private:
void writeConstructorNative(QTextStream& s, const AbstractMetaFunction* func);
void writeDestructorNative(QTextStream& s, const AbstractMetaClass* metaClass);
+
+ QString getVirtualFunctionReturnTypeName(const AbstractMetaFunction* func);
void writeVirtualMethodNative(QTextStream& s, const AbstractMetaFunction* func);
+
void writeMetaObjectMethod(QTextStream& s, const AbstractMetaClass* metaClass);
void writeMetaCast(QTextStream& s, const AbstractMetaClass* metaClass);