summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qgesturemanager_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/kernel/qgesturemanager_p.h')
-rw-r--r--src/gui/kernel/qgesturemanager_p.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/kernel/qgesturemanager_p.h b/src/gui/kernel/qgesturemanager_p.h
index 5a2816c..f128273 100644
--- a/src/gui/kernel/qgesturemanager_p.h
+++ b/src/gui/kernel/qgesturemanager_p.h
@@ -116,7 +116,7 @@ private:
}
};
- QMap<ObjectGesture, QGesture *> m_objectGestures;
+ QMap<ObjectGesture, QList<QGesture *> > m_objectGestures;
QMap<QGesture *, QGestureRecognizer *> m_gestureToRecognizer;
QHash<QGesture *, QObject *> m_gestureOwners;
@@ -128,7 +128,8 @@ private:
QMap<QGesture *, QGestureRecognizer *> m_deletedRecognizers;
void cleanupGesturesForRemovedRecognizer(QGesture *gesture);
- QGesture *getState(QObject *widget, Qt::GestureType gesture);
+ QGesture *getState(QObject *widget, QGestureRecognizer *recognizer,
+ Qt::GestureType gesture);
void deliverEvents(const QSet<QGesture *> &gestures,
QSet<QGesture *> *undeliveredGestures);
void getGestureTargets(const QSet<QGesture*> &gestures,