aboutsummaryrefslogtreecommitdiffstats
path: root/headergenerator.h
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-09-01 14:40:15 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2010-09-01 16:38:59 -0300
commit7d38f877d69fe44dbe7c36fb15cd477acccb4500 (patch)
tree6a5972b53afc68327047785937a3ed53cf67b79d /headergenerator.h
parent2a5ad3e48e5a148bc87bd6dbb74c695dd352a79a (diff)
Fix bug#316 - "QAbstractItemModel.createIndex is broken"
Use SbkNumber_Check instead of PyNumber_Check, because PyNumber_Check returns true for all user types. This commit also disable the generation of _Check macros and replaces all entries with Converter<T>::checkType. Those changes are on the same commit because SbkNumber_Check conflicts with a macro generated by "other" binding which binds a type named "Number". Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
Diffstat (limited to 'headergenerator.h')
-rw-r--r--headergenerator.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/headergenerator.h b/headergenerator.h
index 22dced489..c1f56b00e 100644
--- a/headergenerator.h
+++ b/headergenerator.h
@@ -42,7 +42,6 @@ private:
void writeFunction(QTextStream& s, const AbstractMetaFunction* func) const;
void writePureVirtualEmptyImpl(QTextStream& , const AbstractMetaFunction* func) const;
void writeDefaultImplementation(QTextStream& s, const AbstractMetaFunction* func) const;
- void writeTypeCheckMacro(QTextStream& s, const TypeEntry* type);
void writeTypeConverterDecl(QTextStream& s, const TypeEntry* type);
void writeSbkTypeFunction(QTextStream& s, const AbstractMetaEnum* cppEnum);
void writeSbkTypeFunction(QTextStream& s, const AbstractMetaClass* cppClass);