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