summaryrefslogtreecommitdiffstats
path: root/tests/manual/dialogs/wizardpanel.cpp
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/dialogs/wizardpanel.cpp
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/dialogs/wizardpanel.cpp')
-rw-r--r--tests/manual/dialogs/wizardpanel.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/manual/dialogs/wizardpanel.cpp b/tests/manual/dialogs/wizardpanel.cpp
index e5624e6248..4edb10afb8 100644
--- a/tests/manual/dialogs/wizardpanel.cpp
+++ b/tests/manual/dialogs/wizardpanel.cpp
@@ -73,7 +73,7 @@ class WizardStyleControl : public QGroupBox
{
Q_OBJECT
public:
- WizardStyleControl(QWidget *parent = 0);
+ WizardStyleControl(QWidget *parent = nullptr);
void setWizardStyle(int style);
QWizard::WizardStyle wizardStyle() const;
@@ -132,7 +132,7 @@ void WizardStyleControl::setWizardStyle(int wizardStyle)
class WizardOptionsControl : public QGroupBox
{
public:
- explicit WizardOptionsControl(QWidget *parent = 0);
+ explicit WizardOptionsControl(QWidget *parent = nullptr);
QWizard::WizardOption wizardOptions() const;
void setWizardOptions(int options);
@@ -214,7 +214,7 @@ void Wizard::changeWizardStyle(int newStyle)
class WizardPage : public QWizardPage
{
public:
- explicit WizardPage(const QString &title, QWidget *parent = 0);
+ explicit WizardPage(const QString &title, QWidget *parent = nullptr);
void initializePage();
@@ -257,7 +257,7 @@ Wizard::Wizard(QWidget *parent, Qt::WindowFlags flags)
// A dialog using a Wizard as child widget (emulating Qt Designer).
class WizardEmbeddingDialog : public QDialog {
public:
- explicit WizardEmbeddingDialog(QWidget *parent = 0);
+ explicit WizardEmbeddingDialog(QWidget *parent = nullptr);
Wizard *wizard() const { return m_wizard; }