#include <QtGui/qpaintengine.h> #ifndef QPAINTENGINE_H class QPaintEngine{ /* Some contents are skipped to improve readability */ public: inline bool hasFeature(class QFlags < enum QPaintEngine::PaintEngineFeature > feature) const /* ... */ }; #endif // QPAINTENGINE_H