Fix two typos: docu for "deprecated since" and Q_DEPR... -> QT_DEPR...
Shows that there should be an automated build with QT_DISABLE_DEPRECATED_BEFORE set to 0, too... Change-Id: If154786ea26bcbfab41efcd7001c222cc258a8af Reviewed-by: Olivier Goffart <ogoffart@kde.org>
This commit is contained in:
parent
53674983e0
commit
e19292120b
@ -66,7 +66,7 @@
|
||||
|
||||
Example:
|
||||
#if QT_DEPRECATED_SINCE(5,1)
|
||||
QT_DEPRECATED void deprecatedFunction(); //function deprecated sine Qt 5.1
|
||||
QT_DEPRECATED void deprecatedFunction(); //function deprecated since Qt 5.1
|
||||
#endif
|
||||
*/
|
||||
#define QT_DEPRECATED_SINCE(major, minor) (QT_VERSION_CHECK(major, minor, 0) > QT_DISABLE_DEPRECATED_BEFORE)
|
||||
|
@ -111,7 +111,7 @@ public:
|
||||
inline Qt::MouseButtons buttons() const { return mouseState; }
|
||||
|
||||
#if QT_DEPRECATED_SINCE(5, 0)
|
||||
Q_DEPRECATED inline QPointF posF() const { return l; }
|
||||
QT_DEPRECATED inline QPointF posF() const { return l; }
|
||||
#endif
|
||||
|
||||
protected:
|
||||
|
Loading…
Reference in New Issue
Block a user