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:
Tor Arne Vestbø 2025-06-03 00:00:20 +02:00
parent c7625d14df
commit ecad0ca351

View File

@ -16,7 +16,6 @@ QT_BEGIN_NAMESPACE
class QColor;
class QColormap;
class QVariant;
#ifndef QT_NO_DEBUG_STREAM
@ -256,7 +255,6 @@ private:
ushort array[5];
} ct;
friend class QColormap;
#ifndef QT_NO_DATASTREAM
friend Q_GUI_EXPORT QDataStream &operator<<(QDataStream &, const QColor &);
friend Q_GUI_EXPORT QDataStream &operator>>(QDataStream &, QColor &);