Mercurial > projects > qtd
diff generator/generator.cpp @ 257:17b5e13364b7 lifetime
(none)
author | maxter |
---|---|
date | Wed, 16 Sep 2009 13:56:02 +0000 |
parents | 073b9153ed8a |
children |
line wrap: on
line diff
--- a/generator/generator.cpp Mon Aug 31 12:07:28 2009 +0000 +++ b/generator/generator.cpp Wed Sep 16 13:56:02 2009 +0000 @@ -61,6 +61,24 @@ .arg(metaObject()->className())); return; } + + { + FileOut fileOut("temp.txt"); + foreach (AbstractMetaClass *cls, m_classes) { + + fileOut.stream << cls->name(); + if (cls->typeEntry()->isValue()) + fileOut.stream << ", value"; + if (cls->isQObject()) + fileOut.stream << ", QObject"; + else if (cls->typeEntry()->isObject()) + fileOut.stream << ", object"; + if (cls->hasVirtualFunctions()) + fileOut.stream << ", polymorphic"; + fileOut.stream << endl; + + } + } foreach (AbstractMetaClass *cls, m_classes) {