diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2019-03-13 09:46:20 +0100 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2019-03-13 09:47:37 +0100 |
commit | 1dde5a7b9523ab7f62a6965edfd7b87ed40eecb8 (patch) | |
tree | ebf4a3200e9aca1d6f0295762318699949b19b57 /src/corelib | |
parent | 5652d33f973a03b93c9b5ce9e49db8cf0430b675 (diff) |
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>
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/tools/qeasingcurve.cpp | 5 | ||||
-rw-r--r-- | src/corelib/tools/qeasingcurve.h | 7 |
2 files changed, 0 insertions, 12 deletions
diff --git a/src/corelib/tools/qeasingcurve.cpp b/src/corelib/tools/qeasingcurve.cpp index 9169b5c7f1..c807bbd2e1 100644 --- a/src/corelib/tools/qeasingcurve.cpp +++ b/src/corelib/tools/qeasingcurve.cpp @@ -1366,11 +1366,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 Returns the cubicBezierSpline that defines a custom easing curve. diff --git a/src/corelib/tools/qeasingcurve.h b/src/corelib/tools/qeasingcurve.h index 725ddd5dcc..f7a1d6bdc0 100644 --- a/src/corelib/tools/qeasingcurve.h +++ b/src/corelib/tools/qeasingcurve.h @@ -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); |