diff options
author | Tobias Hunger <tobias.hunger@qt.io> | 2018-05-07 17:35:17 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@qt.io> | 2018-05-08 07:43:06 +0000 |
commit | 44319ff6e21f03bc81607cea749b5146b72be8e3 (patch) | |
tree | b2441ab869723809f1d58f967b9e1754d2323b5a | |
parent | 05dd3285fcaa9e653df4e8f9daf3c006f076929c (diff) | |
download | qt-creator-44319ff6e21f03bc81607cea749b5146b72be8e3.tar.gz |
RemoteLinux: Consistently use nullptr
Fixed by clang-tidy modernize-use-nullptr.
Change-Id: I2a608fec95a489b3bde426e46d288672c6d1d20d
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
7 files changed, 8 insertions, 8 deletions
diff --git a/src/plugins/remotelinux/abstractremotelinuxdeployservice.h b/src/plugins/remotelinux/abstractremotelinuxdeployservice.h index 9dca8f259a..0553472b95 100644 --- a/src/plugins/remotelinux/abstractremotelinuxdeployservice.h +++ b/src/plugins/remotelinux/abstractremotelinuxdeployservice.h @@ -48,7 +48,7 @@ class REMOTELINUX_EXPORT AbstractRemoteLinuxDeployService : public QObject Q_OBJECT Q_DISABLE_COPY(AbstractRemoteLinuxDeployService) public: - explicit AbstractRemoteLinuxDeployService(QObject *parent = 0); + explicit AbstractRemoteLinuxDeployService(QObject *parent = nullptr); ~AbstractRemoteLinuxDeployService() override; void setTarget(ProjectExplorer::Target *bc); @@ -60,7 +60,7 @@ public: QVariantMap exportDeployTimes() const; void importDeployTimes(const QVariantMap &map); - virtual bool isDeploymentPossible(QString *whyNot = 0) const; + virtual bool isDeploymentPossible(QString *whyNot = nullptr) const; signals: void errorMessage(const QString &message); diff --git a/src/plugins/remotelinux/abstractremotelinuxdeploystep.h b/src/plugins/remotelinux/abstractremotelinuxdeploystep.h index 8f885f9ad3..cbd5653864 100644 --- a/src/plugins/remotelinux/abstractremotelinuxdeploystep.h +++ b/src/plugins/remotelinux/abstractremotelinuxdeploystep.h @@ -56,7 +56,7 @@ public: protected: explicit AbstractRemoteLinuxDeployStep(ProjectExplorer::BuildStepList *bsl, Core::Id id); - virtual bool initInternal(QString *error = 0) = 0; + virtual bool initInternal(QString *error = nullptr) = 0; private: void handleProgressMessage(const QString &message); diff --git a/src/plugins/remotelinux/genericdirectuploadservice.h b/src/plugins/remotelinux/genericdirectuploadservice.h index 314bbaf84e..6659619140 100644 --- a/src/plugins/remotelinux/genericdirectuploadservice.h +++ b/src/plugins/remotelinux/genericdirectuploadservice.h @@ -43,7 +43,7 @@ class REMOTELINUX_EXPORT GenericDirectUploadService : public AbstractRemoteLinux { Q_OBJECT public: - GenericDirectUploadService(QObject *parent = 0); + GenericDirectUploadService(QObject *parent = nullptr); ~GenericDirectUploadService() override; void setDeployableFiles(const QList<ProjectExplorer::DeployableFile> &deployableFiles); diff --git a/src/plugins/remotelinux/genericdirectuploadstep.h b/src/plugins/remotelinux/genericdirectuploadstep.h index ed35921618..b5d2ba1df6 100644 --- a/src/plugins/remotelinux/genericdirectuploadstep.h +++ b/src/plugins/remotelinux/genericdirectuploadstep.h @@ -41,7 +41,7 @@ public: ~GenericDirectUploadStep() override; ProjectExplorer::BuildStepConfigWidget *createConfigWidget() override; - bool initInternal(QString *error = 0) override; + bool initInternal(QString *error = nullptr) override; void setIncrementalDeployment(bool incremental); bool incrementalDeployment() const; diff --git a/src/plugins/remotelinux/genericlinuxdeviceconfigurationwizardpages.h b/src/plugins/remotelinux/genericlinuxdeviceconfigurationwizardpages.h index 63733958f5..290ecfaecb 100644 --- a/src/plugins/remotelinux/genericlinuxdeviceconfigurationwizardpages.h +++ b/src/plugins/remotelinux/genericlinuxdeviceconfigurationwizardpages.h @@ -42,7 +42,7 @@ class REMOTELINUX_EXPORT GenericLinuxDeviceConfigurationWizardSetupPage : public Q_OBJECT public: - explicit GenericLinuxDeviceConfigurationWizardSetupPage(QWidget *parent = 0); + explicit GenericLinuxDeviceConfigurationWizardSetupPage(QWidget *parent = nullptr); ~GenericLinuxDeviceConfigurationWizardSetupPage() override; void initializePage() override; diff --git a/src/plugins/remotelinux/linuxdeviceprocess.h b/src/plugins/remotelinux/linuxdeviceprocess.h index b461024602..a37dd85686 100644 --- a/src/plugins/remotelinux/linuxdeviceprocess.h +++ b/src/plugins/remotelinux/linuxdeviceprocess.h @@ -38,7 +38,7 @@ class REMOTELINUX_EXPORT LinuxDeviceProcess : public ProjectExplorer::SshDeviceP Q_OBJECT public: explicit LinuxDeviceProcess(const QSharedPointer<const ProjectExplorer::IDevice> &device, - QObject *parent = 0); + QObject *parent = nullptr); // Files to source before executing the command (if they exist). Overrides the default. void setRcFilesToSource(const QStringList &filePaths); diff --git a/src/plugins/remotelinux/linuxdevicetester.h b/src/plugins/remotelinux/linuxdevicetester.h index f6317cd87f..1f7af9ab54 100644 --- a/src/plugins/remotelinux/linuxdevicetester.h +++ b/src/plugins/remotelinux/linuxdevicetester.h @@ -38,7 +38,7 @@ class REMOTELINUX_EXPORT GenericLinuxDeviceTester : public ProjectExplorer::Devi Q_OBJECT public: - explicit GenericLinuxDeviceTester(QObject *parent = 0); + explicit GenericLinuxDeviceTester(QObject *parent = nullptr); ~GenericLinuxDeviceTester() override; void testDevice(const ProjectExplorer::IDevice::ConstPtr &deviceConfiguration) override; |