Remove deprecated QEasingCurve::cubicBezierSpline() function
It has been deprecated since Qt 5.0 so hopefully nobody is using it anymore. Change-Id: If3466f8a2d25ea87cd51ca71606d2a27a428efcf Reviewed-by: Christian Ehrlicher <ch.ehrlicher@gmx.de>bb10
parent
5652d33f97
commit
1dde5a7b95
|
|
@ -1365,11 +1365,6 @@ void QEasingCurve::addTCBSegment(const QPointF &nextPoint, qreal t, qreal c, qre
|
|||
|
||||
}
|
||||
|
||||
/*!
|
||||
\fn QList<QPointF> QEasingCurve::cubicBezierSpline() const
|
||||
\obsolete Use toCubicSpline() instead.
|
||||
*/
|
||||
|
||||
/*!
|
||||
\since 5.0
|
||||
|
||||
|
|
|
|||
|
|
@ -43,10 +43,6 @@
|
|||
#include <QtCore/qglobal.h>
|
||||
#include <QtCore/qobjectdefs.h>
|
||||
#include <QtCore/qvector.h>
|
||||
#if QT_DEPRECATED_SINCE(5, 0)
|
||||
# include <QtCore/qlist.h>
|
||||
# include <QtCore/qpoint.h>
|
||||
#endif
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
|
|
@ -102,9 +98,6 @@ public:
|
|||
void addCubicBezierSegment(const QPointF & c1, const QPointF & c2, const QPointF & endPoint);
|
||||
void addTCBSegment(const QPointF &nextPoint, qreal t, qreal c, qreal b);
|
||||
QVector<QPointF> toCubicSpline() const;
|
||||
#if QT_DEPRECATED_SINCE(5, 0)
|
||||
QT_DEPRECATED QList<QPointF> cubicBezierSpline() const { return toCubicSpline().toList(); }
|
||||
#endif
|
||||
|
||||
Type type() const;
|
||||
void setType(Type type);
|
||||
|
|
|
|||
Loading…
Reference in New Issue