[Development] QMetaTypeId and QMetaTypeId2

Jedrzej Nowacki jedrzej.nowacki at nokia.com
Thu Feb 9 10:07:16 CET 2012


Hi,

  Does anybody know why we have separation between QMetaTypeId and 
QMetaTypeId2 classes? 

  QMetaTypeId2 delegates all operations to QMetaTypeId by default and 
qMetaTypeId() function is calling QMetaTypeId2. To make it more complex 
Q_DECLARE_METATYPE is specializing QMetaTypeId but Q_DECLARE_BUILTIN_METATYPE 
is specializing QMetTypeId2. From an user perspective it is not visible, but 
it makes implementation complex. 

  Can I merge QMetaTypeId and QMetaTypeId2?

Cheers,
  Jędrek

ps. Stats: "metatype" usage count: 12  which is about 2,4 per sentence.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120209/6e0021e1/attachment.html>


More information about the Development mailing list