diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-08-04 11:37:35 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-08-04 14:22:48 (GMT) |
commit | 47c191d3c6b9c3fbe062068167888bed434ab6e2 (patch) | |
tree | 7b3a6f4b9b7e542bfdd79e09682fcea618e95e43 /src/gui/kernel/qgesture.cpp | |
parent | 6b85ec8790aad8ac01c04f7e7bd4913d8cd8d104 (diff) | |
download | Qt-47c191d3c6b9c3fbe062068167888bed434ab6e2.zip Qt-47c191d3c6b9c3fbe062068167888bed434ab6e2.tar.gz Qt-47c191d3c6b9c3fbe062068167888bed434ab6e2.tar.bz2 |
Removed the startPos/lastPos/pos from the gesture classes.
It doesn't make much sense to have that low-level info neither in the base
QGesture class, nor in the QPanGesture, as the latter one has offset properties
instead.
Reviewed-by: trustme
Diffstat (limited to 'src/gui/kernel/qgesture.cpp')
-rw-r--r-- | src/gui/kernel/qgesture.cpp | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/src/gui/kernel/qgesture.cpp b/src/gui/kernel/qgesture.cpp index 1f98013..32ac4f8 100644 --- a/src/gui/kernel/qgesture.cpp +++ b/src/gui/kernel/qgesture.cpp @@ -205,51 +205,6 @@ void QGesture::setState(Qt::GestureState state) } /*! - \property QGesture::startPos - - \brief The start position of the gesture (if relevant). -*/ -QPoint QGesture::startPos() const -{ - return d_func()->startPos; -} - -void QGesture::setStartPos(const QPoint &point) -{ - d_func()->startPos = point; -} - -/*! - \property QGesture::lastPos - - \brief The last recorded position of the gesture (if relevant). -*/ -QPoint QGesture::lastPos() const -{ - return d_func()->lastPos; -} - -void QGesture::setLastPos(const QPoint &point) -{ - d_func()->lastPos = point; -} - -/*! - \property QGesture::pos - - \brief The current position of the gesture (if relevant). -*/ -QPoint QGesture::pos() const -{ - return d_func()->pos; -} - -void QGesture::setPos(const QPoint &point) -{ - d_func()->pos = point; -} - -/*! Sets the \a graphicsItem the gesture is filtering events for. The gesture will install an event filter to the \a graphicsItem and |