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