#include <QtGui/qpaintengine.h> #ifndef QPAINTENGINE_H class QPaintEngine{ /* Some contents are skipped to improve readability */ public: virtual bool begin(class QPaintDevice* pdev) = 0; /* ... */ }; #endif // QPAINTENGINE_H