#include <QtGui/qcolormap.h> #ifndef QCOLORMAP_H class QColormap{ /* Some contents are skipped to improve readability */ public: struct QColor const colorAt(uint pixel) const /* ... */ }; #endif // QCOLORMAP_H