diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-09-30 22:43:32 +0200 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-10-01 02:56:05 +0000 |
commit | 0f8848b7e25e4d8fb9265ff6e0aa31946addd741 (patch) | |
tree | 1a07f60433ea5b21f1c6f4362fc9b98a19727ac8 /src/corelib/io/qprocess.cpp | |
parent | 3fb8f9e44e8cbf5937257505d0bc2d1457a26da1 (diff) |
Remove deprecated QProcess::pid
Change-Id: I6bce5b374a9e22f0a3d67755dbd0f8e14458ce3b
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/io/qprocess.cpp')
-rw-r--r-- | src/corelib/io/qprocess.cpp | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/src/corelib/io/qprocess.cpp b/src/corelib/io/qprocess.cpp index 1c7ea36105..8b35836584 100644 --- a/src/corelib/io/qprocess.cpp +++ b/src/corelib/io/qprocess.cpp @@ -1623,25 +1623,6 @@ void QProcess::setWorkingDirectory(const QString &dir) d->workingDirectory = dir; } -#if QT_DEPRECATED_SINCE(5, 15) -/*! - \deprecated - Use processId() instead. - - Returns the native process identifier for the running process, if - available. If no process is currently running, \c 0 is returned. - - \note Unlike \l processId(), pid() returns an integer on Unix and a pointer on Windows. - - \sa Q_PID, processId() -*/ -Q_PID QProcess::pid() const // ### Qt 6 remove or rename this method to processInformation() -{ - Q_D(const QProcess); - return d->pid; -} -#endif - /*! \since 5.3 @@ -2552,7 +2533,7 @@ QString QProcess::nullDevice() platform. On Unix, this corresponds to \l qint64; on Windows, it corresponds to \c{_PROCESS_INFORMATION*}. - \sa QProcess::pid() + \sa QProcess::processId() */ #endif // QT_CONFIG(process) |