#include <QtOpenGL/qgl.h> #ifndef QGL_H class QGLWidget: public QWidget{ /* Some contents are skipped to improve readability */ public: GLuint bindTexture(class QPixmap const & pixmap, GLenum target = 3553, GLint format = 6408); /* ... */ }; #endif // QGL_H