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