#include <QtOpenGL/qgl.h>
#ifndef QGL_H
class QGLFormat{
   /* Some contents are skipped to improve readability */
   public: typedef class QFlags < enum QGLFormat::OpenGLVersionFlag > OpenGLVersionFlags;
   /* ... */
};
#endif // QGL_H