summaryrefslogtreecommitdiffstats
path: root/src/gui/math3d/qvector2d.h
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2009-04-15 21:56:08 (GMT)
committerRhys Weatherley <rhys.weatherley@nokia.com>2009-04-15 21:56:08 (GMT)
commitc51b0e8389f52f895a9d69e9e96c1fd768d78bf4 (patch)
treea77e655a6539326b9ea2087d64358a70237a9466 /src/gui/math3d/qvector2d.h
parentca83968f235c731f3bd1eb38e3c97d38d34565a0 (diff)
downloadQt-c51b0e8389f52f895a9d69e9e96c1fd768d78bf4.zip
Qt-c51b0e8389f52f895a9d69e9e96c1fd768d78bf4.tar.gz
Qt-c51b0e8389f52f895a9d69e9e96c1fd768d78bf4.tar.bz2
Remove the int constructors from the vector classes
The int constructors existed to make fixed-point conversions faster in certain circumstances. With the removal of fixed-point support, they are no longer required. Reviewed-by: trustme
Diffstat (limited to 'src/gui/math3d/qvector2d.h')
-rw-r--r--src/gui/math3d/qvector2d.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gui/math3d/qvector2d.h b/src/gui/math3d/qvector2d.h
index 5e15de6..b027df4 100644
--- a/src/gui/math3d/qvector2d.h
+++ b/src/gui/math3d/qvector2d.h
@@ -61,7 +61,6 @@ class Q_GUI_EXPORT QVector2D
public:
QVector2D();
QVector2D(qreal xpos, qreal ypos);
- QVector2D(int xpos, int ypos);
explicit QVector2D(const QPoint& point);
explicit QVector2D(const QPointF& point);
#ifndef QT_NO_VECTOR3D
@@ -130,8 +129,6 @@ inline QVector2D::QVector2D(float xpos, float ypos, int) : xp(xpos), yp(ypos) {}
inline QVector2D::QVector2D(qreal xpos, qreal ypos) : xp(xpos), yp(ypos) {}
-inline QVector2D::QVector2D(int xpos, int ypos) : xp(xpos), yp(ypos) {}
-
inline QVector2D::QVector2D(const QPoint& point) : xp(point.x()), yp(point.y()) {}
inline QVector2D::QVector2D(const QPointF& point) : xp(point.x()), yp(point.y()) {}