66 qt_mac_global_map = 0;
100 {
return color.
rgba(); }
The QColor class provides colors based on RGB, HSV or CMYK values.
static QColormap instance(int screen=-1)
#define QT_END_NAMESPACE
This macro expands to.
The QAtomicInt class provides platform-independent atomic operations on integers. ...
bool ref()
Atomically increments the value of this QAtomicInt.
static QColormap * qt_mac_global_map
#define QT_BEGIN_NAMESPACE
This macro expands to.
const QColor colorAt(uint pixel) const
bool deref()
Atomically decrements the value of this QAtomicInt.
QColormap & operator=(const QColormap &colormap)
uint pixel(const QColor &color) const
const QVector< QColor > colormap() const
void qAtomicAssign(T *&d, T *x)
This is a helper for the assignment operators of implicitly shared classes.
QColormap()
Constructs a new colormap.
QRgb rgba() const
Returns the RGB value of the color, including its alpha.