From 564b59d903683b14c75b72a3e93367717f201def Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Wed, 7 Oct 2020 13:05:48 +0200 Subject: Another round of replacing 0 with nullptr This time based on grepping to also include documentation, tests and examples previously missed by the automatic tool. Change-Id: Ied1703f4bcc470fbc275f759ed5b7c588a5c4e9f Reviewed-by: Qt CI Bot Reviewed-by: Friedemann Kleint --- examples/dbus/chat/chat.h | 2 +- examples/dbus/remotecontrolledcar/car/car.h | 2 +- examples/dbus/remotecontrolledcar/controller/controller.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/dbus') diff --git a/examples/dbus/chat/chat.h b/examples/dbus/chat/chat.h index 7faebe63fd..444d6c9d80 100644 --- a/examples/dbus/chat/chat.h +++ b/examples/dbus/chat/chat.h @@ -85,7 +85,7 @@ class NicknameDialog: public QDialog, public Ui::NicknameDialog { Q_OBJECT public: - NicknameDialog(QWidget *parent = 0); + NicknameDialog(QWidget *parent = nullptr); }; #endif // CHAT_H diff --git a/examples/dbus/remotecontrolledcar/car/car.h b/examples/dbus/remotecontrolledcar/car/car.h index 92fc1ccdcb..e843786e5b 100644 --- a/examples/dbus/remotecontrolledcar/car/car.h +++ b/examples/dbus/remotecontrolledcar/car/car.h @@ -71,7 +71,7 @@ Q_SIGNALS: void crashed(); protected: - void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0); + void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = nullptr); void timerEvent(QTimerEvent *event); private: diff --git a/examples/dbus/remotecontrolledcar/controller/controller.h b/examples/dbus/remotecontrolledcar/controller/controller.h index 74776f2638..87359661ba 100644 --- a/examples/dbus/remotecontrolledcar/controller/controller.h +++ b/examples/dbus/remotecontrolledcar/controller/controller.h @@ -59,7 +59,7 @@ class Controller : public QWidget Q_OBJECT public: - Controller(QWidget *parent = 0); + Controller(QWidget *parent = nullptr); protected: void timerEvent(QTimerEvent *event); -- cgit v1.2.3