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 /tests/manual/qlayout | |
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 'tests/manual/qlayout')
-rw-r--r-- | tests/manual/qlayout/gridwidget.h | 2 | ||||
-rw-r--r-- | tests/manual/qlayout/hbwidget.h | 2 | ||||
-rw-r--r-- | tests/manual/qlayout/mainwindow.h | 2 | ||||
-rw-r--r-- | tests/manual/qlayout/vbwidget.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/tests/manual/qlayout/gridwidget.h b/tests/manual/qlayout/gridwidget.h index a3792b03c4..2d1800d64d 100644 --- a/tests/manual/qlayout/gridwidget.h +++ b/tests/manual/qlayout/gridwidget.h @@ -35,7 +35,7 @@ class GridWidget : public QWidget { Q_OBJECT public: - explicit GridWidget(QWidget *parent = 0); + explicit GridWidget(QWidget *parent = nullptr); signals: diff --git a/tests/manual/qlayout/hbwidget.h b/tests/manual/qlayout/hbwidget.h index 03642db395..4f106a9ce3 100644 --- a/tests/manual/qlayout/hbwidget.h +++ b/tests/manual/qlayout/hbwidget.h @@ -35,7 +35,7 @@ class HbWidget : public QWidget { Q_OBJECT public: - explicit HbWidget(QWidget *parent = 0); + explicit HbWidget(QWidget *parent = nullptr); signals: diff --git a/tests/manual/qlayout/mainwindow.h b/tests/manual/qlayout/mainwindow.h index fdeb80f150..1f19047b74 100644 --- a/tests/manual/qlayout/mainwindow.h +++ b/tests/manual/qlayout/mainwindow.h @@ -38,7 +38,7 @@ class MainWindow : public QMainWindow Q_OBJECT public: - MainWindow(QWidget *parent = 0); + MainWindow(QWidget *parent = nullptr); ~MainWindow(); private slots: diff --git a/tests/manual/qlayout/vbwidget.h b/tests/manual/qlayout/vbwidget.h index b722f9f95a..b5f2073faf 100644 --- a/tests/manual/qlayout/vbwidget.h +++ b/tests/manual/qlayout/vbwidget.h @@ -35,7 +35,7 @@ class VbWidget : public QWidget { Q_OBJECT public: - explicit VbWidget(QWidget *parent = 0); + explicit VbWidget(QWidget *parent = nullptr); signals: |