diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-07 13:05:48 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-07 23:02:47 +0200 |
commit | 564b59d903683b14c75b72a3e93367717f201def (patch) | |
tree | 03ffe749d83dce84429a7db484bf92795047036f /examples/dbus | |
parent | b5fc1e4e2643e73d3b44c483d159529f8deb8af1 (diff) |
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 <qt_ci_bot@qt-project.org>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'examples/dbus')
-rw-r--r-- | examples/dbus/chat/chat.h | 2 | ||||
-rw-r--r-- | examples/dbus/remotecontrolledcar/car/car.h | 2 | ||||
-rw-r--r-- | examples/dbus/remotecontrolledcar/controller/controller.h | 2 |
3 files changed, 3 insertions, 3 deletions
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); |