#include <QtGui/qcolormap.h>
#ifndef QCOLORMAP_H
class QColormap{
   /* Some contents are skipped to improve readability */
   public: enum Mode{
      /* ... */
      Gray = 2,
      /* ... */
   };
   /* ... */
};
#endif // QCOLORMAP_H