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