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