[Qt-interest] qRegisterMetaType and namespaces

Thiago Macieira thiago.macieira at trolltech.com
Fri Sep 4 14:45:33 CEST 2009


Em Sexta-feira 04 Setembro 2009, às 14:34:15, Andre Somers escreveu:
>  Q_FLAGS(Options)
> 
> "Must be used"? Where? How? In a header, or in the implementation? Does
> this expand to anything, or is it supposed to be trigger moc somehow?
> And, more importantly in my case, not a word about stuff like namespaces.
> 
> Anybody any suggestions for the right incantation that I need to chant?

In the header, in the class, along with Q_OBJECT and any other eventual 
Q_ENUM, Q_CLASSINFO and Q_PROPERTY.

-- 
Thiago Macieira - thiago.macieira (AT) nokia.com
  Senior Product Manager - Nokia, Qt Development Frameworks
     Sandakerveien 116, NO-0402 Oslo, Norway

Qt Developer Days 2009 | Registration Now Open!
Munich, Germany: Oct 12 - 14     San Francisco, California: Nov 2 - 4
      http://qt.nokia.com/qtdevdays2009
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090904/09c0e9ff/attachment.bin 


More information about the Qt-interest-old mailing list