#include <QtCore/qmetatype.h> template < > struct QMetaTypeId2 < class QObject* >{ /* This entity specializes QMetaTypeId2 */ /* Some contents are skipped to improve readability */ public: enum /*anonymous*/{ /* ... */ MetaType = 136, /* ... */ }; /* ... */ }; #endif // QMETATYPE_H