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