diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2011-07-29 03:17:02 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:17:06 -0300 |
commit | 29183ffe770ff7738c5eebc5480ca956c4fe086f (patch) | |
tree | 23e32626c312edee178abd3d9cf7b87df6d73b64 /generator/cppgenerator.h | |
parent | 34395eeb8c57f2225c7f20b9e20f9d92f2131ce7 (diff) |
Improved coding style in the terrible writeStdListWrapperMethods method.
Diffstat (limited to 'generator/cppgenerator.h')
-rw-r--r-- | generator/cppgenerator.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/generator/cppgenerator.h b/generator/cppgenerator.h index 19e8f0c50..a324422df 100644 --- a/generator/cppgenerator.h +++ b/generator/cppgenerator.h @@ -219,6 +219,9 @@ private: /// Write default implementations for sequence protocol void writeStdListWrapperMethods(QTextStream& s, const AbstractMetaClass* metaClass); + /// Helper function for writeStdListWrapperMethods. + void writeIndexError(QTextStream& s, const QString& errorMsg); + QString writeReprFunction(QTextStream& s, const AbstractMetaClass* metaClass); void writeRegisterType(QTextStream& s, const AbstractMetaClass* metaClass); |