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