#include <QtCore/qmetatype.h> #ifndef QMETATYPE_H class QMetaType{ /* Some contents are skipped to improve readability */ public: enum Type{ /* ... */ QPolygon = 71, /* ... */ }; /* ... */ }; #endif // QMETATYPE_H