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