#include <QtGui/qpen.h> #ifndef QPEN_H class QPen{ /* Some contents are skipped to improve readability */ public: void setCapStyle(enum Qt::PenCapStyle pcs); /* ... */ }; #endif // QPEN_H