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