#include <QtGui/qpaintengine.h> #ifndef QPAINTENGINE_H class QPaintEngine{ /* Some contents are skipped to improve readability */ protected: struct QPaintEnginePrivate* d_ptr; /* ... */ }; #endif // QPAINTENGINE_H