#include <QtGui/qpainter.h> #ifndef QPAINTER_H class QPainter{ /* Some contents are skipped to improve readability */ public: inline void drawLines(class QVector < class QLine > const & lines); /* ... */ }; #endif // QPAINTER_H