Mercurial > projects > qtd
comparison generator/containergenerator.cpp @ 372:a032df77b6ab
Simple debug helper. Unittests. Meta-object for polymorphic non-QObjects
author | Max Samukha <maxter@spambox.com> |
---|---|
date | Thu, 08 Jul 2010 17:19:05 +0300 |
parents | 9784459f0750 |
children | d2f48c4cb3e3 |
comparison
equal
deleted
inserted
replaced
370:7fd4b69378bf | 372:a032df77b6ab |
---|---|
398 cpp_type = "void*"; | 398 cpp_type = "void*"; |
399 cpp_assign_type = cpp_type + "*"; | 399 cpp_assign_type = cpp_type + "*"; |
400 d_type = cls_name; | 400 d_type = cls_name; |
401 if (centry->designatedInterface()) | 401 if (centry->designatedInterface()) |
402 d_type = centry->designatedInterface()->name(); | 402 d_type = centry->designatedInterface()->name(); |
403 nativeId = ".__nativeId"; | 403 nativeId = ".qtdNativeId"; |
404 } | 404 } |
405 | 405 |
406 if (centry->designatedInterface()) { | 406 if (centry->designatedInterface()) { |
407 type_name = centry->designatedInterface()->name(); | 407 type_name = centry->designatedInterface()->name(); |
408 nativeId = ".__ptr_" + type_name; | 408 nativeId = ".__ptr_" + type_name; |