#include <QtCore/qmetatype.h>
#ifndef QMETATYPE_H
template < typename T > struct QMetaTypeId2{
   /* Some contents are skipped to improve readability */
   public: enum /*anonymous*/{
      /* ... */
      Defined = 0,
      /* ... */
   };
   /* ... */
};
#endif // QMETATYPE_H