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