Refactoring.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2015-10-31 14:56:28 +02:00
parent f52d609b9c
commit 9aa8713203
21 changed files with 63 additions and 0 deletions

View File

@ -100,6 +100,9 @@ public:
bool isFlipped; bool isFlipped;
QString formulaLength; QString formulaLength;
private:
VArcData &operator=(const VArcData &) Q_DECL_EQ_DELETE;
}; };
VArcData::~VArcData() VArcData::~VArcData()

View File

@ -69,6 +69,9 @@ public:
/** @brief mode object created in calculation or drawing mode */ /** @brief mode object created in calculation or drawing mode */
Draw mode; Draw mode;
private:
VGObjectData &operator=(const VGObjectData &) Q_DECL_EQ_DELETE;
}; };
VGObjectData::~VGObjectData() VGObjectData::~VGObjectData()

View File

@ -75,6 +75,9 @@ public:
/** @brief _y y coordinate */ /** @brief _y y coordinate */
qreal _y; qreal _y;
private:
VPointFData &operator=(const VPointFData &) Q_DECL_EQ_DELETE;
}; };
VPointFData::~VPointFData() VPointFData::~VPointFData()

View File

@ -113,6 +113,9 @@ public:
/** @brief kCurve coefficient of curvature spline. */ /** @brief kCurve coefficient of curvature spline. */
qreal kCurve; qreal kCurve;
private:
VSplineData &operator=(const VSplineData &) Q_DECL_EQ_DELETE;
}; };
VSplineData::~VSplineData() VSplineData::~VSplineData()

View File

@ -63,6 +63,9 @@ public:
* @brief kCurve coefficient of curvature spline. * @brief kCurve coefficient of curvature spline.
*/ */
qreal kCurve; qreal kCurve;
private:
VSplinePathData &operator=(const VSplinePathData &) Q_DECL_EQ_DELETE;
}; };
VSplinePathData::~VSplinePathData() VSplinePathData::~VSplinePathData()

View File

@ -78,6 +78,9 @@ public:
/** @brief kAsm2 coefficient of length second control line. */ /** @brief kAsm2 coefficient of length second control line. */
qreal kAsm2; qreal kAsm2;
private:
VSplinePointData &operator=(const VSplinePointData &) Q_DECL_EQ_DELETE;
}; };
VSplinePointData::~VSplinePointData() VSplinePointData::~VSplinePointData()

View File

@ -63,6 +63,9 @@ public:
bool closed; bool closed;
/** @brief width value seamAllowance in mm. */ /** @brief width value seamAllowance in mm. */
qreal width; qreal width;
private:
VAbstractDetailData &operator=(const VAbstractDetailData &) Q_DECL_EQ_DELETE;
}; };
#ifdef Q_CC_GNU #ifdef Q_CC_GNU

View File

@ -65,6 +65,9 @@ public:
int paperWidth; int paperWidth;
quint32 shift; quint32 shift;
private:
VContourData &operator=(const VContourData &) Q_DECL_EQ_DELETE;
}; };
#ifdef Q_CC_GNU #ifdef Q_CC_GNU

View File

@ -71,6 +71,9 @@ public:
qreal layoutWidth; qreal layoutWidth;
bool mirror; bool mirror;
private:
VLayoutDetailData &operator=(const VLayoutDetailData &) Q_DECL_EQ_DELETE;
}; };
#ifdef Q_CC_GNU #ifdef Q_CC_GNU

View File

@ -74,6 +74,9 @@ public:
bool rotate; bool rotate;
int rotationIncrease; int rotationIncrease;
bool saveLength; bool saveLength;
private:
VLayoutPaperData &operator=(const VLayoutPaperData &) Q_DECL_EQ_DELETE;
}; };
#ifdef Q_CC_GNU #ifdef Q_CC_GNU

View File

