#include <QtGui/qbrush.h> #ifndef QBRUSH_H class QBrush{ /* Some contents are skipped to improve readability */ friend struct QPainter; /* ... */ }; #endif // QBRUSH_H