#include <QtGui/qpaintengine.h> #ifndef QPAINTENGINE_H class QPaintEngineState{ /* Some contents are skipped to improve readability */ public: class QBrush brush() const /* ... */ }; #endif // QPAINTENGINE_H