#include <QtGui/qpen.h> #ifndef QPEN_H class QPen{ /* Some contents are skipped to improve readability */ public: qreal widthF() const /* ... */ }; #endif // QPEN_H