diff options
author | Renato Filho <renato.filho@openbossa.org> | 2010-08-30 19:10:22 -0300 |
---|---|---|
committer | Renato Filho <renato.filho@openbossa.org> | 2010-08-30 19:39:49 -0300 |
commit | f942fd1bfa1f0c9ec38775f0c5224dd89002d2aa (patch) | |
tree | 60cd816dd7904229beff3f95ce6c4a0c955ff1e4 /cppgenerator.h | |
parent | 2ca00ccaa21c99f99da4cd610dee3c1f56d34565 (diff) |
Impleted auto code for classes derived from list container.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
Diffstat (limited to 'cppgenerator.h')
-rw-r--r-- | cppgenerator.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cppgenerator.h b/cppgenerator.h index 0698f7355..75bcc9b5f 100644 --- a/cppgenerator.h +++ b/cppgenerator.h @@ -193,6 +193,9 @@ private: void writeHashFunction(QTextStream& s, const AbstractMetaClass* metaClass); void writeObjCopierFunction(QTextStream& s, const AbstractMetaClass* metaClass); + // Write default implementations for sequence protocol + void writeStdListWrapperMethods(QTextStream& s, const AbstractMetaClass* metaClass); + // 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; |