aboutsummaryrefslogtreecommitdiffstats
path: root/cppgenerator.h
diff options
context:
space:
mode:
authorRenato Filho <renato.filho@openbossa.org>2010-08-30 19:10:22 -0300
committerRenato Filho <renato.filho@openbossa.org>2010-08-30 19:39:49 -0300
commitf942fd1bfa1f0c9ec38775f0c5224dd89002d2aa (patch)
tree60cd816dd7904229beff3f95ce6c4a0c955ff1e4 /cppgenerator.h
parent2ca00ccaa21c99f99da4cd610dee3c1f56d34565 (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.h3
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;