#include <QtGui/qpen.h> #ifndef QPEN_H template < > class QTypeInfo < class QPen >{ /* Some contents are skipped to improve readability */ public: static inline char const * name(); /* ... */ }; #endif // QPEN_H