summaryrefslogtreecommitdiff
path: root/src/serialport/qserialport.h
diff options
context:
space:
mode:
authorDenis Shienkov <denis.shienkov@gmail.com>2014-11-16 14:59:22 +0300
committerDenis Shienkov <denis.shienkov@gmail.com>2014-11-16 18:59:25 +0100
commit2c171c043ce3c4ca40c8dd91971192efe3c0465e (patch)
tree52edc3720c61ee704b49d306c73cabe6fd27a122 /src/serialport/qserialport.h
parent22b4e280a16d47b5f46706cf80d976259e519007 (diff)
downloadqtserialport-2c171c043ce3c4ca40c8dd91971192efe3c0465e.tar.gz
Use QIODevicePrivate for PIMPL
It is reasonable to get rid of excess D/Q pointers and to use their equivalents from QIODevicePrivate. Also in the future it will allow to use the internal read buffer of QIODevicePrivate. Tested on Windows 8 and Linux with the on-board and com0com serial ports. Change-Id: I9d0923c6f9adc5981dc49dacea163b286620ed5c Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Diffstat (limited to 'src/serialport/qserialport.h')
-rw-r--r--src/serialport/qserialport.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/serialport/qserialport.h b/src/serialport/qserialport.h
index a8f9a05..d1a66ce 100644
--- a/src/serialport/qserialport.h
+++ b/src/serialport/qserialport.h
@@ -269,7 +269,8 @@ protected:
private:
void setError(QSerialPort::SerialPortError error, const QString &errorString = QString());
- QSerialPortPrivate * const d_ptr;
+ // ### Qt6: remove me.
+ QSerialPortPrivate * const d_dummy;
Q_DISABLE_COPY(QSerialPort)