diff options
Diffstat (limited to 'src/corelib/io/qprocess.cpp')
-rw-r--r-- | src/corelib/io/qprocess.cpp | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/src/corelib/io/qprocess.cpp b/src/corelib/io/qprocess.cpp index 4500467ac2..1f4be24913 100644 --- a/src/corelib/io/qprocess.cpp +++ b/src/corelib/io/qprocess.cpp @@ -810,16 +810,6 @@ void QProcessPrivate::Channel::clear() \a newState argument is the state QProcess changed to. */ -#if QT_DEPRECATED_SINCE(5, 13) -/*! - \fn void QProcess::finished(int exitCode) - \obsolete - \overload - - Use finished(int exitCode, QProcess::ExitStatus status) instead. -*/ -#endif - /*! \fn void QProcess::finished(int exitCode, QProcess::ExitStatus exitStatus) @@ -1175,12 +1165,6 @@ bool QProcessPrivate::_q_processDied() //emit q->standardOutputClosed(); //emit q->standardErrorClosed(); -#if QT_DEPRECATED_SINCE(5, 13) -QT_WARNING_PUSH -QT_WARNING_DISABLE_DEPRECATED - emit q->finished(exitCode); -QT_WARNING_POP -#endif emit q->finished(exitCode, exitStatus); } #if defined QPROCESS_DEBUG @@ -1676,17 +1660,6 @@ qint64 QProcess::processId() const #endif } -/*! \reimp - - This function operates on the current read channel. - - \sa readChannel(), setReadChannel() -*/ -bool QProcess::canReadLine() const -{ - return QIODevice::canReadLine(); -} - /*! Closes all communication with the process and kills it. After calling this function, QProcess will no longer emit readyRead(), and data can no @@ -1705,16 +1678,6 @@ void QProcess::close() } /*! \reimp - - Returns \c true if the process is not running, and no more data is available - for reading; otherwise returns \c false. -*/ -bool QProcess::atEnd() const -{ - return QIODevice::atEnd(); -} - -/*! \reimp */ bool QProcess::isSequential() const { @@ -1723,13 +1686,6 @@ bool QProcess::isSequential() const /*! \reimp */ -qint64 QProcess::bytesAvailable() const -{ - return QIODevice::bytesAvailable(); -} - -/*! \reimp -*/ qint64 QProcess::bytesToWrite() const { qint64 size = QIODevice::bytesToWrite(); @@ -2558,18 +2514,6 @@ bool QProcess::startDetached(const QString &program, } /*! - \internal -*/ -bool QProcess::startDetached(const QString &program, - const QStringList &arguments) -{ - QProcess process; - process.setProgram(program); - process.setArguments(arguments); - return process.startDetached(); -} - -/*! \obsolete \overload startDetached() |