#include <QtGui/qpaintengine.h> #ifndef QPAINTENGINE_H class QPaintEngine{ /* Some contents are skipped to improve readability */ public: enum Type{ /* ... */ OpenGL = 7, /* ... */ }; /* ... */ }; #endif // QPAINTENGINE_H