Little optimization: change parent = 0 to parent = nullptr
--HG-- branch : feature
This commit is contained in:
parent
da2c6d3242
commit
e1837d1b03
|
@ -46,7 +46,7 @@ class AbstractTest : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
explicit AbstractTest(QObject *parent = 0);
|
explicit AbstractTest(QObject *parent = nullptr);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void Comparison(const QVector<QPointF> &ekv, const QVector<QPointF> &ekvOrig) const;
|
void Comparison(const QVector<QPointF> &ekv, const QVector<QPointF> &ekvOrig) const;
|
||||||
|
|
|
@ -40,7 +40,7 @@ class TST_MeasurementRegExp : public AbstractTest
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
explicit TST_MeasurementRegExp(QObject *parent = 0);
|
explicit TST_MeasurementRegExp(QObject *parent = nullptr);
|
||||||
virtual ~TST_MeasurementRegExp() Q_DECL_OVERRIDE;
|
virtual ~TST_MeasurementRegExp() Q_DECL_OVERRIDE;
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
|
|
|
@ -35,7 +35,7 @@ class TST_NameRegExp : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
explicit TST_NameRegExp(QObject *parent = 0);
|
explicit TST_NameRegExp(QObject *parent = nullptr);
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,7 @@ class TST_QmuTokenParser : public QObject
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
Q_DISABLE_COPY(TST_QmuTokenParser)
|
Q_DISABLE_COPY(TST_QmuTokenParser)
|
||||||
explicit TST_QmuTokenParser(QObject *parent = 0);
|
explicit TST_QmuTokenParser(QObject *parent = nullptr);
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
void IsSingle_data();
|
void IsSingle_data();
|
||||||
|
|
|
@ -35,7 +35,7 @@ class TST_TapeCommandLine : public AbstractTest
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
explicit TST_TapeCommandLine(QObject *parent = 0);
|
explicit TST_TapeCommandLine(QObject *parent = nullptr);
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
void init();
|
void init();
|
||||||
|
|
|
@ -38,7 +38,7 @@ class TST_TSTranslation : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
explicit TST_TSTranslation(QObject *parent = 0);
|
explicit TST_TSTranslation(QObject *parent = nullptr);
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
void CheckEnglishLocalization();
|
void CheckEnglishLocalization();
|
||||||
|
|
|
@ -35,7 +35,7 @@ class TST_VAbstractDetail : public AbstractTest
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
explicit TST_VAbstractDetail(QObject *parent = 0);
|
explicit TST_VAbstractDetail(QObject *parent = nullptr);
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,7 @@ class TST_ValentinaCommandLine : public AbstractTest
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
explicit TST_ValentinaCommandLine(QObject *parent = 0);
|
explicit TST_ValentinaCommandLine(QObject *parent = nullptr);
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
void init();
|
void init();
|
||||||
|
|
|
@ -35,7 +35,7 @@ class TST_VArc : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
explicit TST_VArc(QObject *parent = 0);
|
explicit TST_VArc(QObject *parent = nullptr);
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
void CompareTwoWays();
|
void CompareTwoWays();
|
||||||
|
|
|
@ -35,13 +35,16 @@ class TST_VEllipticalArc : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
explicit TST_VEllipticalArc(QObject *parent = 0);
|
explicit TST_VEllipticalArc(QObject *parent = nullptr);
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
void CompareTwoWays();
|
void CompareTwoWays();
|
||||||
void NegativeArc();
|
void NegativeArc();
|
||||||
void TestGetPoints_data();
|
void TestGetPoints_data();
|
||||||
void TestGetPoints();
|
void TestGetPoints();
|
||||||
|
|
||||||
|
private:
|
||||||
|
Q_DISABLE_COPY(TST_VEllipticalArc)
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // TST_VELLIPTICALARC_H
|
#endif // TST_VELLIPTICALARC_H
|
||||||
|
|
|
@ -35,7 +35,7 @@ class TST_VLayoutDetail : public AbstractTest
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
explicit TST_VLayoutDetail(QObject *parent = 0);
|
explicit TST_VLayoutDetail(QObject *parent = nullptr);
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
void RemoveDublicates() const;
|
void RemoveDublicates() const;
|
||||||
|
|
|
@ -38,7 +38,7 @@ class TST_VPoster : public QObject
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit TST_VPoster(QObject *parent = 0);
|
explicit TST_VPoster(QObject *parent = nullptr);
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,7 @@ class TST_VSpline : public AbstractTest
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
explicit TST_VSpline(QObject *parent = 0);
|
explicit TST_VSpline(QObject *parent = nullptr);
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user