PointPort::PointPort(const PointPort &other) :Item(), mPointImpl() { mNeedScalingRect = other.mNeedScalingRect ; setPen(other.pen()); setBrush(other.brush()); mDomElementType = portType; setX1(other.x1()); setX2(other.x2()); setY1(other.y1()); setY2(other.y2()); mRadius = other.mRadius; mListScalePoint = other.mListScalePoint; mType = other.mType; setPos(other.x(), other.y()); }
PointPort::PointPort(PointPort const &other) :Item(), mPointImpl() { mNeedScalingRect = other.mNeedScalingRect ; mPen = other.mPen; mBrush = other.mBrush; mDomElementType = portType; mX1 = other.mX1; mX2 = other.mX2; mY1 = other.mY1; mY2 = other.mY2; mRadius = other.mRadius; mListScalePoint = other.mListScalePoint; mType = other.mType; setPos(other.x(), other.y()); }