#include <QtGui/qstylepainter.h> #ifndef QSTYLEPAINTER_H class QStylePainter: public QPainter{ /* Some contents are skipped to improve readability */ private: QStylePainter(class QStylePainter const &); /* ... */ }; #endif // QSTYLEPAINTER_H