@ -55,6 +55,9 @@ public:
virtual ~VArcRadiusData() Q_DECL_OVERRIDE; virtual ~VArcRadiusData() Q_DECL_OVERRIDE;
quint32 arcId; quint32 arcId;
private:
VArcRadiusData &operator=(const VArcRadiusData &) Q_DECL_EQ_DELETE;
}; };
VArcRadiusData::~VArcRadiusData() VArcRadiusData::~VArcRadiusData()

View File

@ -58,6 +58,9 @@ public:
quint32 id; quint32 id;
quint32 parentId; quint32 parentId;
private:
VCurveVariableData &operator=(const VCurveVariableData &) Q_DECL_EQ_DELETE;
}; };
VCurveVariableData::~VCurveVariableData() VCurveVariableData::~VCurveVariableData()

View File

@ -62,6 +62,9 @@ public:
QString formula; QString formula;
bool formulaOk; bool formulaOk;
VContainer data; VContainer data;
private:
VIncrementData &operator=(const VIncrementData &) Q_DECL_EQ_DELETE;
}; };
VIncrementData::~VIncrementData() VIncrementData::~VIncrementData()

View File

@ -57,6 +57,9 @@ public:
qreal value; qreal value;
QString name; QString name;
private:
VInternalVariableData &operator=(const VInternalVariableData &) Q_DECL_EQ_DELETE;
}; };
VInternalVariableData::~VInternalVariableData() VInternalVariableData::~VInternalVariableData()

View File

@ -58,6 +58,9 @@ public:
quint32 p1Id; quint32 p1Id;
quint32 p2Id; quint32 p2Id;
private:
VLineAngleData &operator=(const VLineAngleData &) Q_DECL_EQ_DELETE;
}; };
VLineAngleData::~VLineAngleData() VLineAngleData::~VLineAngleData()

View File

@ -59,6 +59,9 @@ public:
quint32 p1Id; quint32 p1Id;
quint32 p2Id; quint32 p2Id;
Unit patternUnit; Unit patternUnit;
private:
VLengthLineData &operator=(const VLengthLineData &) Q_DECL_EQ_DELETE;
}; };
VLengthLineData::~VLengthLineData() VLengthLineData::~VLengthLineData()

View File

@ -65,6 +65,9 @@ public:
QString gui_text; QString gui_text;
QString _tagName; QString _tagName;
bool formulaOk; bool formulaOk;
private:
VMeasurementData &operator=(const VMeasurementData &) Q_DECL_EQ_DELETE;
}; };
VMeasurementData::~VMeasurementData() VMeasurementData::~VMeasurementData()

View File

@ -75,6 +75,9 @@ public:
qreal baseSize; qreal baseSize;
qreal baseHeight; qreal baseHeight;
private:
VVariableData &operator=(const VVariableData &) Q_DECL_EQ_DELETE;
}; };
VVariableData::~VVariableData() VVariableData::~VVariableData()

View File

@ -84,6 +84,9 @@ public:
const VTranslateVars *trVars; const VTranslateVars *trVars;
const Unit *patternUnit; const Unit *patternUnit;
private:
VContainerData &operator=(const VContainerData &) Q_DECL_EQ_DELETE;
}; };
#if defined(Q_CC_INTEL) #if defined(Q_CC_INTEL)

View File

@ -66,6 +66,9 @@ public:
/** @brief my bias y axis. */ /** @brief my bias y axis. */
qreal my; qreal my;
private:
VDetailData &operator=(const VDetailData &) Q_DECL_EQ_DELETE;
}; };
#ifdef Q_CC_GNU #ifdef Q_CC_GNU

View File

@ -79,6 +79,9 @@ public:
* @brief reverse true if need reverse points list for node. * @brief reverse true if need reverse points list for node.
*/ */
bool reverse; bool reverse;
private:
VNodeDetailData &operator=(const VNodeDetailData &) Q_DECL_EQ_DELETE;
}; };
#ifdef Q_CC_GNU #ifdef Q_CC_GNU