Hide diagnostic "-Weffc++" for private shared data.
--HG-- branch : develop
This commit is contained in:
parent
5ab476319a
commit
b61b705303
|
@ -38,6 +38,11 @@
|
||||||
#include <QCoreApplication>
|
#include <QCoreApplication>
|
||||||
#include <QHash>
|
#include <QHash>
|
||||||
|
|
||||||
|
#ifdef Q_CC_GNU
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#pragma GCC diagnostic ignored "-Weffc++"
|
||||||
|
#endif
|
||||||
|
|
||||||
class VContainerData : public QSharedData
|
class VContainerData : public QSharedData
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -71,6 +76,10 @@ public:
|
||||||
QHash<quint32, VDetail> details;
|
QHash<quint32, VDetail> details;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifdef Q_CC_GNU
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief The VContainer class container of all variables.
|
* @brief The VContainer class container of all variables.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -31,6 +31,11 @@
|
||||||
|
|
||||||
#include <QSharedData>
|
#include <QSharedData>
|
||||||
|
|
||||||
|
#ifdef Q_CC_GNU
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#pragma GCC diagnostic ignored "-Weffc++"
|
||||||
|
#endif
|
||||||
|
|
||||||
class VCurveLengthData : public QSharedData
|
class VCurveLengthData : public QSharedData
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -53,5 +58,8 @@ public:
|
||||||
quint32 parentId;
|
quint32 parentId;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifdef Q_CC_GNU
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // VCURVELENGTH_P_H
|
#endif // VCURVELENGTH_P_H
|
||||||
|
|
|
@ -31,6 +31,11 @@
|
||||||
|
|
||||||
#include <QSharedData>
|
#include <QSharedData>
|
||||||
|
|
||||||
|
#ifdef Q_CC_GNU
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#pragma GCC diagnostic ignored "-Weffc++"
|
||||||
|
#endif
|
||||||
|
|
||||||
class VIncrementData : public QSharedData
|
class VIncrementData : public QSharedData
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -53,5 +58,8 @@ public:
|
||||||
quint32 id;
|
quint32 id;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifdef Q_CC_GNU
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // VINCREMENT_P_H
|
#endif // VINCREMENT_P_H
|
||||||
|
|
|
@ -32,6 +32,11 @@
|
||||||
#include <QSharedData>
|
#include <QSharedData>
|
||||||
#include "../options.h"
|
#include "../options.h"
|
||||||
|
|
||||||
|
#ifdef Q_CC_GNU
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#pragma GCC diagnostic ignored "-Weffc++"
|
||||||
|
#endif
|
||||||
|
|
||||||
class VInternalVariableData : public QSharedData
|
class VInternalVariableData : public QSharedData
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -54,5 +59,8 @@ public:
|
||||||
QString name;
|
QString name;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifdef Q_CC_GNU
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // VINTERNALVARIABLE_P_H
|
#endif // VINTERNALVARIABLE_P_H
|
||||||
|
|
|
@ -31,6 +31,11 @@
|
||||||
|
|
||||||
#include <QSharedData>
|
#include <QSharedData>
|
||||||
|
|
||||||
|
#ifdef Q_CC_GNU
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#pragma GCC diagnostic ignored "-Weffc++"
|
||||||
|
#endif
|
||||||
|
|
||||||
class VLineAngleData : public QSharedData
|
class VLineAngleData : public QSharedData
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -53,5 +58,8 @@ public:
|
||||||
quint32 p2Id;
|
quint32 p2Id;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifdef Q_CC_GNU
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // VLINEANGLE_P_H
|
#endif // VLINEANGLE_P_H
|
||||||
|
|
|
@ -31,6 +31,11 @@
|
||||||
|
|
||||||
#include <QSharedData>
|
#include <QSharedData>
|
||||||
|
|
||||||
|
#ifdef Q_CC_GNU
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#pragma GCC diagnostic ignored "-Weffc++"
|
||||||
|
#endif
|
||||||
|
|
||||||
class VLengthLineData : public QSharedData
|
class VLengthLineData : public QSharedData
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -53,5 +58,8 @@ public:
|
||||||
quint32 p2Id;
|
quint32 p2Id;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifdef Q_CC_GNU
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // VLINELENGTH_P_H
|
#endif // VLINELENGTH_P_H
|
||||||
|
|
|
@ -31,6 +31,11 @@
|
||||||
|
|
||||||
#include <QSharedData>
|
#include <QSharedData>
|
||||||
|
|
||||||
|
#ifdef Q_CC_GNU
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#pragma GCC diagnostic ignored "-Weffc++"
|
||||||
|
#endif
|
||||||
|
|
||||||
class VMeasurementData : public QSharedData
|
class VMeasurementData : public QSharedData
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -55,5 +60,8 @@ public:
|
||||||
QString _tagName;
|
QString _tagName;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifdef Q_CC_GNU
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // VMEASUREMENT_P_H
|
#endif // VMEASUREMENT_P_H
|
||||||
|
|
|
@ -31,6 +31,11 @@
|
||||||
|
|
||||||
#include <QSharedData>
|
#include <QSharedData>
|
||||||
|
|
||||||
|
#ifdef Q_CC_GNU
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#pragma GCC diagnostic ignored "-Weffc++"
|
||||||
|
#endif
|
||||||
|
|
||||||
class VVariableData : public QSharedData
|
class VVariableData : public QSharedData
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -66,4 +71,8 @@ public:
|
||||||
QString description;
|
QString description;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifdef Q_CC_GNU
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // VVARIABLE_P_H
|
#endif // VVARIABLE_P_H
|
||||||
|
|
|
@ -33,6 +33,11 @@
|
||||||
#include "../options.h"
|
#include "../options.h"
|
||||||
#include "vpointf.h"
|
#include "vpointf.h"
|
||||||
|
|
||||||
|
#ifdef Q_CC_GNU
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#pragma GCC diagnostic ignored "-Weffc++"
|
||||||
|
#endif
|
||||||
|
|
||||||
class VArcData : public QSharedData
|
class VArcData : public QSharedData
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -86,4 +91,8 @@ public:
|
||||||
VPointF center;
|
VPointF center;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifdef Q_CC_GNU
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // VARC_P_H
|
#endif // VARC_P_H
|
||||||
|
|
|
@ -33,6 +33,11 @@
|
||||||
#include "../options.h"
|
#include "../options.h"
|
||||||
#include "vnodedetail.h"
|
#include "vnodedetail.h"
|
||||||
|
|
||||||
|
#ifdef Q_CC_GNU
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#pragma GCC diagnostic ignored "-Weffc++"
|
||||||
|
#endif
|
||||||
|
|
||||||
class VDetailData : public QSharedData
|
class VDetailData : public QSharedData
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -86,4 +91,8 @@ public:
|
||||||
qreal width;
|
qreal width;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifdef Q_CC_GNU
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // VDETAIL_P_H
|
#endif // VDETAIL_P_H
|
||||||
|
|
|
@ -32,6 +32,11 @@
|
||||||
#include <QSharedData>
|
#include <QSharedData>
|
||||||
#include "../options.h"
|
#include "../options.h"
|
||||||
|
|
||||||
|
#ifdef Q_CC_GNU
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#pragma GCC diagnostic ignored "-Weffc++"
|
||||||
|
#endif
|
||||||
|
|
||||||
class VGObjectData : public QSharedData
|
class VGObjectData : public QSharedData
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -65,4 +70,8 @@ public:
|
||||||
Draw mode;
|
Draw mode;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifdef Q_CC_GNU
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // VGOBJECT_P_H
|
#endif // VGOBJECT_P_H
|
||||||
|
|
|
@ -32,6 +32,11 @@
|
||||||
#include <QSharedData>
|
#include <QSharedData>
|
||||||
#include "../options.h"
|
#include "../options.h"
|
||||||
|
|
||||||
|
#ifdef Q_CC_GNU
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#pragma GCC diagnostic ignored "-Weffc++"
|
||||||
|
#endif
|
||||||
|
|
||||||
class VNodeDetailData : public QSharedData
|
class VNodeDetailData : public QSharedData
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -71,4 +76,8 @@ public:
|
||||||
qreal my;
|
qreal my;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifdef Q_CC_GNU
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // VNODEDETAIL_P_H
|
#endif // VNODEDETAIL_P_H
|
||||||
|
|
|
@ -33,6 +33,11 @@
|
||||||
#include "../options.h"
|
#include "../options.h"
|
||||||
#include <QPointF>
|
#include <QPointF>
|
||||||
|
|
||||||
|
#ifdef Q_CC_GNU
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#pragma GCC diagnostic ignored "-Weffc++"
|
||||||
|
#endif
|
||||||
|
|
||||||
class VPointFData : public QSharedData
|
class VPointFData : public QSharedData
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -72,5 +77,8 @@ public:
|
||||||
qreal _y;
|
qreal _y;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifdef Q_CC_GNU
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // VPOINTF_P_H
|
#endif // VPOINTF_P_H
|
||||||
|
|
|
@ -34,6 +34,11 @@
|
||||||
#include "vpointf.h"
|
#include "vpointf.h"
|
||||||
#include <QLineF>
|
#include <QLineF>
|
||||||
|
|
||||||
|
#ifdef Q_CC_GNU
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#pragma GCC diagnostic ignored "-Weffc++"
|
||||||
|
#endif
|
||||||
|
|
||||||
class VSplineData : public QSharedData
|
class VSplineData : public QSharedData
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -110,5 +115,8 @@ public:
|
||||||
qreal kCurve;
|
qreal kCurve;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifdef Q_CC_GNU
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // VSPLINE_P_H
|
#endif // VSPLINE_P_H
|
||||||
|
|
|
@ -33,6 +33,11 @@
|
||||||
#include "../options.h"
|
#include "../options.h"
|
||||||
#include "vsplinepoint.h"
|
#include "vsplinepoint.h"
|
||||||
|
|
||||||
|
#ifdef Q_CC_GNU
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#pragma GCC diagnostic ignored "-Weffc++"
|
||||||
|
#endif
|
||||||
|
|
||||||
class VSplinePathData : public QSharedData
|
class VSplinePathData : public QSharedData
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -65,5 +70,8 @@ public:
|
||||||
qint32 maxCountPoints;
|
qint32 maxCountPoints;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifdef Q_CC_GNU
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // VSPLINEPATH_P_H
|
#endif // VSPLINEPATH_P_H
|
||||||
|
|
|
@ -33,6 +33,11 @@
|
||||||
#include "../options.h"
|
#include "../options.h"
|
||||||
#include "vpointf.h"
|
#include "vpointf.h"
|
||||||
|
|
||||||
|
#ifdef Q_CC_GNU
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#pragma GCC diagnostic ignored "-Weffc++"
|
||||||
|
#endif
|
||||||
|
|
||||||
class VSplinePointData : public QSharedData
|
class VSplinePointData : public QSharedData
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -75,5 +80,8 @@ public:
|
||||||
qreal kAsm2;
|
qreal kAsm2;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifdef Q_CC_GNU
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // VSPLINEPOINT_P_H
|
#endif // VSPLINEPOINT_P_H
|
||||||
|
|
Loading…
Reference in New Issue
Block a user