diff options
Diffstat (limited to 'src/libs/utils/qtcprocess.h')
-rw-r--r-- | src/libs/utils/qtcprocess.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libs/utils/qtcprocess.h b/src/libs/utils/qtcprocess.h index 89b1cc56fc5..4ff75a7daef 100644 --- a/src/libs/utils/qtcprocess.h +++ b/src/libs/utils/qtcprocess.h @@ -37,7 +37,7 @@ class QTCREATOR_UTILS_EXPORT QtcProcess : public QProcess Q_OBJECT public: - QtcProcess(QObject *parent = 0); + QtcProcess(QObject *parent = nullptr); void setEnvironment(const Environment &env) { m_environment = env; m_haveEnv = true; } void setCommand(const QString &command, const QString &arguments) @@ -80,19 +80,19 @@ public: //! Prepare argument of a shell command for feeding into QProcess static Arguments prepareArgs(const QString &cmd, SplitError *err, OsType osType = HostOsInfo::hostOs(), - const Environment *env = 0, const QString *pwd = 0); + const Environment *env = nullptr, const QString *pwd = nullptr); //! Prepare a shell command for feeding into QProcess static bool prepareCommand(const QString &command, const QString &arguments, QString *outCmd, Arguments *outArgs, OsType osType = HostOsInfo::hostOs(), - const Environment *env = 0, const QString *pwd = 0); + const Environment *env = nullptr, const QString *pwd = nullptr); //! Quote and append each argument to a shell command static void addArgs(QString *args, const QStringList &inArgs); //! Append already quoted arguments to a shell command static void addArgs(QString *args, const QString &inArgs); //! Split a shell command into separate arguments. ArgIterator is usually a better choice. static QStringList splitArgs(const QString &cmd, OsType osType = HostOsInfo::hostOs(), - bool abortOnMeta = false, SplitError *err = 0, - const Environment *env = 0, const QString *pwd = 0); + bool abortOnMeta = false, SplitError *err = nullptr, + const Environment *env = nullptr, const QString *pwd = nullptr); //! Safely replace the expandos in a shell command static bool expandMacros(QString *cmd, AbstractMacroExpander *mx, OsType osType = HostOsInfo::hostOs()); |