From 0f8848b7e25e4d8fb9265ff6e0aa31946addd741 Mon Sep 17 00:00:00 2001 From: Volker Hilsheimer Date: Wed, 30 Sep 2020 22:43:32 +0200 Subject: Remove deprecated QProcess::pid Change-Id: I6bce5b374a9e22f0a3d67755dbd0f8e14458ce3b Reviewed-by: Thiago Macieira --- src/corelib/io/qprocess.cpp | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) (limited to 'src/corelib/io/qprocess.cpp') 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) -- cgit v1.2.3