#include <QtGui/qcolormap.h>
#ifndef QCOLORMAP_H
class QColormap{
public: enum Mode{
Direct = 0,
Indexed = 1,
Gray = 2,
};
public: static void initialize();
public: static void cleanup();
public: static class QColormap instance(int screen = -1);
public: QColormap(class QColormap const & colormap);
public: ~QColormap();
public: class QColormap& operator =(class QColormap const & colormap);
public: enum QColormap::Mode mode() const
public: int depth() const
public: int size() const
public: uint pixel(struct QColor const & color) const
public: struct QColor const colorAt(uint pixel) const
public: class QVector < struct QColor > const colormap() const
private: QColormap();
private: struct QColormapPrivate* d;
};
#endif // QCOLORMAP_H