summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qgesture_p.h
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-08-04 11:37:35 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-08-04 14:22:48 (GMT)
commit47c191d3c6b9c3fbe062068167888bed434ab6e2 (patch)
tree7b3a6f4b9b7e542bfdd79e09682fcea618e95e43 /src/gui/kernel/qgesture_p.h
parent6b85ec8790aad8ac01c04f7e7bd4913d8cd8d104 (diff)
downloadQt-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_p.h')
-rw-r--r--src/gui/kernel/qgesture_p.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/gui/kernel/qgesture_p.h b/src/gui/kernel/qgesture_p.h
index 99f572f..56eaee7 100644
--- a/src/gui/kernel/qgesture_p.h
+++ b/src/gui/kernel/qgesture_p.h
@@ -73,22 +73,11 @@ public:
{
}
- void init(const QPoint &startPos, const QPoint &lastPos,
- const QPoint &pos)
- {
- this->startPos = startPos;
- this->lastPos = lastPos;
- this->pos = pos;
- }
QGraphicsItem *graphicsItem;
QGraphicsItem *eventFilterProxyGraphicsItem;
Qt::GestureState state;
-
- QPoint startPos;
- QPoint lastPos;
- QPoint pos;
};
QT_END_NAMESPACE