diff options
Diffstat (limited to 'tests/auto/corelib/animation')
5 files changed, 6 insertions, 6 deletions
diff --git a/tests/auto/corelib/animation/qanimationgroup/tst_qanimationgroup.cpp b/tests/auto/corelib/animation/qanimationgroup/tst_qanimationgroup.cpp index cf46d5c14e..fd1e288b4d 100644 --- a/tests/auto/corelib/animation/qanimationgroup/tst_qanimationgroup.cpp +++ b/tests/auto/corelib/animation/qanimationgroup/tst_qanimationgroup.cpp @@ -92,7 +92,7 @@ class UncontrolledAnimation : public QPropertyAnimation { Q_OBJECT public: - UncontrolledAnimation(QObject *target, const QByteArray &propertyName, QObject *parent = 0) + UncontrolledAnimation(QObject *target, const QByteArray &propertyName, QObject *parent = nullptr) : QPropertyAnimation(target, propertyName, parent), id(0) { setDuration(250); diff --git a/tests/auto/corelib/animation/qparallelanimationgroup/tst_qparallelanimationgroup.cpp b/tests/auto/corelib/animation/qparallelanimationgroup/tst_qparallelanimationgroup.cpp index fa30659d89..dab7a8cd6f 100644 --- a/tests/auto/corelib/animation/qparallelanimationgroup/tst_qparallelanimationgroup.cpp +++ b/tests/auto/corelib/animation/qparallelanimationgroup/tst_qparallelanimationgroup.cpp @@ -127,7 +127,7 @@ class UncontrolledAnimation : public QPropertyAnimation { Q_OBJECT public: - UncontrolledAnimation(QObject *target, const QByteArray &propertyName, QObject *parent = 0) + UncontrolledAnimation(QObject *target, const QByteArray &propertyName, QObject *parent = nullptr) : QPropertyAnimation(target, propertyName, parent), id(0) { setDuration(250); diff --git a/tests/auto/corelib/animation/qpauseanimation/tst_qpauseanimation.cpp b/tests/auto/corelib/animation/qpauseanimation/tst_qpauseanimation.cpp index a38f3d221d..5f2923f498 100644 --- a/tests/auto/corelib/animation/qpauseanimation/tst_qpauseanimation.cpp +++ b/tests/auto/corelib/animation/qpauseanimation/tst_qpauseanimation.cpp @@ -56,7 +56,7 @@ class TestablePauseAnimation : public QPauseAnimation { Q_OBJECT public: - TestablePauseAnimation(QObject *parent = 0) + TestablePauseAnimation(QObject *parent = nullptr) : QPauseAnimation(parent), m_updateCurrentTimeCount(0) { diff --git a/tests/auto/corelib/animation/qpropertyanimation/tst_qpropertyanimation.cpp b/tests/auto/corelib/animation/qpropertyanimation/tst_qpropertyanimation.cpp index 8a4d05ed96..f5cff8a2e0 100644 --- a/tests/auto/corelib/animation/qpropertyanimation/tst_qpropertyanimation.cpp +++ b/tests/auto/corelib/animation/qpropertyanimation/tst_qpropertyanimation.cpp @@ -65,7 +65,7 @@ private: class DummyPropertyAnimation : public QPropertyAnimation { public: - DummyPropertyAnimation(QObject *parent = 0) : QPropertyAnimation(parent) + DummyPropertyAnimation(QObject *parent = nullptr) : QPropertyAnimation(parent) { setTargetObject(&o); this->setPropertyName("x"); diff --git a/tests/auto/corelib/animation/qsequentialanimationgroup/tst_qsequentialanimationgroup.cpp b/tests/auto/corelib/animation/qsequentialanimationgroup/tst_qsequentialanimationgroup.cpp index 008ac696fc..1a03254e0b 100644 --- a/tests/auto/corelib/animation/qsequentialanimationgroup/tst_qsequentialanimationgroup.cpp +++ b/tests/auto/corelib/animation/qsequentialanimationgroup/tst_qsequentialanimationgroup.cpp @@ -108,7 +108,7 @@ public: class DummyPropertyAnimation : public QPropertyAnimation { public: - DummyPropertyAnimation(QObject *parent = 0) : QPropertyAnimation(parent) + DummyPropertyAnimation(QObject *parent = nullptr) : QPropertyAnimation(parent) { setTargetObject(&o); this->setPropertyName("value"); @@ -122,7 +122,7 @@ class UncontrolledAnimation : public QPropertyAnimation { Q_OBJECT public: - UncontrolledAnimation(QObject *target, QObject *parent = 0) + UncontrolledAnimation(QObject *target, QObject *parent = nullptr) : QPropertyAnimation(target, "value", parent) { setDuration(250); |