The QPen class defines how a QPainter should draw lines and outlines of shapes.
QPen
operator<<
QDataStream& operator>>(QDataStream& arg1, QPen& arg2)
void swap(QPen& value1, QPen& value2)