#include <QtCore/qvariant.h> #ifndef QVARIANT_H template < > class QTypeInfo < class QVariant >{ /* Some contents are skipped to improve readability */ public: enum /*anonymous*/{ /* ... */ isComplex = 1, /* ... */ }; /* ... */ }; #endif // QVARIANT_H