summaryrefslogtreecommitdiffstats
path: root/tests/manual/windowflags
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2020-10-07 13:05:48 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2020-10-07 23:02:47 +0200
commit564b59d903683b14c75b72a3e93367717f201def (patch)
tree03ffe749d83dce84429a7db484bf92795047036f /tests/manual/windowflags
parentb5fc1e4e2643e73d3b44c483d159529f8deb8af1 (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/windowflags')
-rw-r--r--tests/manual/windowflags/controllerwindow.cpp2
-rw-r--r--tests/manual/windowflags/controllerwindow.h4
-rw-r--r--tests/manual/windowflags/previewwindow.h4
3 files changed, 5 insertions, 5 deletions
diff --git a/tests/manual/windowflags/controllerwindow.cpp b/tests/manual/windowflags/controllerwindow.cpp
index bde24b00d1..7477e21d46 100644
--- a/tests/manual/windowflags/controllerwindow.cpp
+++ b/tests/manual/windowflags/controllerwindow.cpp
@@ -247,7 +247,7 @@ static Qt::WindowStates windowState(const QObject *o)
class EventFilter : public QObject {
public:
- explicit EventFilter(QObject *parent = 0) : QObject(parent) {}
+ explicit EventFilter(QObject *parent = nullptr) : QObject(parent) {}
bool eventFilter(QObject *o, QEvent *e)
{
diff --git a/tests/manual/windowflags/controllerwindow.h b/tests/manual/windowflags/controllerwindow.h
index c623256112..e4d8f2df0c 100644
--- a/tests/manual/windowflags/controllerwindow.h
+++ b/tests/manual/windowflags/controllerwindow.h
@@ -51,7 +51,7 @@ class ControllerWidget : public QWidget
Q_OBJECT
public:
- explicit ControllerWidget(QWidget *parent = 0);
+ explicit ControllerWidget(QWidget *parent = nullptr);
virtual bool eventFilter(QObject *o, QEvent *e);
@@ -91,7 +91,7 @@ class LogWidget : public QPlainTextEdit
{
Q_OBJECT
public:
- explicit LogWidget(QWidget *parent = 0);
+ explicit LogWidget(QWidget *parent = nullptr);
~LogWidget();
static LogWidget *instance() { return m_instance; }
diff --git a/tests/manual/windowflags/previewwindow.h b/tests/manual/windowflags/previewwindow.h
index 8f8fc39211..ab309a0139 100644
--- a/tests/manual/windowflags/previewwindow.h
+++ b/tests/manual/windowflags/previewwindow.h
@@ -46,7 +46,7 @@ class PreviewWidget : public QWidget
Q_OBJECT
public:
- PreviewWidget(QWidget *parent = 0);
+ PreviewWidget(QWidget *parent = nullptr);
void setWindowFlags(Qt::WindowFlags flags);
@@ -65,7 +65,7 @@ class PreviewDialog : public QDialog
Q_OBJECT
public:
- PreviewDialog(QWidget *parent = 0);
+ PreviewDialog(QWidget *parent = nullptr);
void setWindowFlags(Qt::WindowFlags flags);