Mercurial > projects > qtd
diff generator/generator.cpp @ 253:073b9153ed8a
Rev. 264 done right.
Problems:
- classwizard segfaults on exit due to a bug in signals/slots or runtime.
- hellogl doesn't compile with dmd2 due to a bug in the compiler backend
author | maxter |
---|---|
date | Sun, 30 Aug 2009 09:59:12 +0000 |
parents | ae34188ddd84 |
children | 17b5e13364b7 9784459f0750 |
line wrap: on
line diff
--- a/generator/generator.cpp Sat Aug 22 12:50:58 2009 +0000 +++ b/generator/generator.cpp Sun Aug 30 09:59:12 2009 +0000 @@ -193,21 +193,23 @@ return false; } -AbstractMetaFunctionList signalFunctions(const AbstractMetaClass *cls) +AbstractMetaFunctionList signalFunctions(const AbstractMetaClass *cls, bool includeBase) { AbstractMetaFunctionList r; if (cls->generateShellClass()) { - AbstractMetaClass *base = cls->baseClass(); - if (base) - r += signalFunctions(base); + if (includeBase) + { + AbstractMetaClass *base = cls->baseClass(); + if (base) + r += signalFunctions(base); + } foreach (AbstractMetaFunction *f, cls->functions()) { if (!f->isSignal() || cls != f->implementingClass() || notWrappedYet(f) -// qtd2 || f->isPrivate() // we want private signals to be accessible as well || f->isModifiedRemoved(TypeSystem::TargetLangCode)) continue;