diff options
author | Laszlo Papp <lpapp@kde.org> | 2013-11-28 03:48:05 +0000 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-11-30 11:06:32 +0100 |
commit | f77043dbef5a2f2b3c81b07b95e1f63ea9921fd4 (patch) | |
tree | 49e0b58b998ab4276fadc6e77cf47d079b525aa6 /src/serialport/qserialportinfo.h | |
parent | e0be9ed761e730bec7b26bcaba014f028f6340d0 (diff) |
Obsolete the isValid() method in QSerialPortInfo
Task-number: QTBUG-35184
Change-Id: Ie822943bcaf071024bc4f9782441b0534fcbd43d
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Diffstat (limited to 'src/serialport/qserialportinfo.h')
-rw-r--r-- | src/serialport/qserialportinfo.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/serialport/qserialportinfo.h b/src/serialport/qserialportinfo.h index 51f3b10c..f76b77e9 100644 --- a/src/serialport/qserialportinfo.h +++ b/src/serialport/qserialportinfo.h @@ -80,7 +80,9 @@ public: bool isNull() const; bool isBusy() const; - bool isValid() const; +#if QT_DEPRECATED_SINCE(5, 2) + QT_DEPRECATED bool isValid() const; +#endif static QList<qint32> standardBaudRates(); static QList<QSerialPortInfo> availablePorts(); |