diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2020-03-05 14:45:28 +0100 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2020-03-06 13:38:39 +0100 |
commit | 6cca46ee60da9a70b515caabd68aa5cbbd7c3d87 (patch) | |
tree | 26669b8abdc7adb0f49308102a5ed42a5ff56c0e /src/corelib | |
parent | 3dbfded87e76ab3497b8becfcc4174ff4c9703bd (diff) |
Remove trivial overrides from QProcess
Change-Id: I630fc44213fdc380c8b00e159989d5067bb2a185
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/io/qprocess.cpp | 28 | ||||
-rw-r--r-- | src/corelib/io/qprocess.h | 3 |
2 files changed, 0 insertions, 31 deletions
diff --git a/src/corelib/io/qprocess.cpp b/src/corelib/io/qprocess.cpp index 40448b17ff..3b708d7727 100644 --- a/src/corelib/io/qprocess.cpp +++ b/src/corelib/io/qprocess.cpp @@ -1660,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 @@ -1689,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 { @@ -1707,13 +1686,6 @@ bool QProcess::isSequential() const /*! \reimp */ -qint64 QProcess::bytesAvailable() const -{ - return QIODevice::bytesAvailable(); -} - -/*! \reimp -*/ qint64 QProcess::bytesToWrite() const { qint64 size = QIODevice::bytesToWrite(); diff --git a/src/corelib/io/qprocess.h b/src/corelib/io/qprocess.h index 59b70c9175..ee83c93cf8 100644 --- a/src/corelib/io/qprocess.h +++ b/src/corelib/io/qprocess.h @@ -248,12 +248,9 @@ public: QProcess::ExitStatus exitStatus() const; // QIODevice - qint64 bytesAvailable() const override; // ### Qt6: remove trivial override qint64 bytesToWrite() const override; bool isSequential() const override; - bool canReadLine() const override; // ### Qt6: remove trivial override void close() override; - bool atEnd() const override; // ### Qt6: remove trivial override static int execute(const QString &program, const QStringList &arguments); #if QT_DEPRECATED_SINCE(5, 15) |