summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/serialport/qserialport.cpp27
-rw-r--r--src/serialport/qserialport.h1
2 files changed, 0 insertions, 28 deletions
diff --git a/src/serialport/qserialport.cpp b/src/serialport/qserialport.cpp
index 7f10d404..75aded42 100644
--- a/src/serialport/qserialport.cpp
+++ b/src/serialport/qserialport.cpp
@@ -955,33 +955,6 @@ bool QSerialPort::clear(Directions directions)
}
/*!
- \reimp
-
- Returns \c true if no more data is currently available for reading; otherwise
- returns \c false.
-
- This function is most commonly used when reading data from the
- serial port in a loop. For example:
-
- \code
- // This slot is connected to QSerialPort::readyRead()
- void QSerialPortClass::readyReadSlot()
- {
- while (!port.atEnd()) {
- QByteArray data = port.read(100);
- ....
- }
- }
- \endcode
-
- \sa bytesAvailable(), readyRead()
- */
-bool QSerialPort::atEnd() const
-{
- return QIODevice::atEnd();
-}
-
-/*!
\property QSerialPort::error
\brief the error status of the serial port
diff --git a/src/serialport/qserialport.h b/src/serialport/qserialport.h
index 99890bf8..cf126ddf 100644
--- a/src/serialport/qserialport.h
+++ b/src/serialport/qserialport.h
@@ -191,7 +191,6 @@ public:
bool flush();
bool clear(Directions directions = AllDirections);
- bool atEnd() const override; // ### Qt6: remove me
SerialPortError error() const;
void clearError();