aboutsummaryrefslogtreecommitdiffstats
path: root/generator/cppgenerator.h
diff options
context:
space:
mode:
authorRenato Araujo Oliveira Filho <renato.filho@openbossa.org>2010-12-16 15:58:23 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:12:49 -0300
commita3e731a9ea920ec6e1373e6ad6c74724ce36575f (patch)
tree5196ec5be2b1cc33d726d0528fa61cf89f60f837 /generator/cppgenerator.h
parent36c80e6daab7b8d69458c1a8154f4a17ee1ea303 (diff)
Fix register type function to register the type with two names.
Fix signal register, to use arguments type name based on generated namespace. Fix bug #498.
Diffstat (limited to 'generator/cppgenerator.h')
-rw-r--r--generator/cppgenerator.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/generator/cppgenerator.h b/generator/cppgenerator.h
index 6e064dd4f..f2bc30e05 100644
--- a/generator/cppgenerator.h
+++ b/generator/cppgenerator.h
@@ -192,10 +192,14 @@ private:
void writeStdListWrapperMethods(QTextStream& s, const AbstractMetaClass* metaClass);
QString writeReprFunction(QTextStream& s, const AbstractMetaClass* metaClass);
+ void writeRegisterType(QTextStream& s, const AbstractMetaClass* metaClass);
+ void writeRegisterType(QTextStream& s, const AbstractMetaEnum* metaEnum);
+
// Maps special function names to function parameters and return types
// used by CPython API in the sequence protocol.
QHash<QString, QPair<QString, QString> > m_sequenceProtocol;
int m_currentErrorCode;
+
};
#endif // CPPGENERATOR_H