#include <QtCore/qmetatype.h> #ifndef QMETATYPE_H class QMetaType{ /* Some contents are skipped to improve readability */ public: static char const * typeName(int type); /* ... */ }; #endif // QMETATYPE_H