#include <QtOpenGL/qgl.h> #ifndef QGL_H class QGLContext{ /* Some contents are skipped to improve readability */ protected: uint colorIndex(class QColor const & c) const /* ... */ }; #endif // QGL_H