diff options
author | Denis Shienkov <denis.shienkov@gmail.com> | 2016-02-13 16:14:26 +0300 |
---|---|---|
committer | Jani Heikkinen <jani.heikkinen@theqtcompany.com> | 2016-02-18 07:26:48 +0000 |
commit | 03d492e49e74eefa1c83e37e833d862f4b9f1e45 (patch) | |
tree | 4b5252085a58a8bf47ea26499b1e51721e519fd9 /src/serialport/qserialportinfo.h | |
parent | 6ba354a0ec3bd3064d072cf170fe9f60f9ae3389 (diff) | |
download | qtserialport-5.6.0.tar.gz |
Deprecate QSPI::isBusy() methodv5.6.0-rc1v5.6.05.6.0
It is impossible to implement this method properly on all
platforms. Its implementation is complicated and introduces
a side-effects, related to the race-conditions, permissions
and so on. The user can implement QSPI::isBusy() himself just
trying to open a desired device, what is equivalent to the
current implementation.
Change-Id: I71ef69a1a8edb7c4df23c8b2816add40475e00b5
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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/serialport/qserialportinfo.h b/src/serialport/qserialportinfo.h index 2b757f9..74daedc 100644 --- a/src/serialport/qserialportinfo.h +++ b/src/serialport/qserialportinfo.h @@ -72,7 +72,9 @@ public: bool hasProductIdentifier() const; bool isNull() const; +#if QT_DEPRECATED_SINCE(5, 6) bool isBusy() const; +#endif #if QT_DEPRECATED_SINCE(5, 2) QT_DEPRECATED bool isValid() const; #endif |