Decouple QColor from QColormap
They don't need to be BFFs. Change-Id: I7017347b348bd8e63dfb5f664c95597f84190e7c Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
parent
c7625d14df
commit
ecad0ca351
@ -16,7 +16,6 @@ QT_BEGIN_NAMESPACE
|
|||||||
|
|
||||||
|
|
||||||
class QColor;
|
class QColor;
|
||||||
class QColormap;
|
|
||||||
class QVariant;
|
class QVariant;
|
||||||
|
|
||||||
#ifndef QT_NO_DEBUG_STREAM
|
#ifndef QT_NO_DEBUG_STREAM
|
||||||
@ -256,7 +255,6 @@ private:
|
|||||||
ushort array[5];
|
ushort array[5];
|
||||||
} ct;
|
} ct;
|
||||||
|
|
||||||
friend class QColormap;
|
|
||||||
#ifndef QT_NO_DATASTREAM
|
#ifndef QT_NO_DATASTREAM
|
||||||
friend Q_GUI_EXPORT QDataStream &operator<<(QDataStream &, const QColor &);
|
friend Q_GUI_EXPORT QDataStream &operator<<(QDataStream &, const QColor &);
|
||||||
friend Q_GUI_EXPORT QDataStream &operator>>(QDataStream &, QColor &);
|
friend Q_GUI_EXPORT QDataStream &operator>>(QDataStream &, QColor &);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user