summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgraphicssceneevent.h
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-05-11 10:18:08 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-05-11 14:52:06 (GMT)
commitfd55642d60b852fbd175a9ea7c1a2457c6f611aa (patch)
treef488aa9592f6a8c1a4b49d42937016e509a59748 /src/gui/graphicsview/qgraphicssceneevent.h
parent81a64345258f2f2ad5cf77355f7ecbd3ebad9734 (diff)
downloadQt-fd55642d60b852fbd175a9ea7c1a2457c6f611aa.zip
Qt-fd55642d60b852fbd175a9ea7c1a2457c6f611aa.tar.gz
Qt-fd55642d60b852fbd175a9ea7c1a2457c6f611aa.tar.bz2
Added accept* method to QGraphicsSceneGestureEvent as well.
Diffstat (limited to 'src/gui/graphicsview/qgraphicssceneevent.h')
-rw-r--r--src/gui/graphicsview/qgraphicssceneevent.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gui/graphicsview/qgraphicssceneevent.h b/src/gui/graphicsview/qgraphicssceneevent.h
index 244c25e..4b7065e 100644
--- a/src/gui/graphicsview/qgraphicssceneevent.h
+++ b/src/gui/graphicsview/qgraphicssceneevent.h
@@ -329,6 +329,15 @@ public:
QSet<QString> cancelledGestures() const;
void setCancelledGestures(const QSet<QString> &cancelledGestures);
+ void acceptAll();
+#ifndef Q_NO_USING_KEYWORD
+ using QEvent::accept;
+#else
+ inline void accept() { QEvent::accept(); }
+#endif
+ void accept(Qt::GestureType type);
+ void accept(const QString &type);
+
QPointF mapToScene(const QPoint &point) const;
QPolygonF mapToScene(const QRect &rect) const;
QPointF mapToItem(const QPoint &point, QGraphicsItem *item) const;