modernize: Prefer default member init over ctor init
[quassel.git] / src / qtui / ircconnectionwizard.h
index bd8b9d1..3347f21 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2005-2014 by the Quassel Project                        *
+ *   Copyright (C) 2005-2018 by the Quassel Project                        *
  *   devel@quassel-irc.org                                                 *
  *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
@@ -30,9 +30,9 @@ class IrcConnectionWizard : public QWizard
     Q_OBJECT
 
 public:
-    IrcConnectionWizard(QWidget *parent = 0, Qt::WindowFlags flags = 0);
+    IrcConnectionWizard(QWidget *parent = nullptr, Qt::WindowFlags flags = nullptr);
 
-    static QWizardPage *createIntroductionPage(QWidget *parent = 0);
+    static QWizardPage *createIntroductionPage(QWidget *parent = nullptr);
 
 private slots:
     void finishClicked();
@@ -40,9 +40,9 @@ private slots:
     void networkReady(NetworkId id);
 
 private:
-    QWizardPage *_introductionPage;
-    QWizardPage *_identityPage;
-    QWizardPage *_networkPage;
+    QWizardPage *_introductionPage{nullptr};
+    QWizardPage *_identityPage{nullptr};
+    QWizardPage *_networkPage{nullptr};
 };
 
 
@@ -60,13 +60,13 @@ class IdentityPage : public QWizardPage
     Q_OBJECT
 
 public:
-    IdentityPage(QWidget *parent = 0);
+    IdentityPage(QWidget *parent = nullptr);
 
     CertIdentity *identity();
 
 private:
     IdentityEditWidget *_identityEditWidget;
-    CertIdentity *_identity;
+    CertIdentity *_identity{nullptr};
 };
 
 
@@ -80,7 +80,7 @@ class NetworkPage : public QWizardPage
     Q_OBJECT
 
 public:
-    NetworkPage(QWidget *parent = 0);
+    NetworkPage(QWidget *parent = nullptr);
 
     NetworkInfo networkInfo();
     QStringList channelList();