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