summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Shienkov <denis.shienkov@gmail.com>2015-07-12 16:13:38 +0300
committerDenis Shienkov <denis.shienkov@gmail.com>2015-07-16 14:46:24 +0000
commitadccf2dcacd3fdd66e09c38302f9ce543d55f572 (patch)
tree5ee9762b2c6b312f6b6dfc32977724f5fee77e18
parentb6c21428142fa21a13b85a0913443337141c0645 (diff)
downloadqtserialport-adccf2dcacd3fdd66e09c38302f9ce543d55f572.tar.gz
Add QT_DEPRECATED_SINCE(5, 5) macro around qdoc comments
The macro was added for the signals in the header file, but not in the implementation file. Change-Id: Ie10b6bfffcbd8012f8e50b2009d95d826d983199 Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
-rw-r--r--src/serialport/qserialport.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/serialport/qserialport.cpp b/src/serialport/qserialport.cpp
index d7d5090..e7874f0 100644
--- a/src/serialport/qserialport.cpp
+++ b/src/serialport/qserialport.cpp
@@ -597,6 +597,8 @@ bool QSerialPort::settingsRestoredOnClose() const
return d->settingsRestoredOnClose;
}
#endif // QT_DEPRECATED_SINCE(5,3)
+
+#if QT_DEPRECATED_SINCE(5, 5)
/*!
\fn void QSerialPort::settingsRestoredOnCloseChanged(bool restore)
\obsolete
@@ -608,6 +610,7 @@ bool QSerialPort::settingsRestoredOnClose() const
\sa QSerialPort::settingsRestoredOnClose
*/
+#endif // QT_DEPRECATED_SINCE(5, 5)
/*!
\property QSerialPort::baudRate
@@ -1102,6 +1105,8 @@ QSerialPort::DataErrorPolicy QSerialPort::dataErrorPolicy() const
return d->policy;
}
#endif // QT_DEPRECATED_SINCE(5, 2)
+
+#if QT_DEPRECATED_SINCE(5, 5)
/*!
\fn void QSerialPort::dataErrorPolicyChanged(DataErrorPolicy policy)
\obsolete
@@ -1113,6 +1118,7 @@ QSerialPort::DataErrorPolicy QSerialPort::dataErrorPolicy() const
\sa QSerialPort::dataErrorPolicy
*/
+#endif // QT_DEPRECATED_SINCE(5, 5)
/*!
\property QSerialPort::error