#include <QtOpenGL/qgl.h> #ifndef QGL_H class QGLWidget: public QWidget{ /* Some contents are skipped to improve readability */ public: static inline class QString tr(char const * s, char const * c, int n); /* ... */ }; #endif // QGL_H