Obsolete Members for QColor

The following members of class QColor are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

Public Functions

(obsolete) void getCmyk(int *c, int *m, int *y, int *k, int *a = nullptr)
(obsolete) void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = nullptr)

Member Function Documentation

void QColor::getCmyk(int *c, int *m, int *y, int *k, int *a = nullptr)

Use the const overload instead.

void QColor::getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = nullptr)

Use the const overload instead.