#include <QtGui/qpaintengine.h> #ifndef QPAINTENGINE_H class QPaintEngine{ /* Some contents are skipped to improve readability */ public: virtual void drawPath(struct QPainterPath const & path); /* ... */ }; #endif // QPAINTENGINE_H