#include <QtOpenGL/qglcolormap.h> #ifndef QGLCOLORMAP_H class QGLColormap{ /* Some contents are skipped to improve readability */ public: class QColor entryColor(int idx) const /* ... */ }; #endif // QGLCOLORMAP_H