Mercurial > projects > qtd
diff generator/cppheadergenerator.cpp @ 310:5bcfe9e7db7f lifetime
Committing local changes
author | maxter <spambox@d-coding.com> |
---|---|
date | Wed, 23 Dec 2009 16:10:46 +0200 |
parents | b5773ccab07d |
children |
line wrap: on
line diff
--- a/generator/cppheadergenerator.cpp Tue Sep 22 15:22:37 2009 +0000 +++ b/generator/cppheadergenerator.cpp Wed Dec 23 16:10:46 2009 +0200 @@ -250,7 +250,7 @@ s << "};" << endl << endl; if (!java_class->isQObject() && java_class->isPolymorphic() && java_class->baseClass()) - s << "extern \"C\" DLL_PUBLIC void* qtd_" << java_class->rootClass()->name() << "_dId(void *nativeId);" << endl; + s << "extern \"C\" DLL_PUBLIC void* qtd_" << java_class->polymorphicBase()->name() << "_dId(void *nativeId);" << endl; s << "#endif // " << include_block << endl;