aboutsummaryrefslogtreecommitdiffstats
path: root/generator/cppgenerator.h
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2011-02-15 16:35:01 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:13:54 -0300
commit97b09244d0361296bae44c3ee63a1d2b2957d07f (patch)
treeda7781cc1d21d31fea7713941410b29c9d7691ad /generator/cppgenerator.h
parent0c16d86214abf7d5dc8495f42a8823382b59d481 (diff)
Fix bug 684 - "New-style signals does not accept signals with enums as arguments."
Diffstat (limited to 'generator/cppgenerator.h')
-rw-r--r--generator/cppgenerator.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/generator/cppgenerator.h b/generator/cppgenerator.h
index 279ff8724..d7674385b 100644
--- a/generator/cppgenerator.h
+++ b/generator/cppgenerator.h
@@ -169,6 +169,8 @@ private:
void writeParentChildManagement(QTextStream& s, const AbstractMetaFunction* func, bool userHeuristicForReturn);
bool writeParentChildManagement(QTextStream& s, const AbstractMetaFunction* func, int argIndex, bool userHeuristicPolicy);
void writeReturnValueHeuristics(QTextStream& s, const AbstractMetaFunction* func, const QString& self = "self");
+ void writeInitQtMetaTypeFunctionBody(QTextStream& s, const AbstractMetaClass* metaClass) const;
+
/**
* Returns the multiple inheritance initializer function for the given class.
* \param metaClass the class for whom the function name must be generated.