Open Source 2D CAD
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RColor.cpp File Reference
#include <QPainter>
#include <QPixmap>
#include <QBrush>
#include "RColor.h"
#include "RCircle.h"
#include "RDebug.h"
#include "RMath.h"
#include "RColorCodes.h"


QDebug operator<< (QDebug dbg, const RColor &c)
 Stream operator for QDebug.
QDataStream & operator<< (QDataStream &stream, const RColor &color)
 Serializes the given RColor object.
QDataStream & operator>> (QDataStream &stream, RColor &color)
 Deserializes the given RColor object.

Function Documentation

QDebug operator<< ( QDebug  dbg,
const RColor c 

Stream operator for QDebug.

QDataStream& operator<< ( QDataStream &  stream,
const RColor color 

Serializes the given RColor object.

Used for RSettings, keep in sync with operator>>.

QDataStream& operator>> ( QDataStream &  stream,
RColor color 

Deserializes the given RColor object.

This function is not available in script environments.