summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgraphicssceneevent.h
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-03-13 18:15:35 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-05-11 14:51:31 (GMT)
commit32164d09d8647995e6177efec967ace799b7c528 (patch)
tree8e90cec32f3713357c86e67c795657bff4136fab /src/gui/graphicsview/qgraphicssceneevent.h
parent86a160b083f9d43c07d42bbd7d2ef8b676552e38 (diff)
downloadQt-32164d09d8647995e6177efec967ace799b7c528.zip
Qt-32164d09d8647995e6177efec967ace799b7c528.tar.gz
Qt-32164d09d8647995e6177efec967ace799b7c528.tar.bz2
De-inlined functions in gesture events.
Diffstat (limited to 'src/gui/graphicsview/qgraphicssceneevent.h')
-rw-r--r--src/gui/graphicsview/qgraphicssceneevent.h22
1 files changed, 10 insertions, 12 deletions
diff --git a/src/gui/graphicsview/qgraphicssceneevent.h b/src/gui/graphicsview/qgraphicssceneevent.h
index 4d88cda..d1a301e 100644
--- a/src/gui/graphicsview/qgraphicssceneevent.h
+++ b/src/gui/graphicsview/qgraphicssceneevent.h
@@ -317,20 +317,18 @@ public:
QGraphicsSceneGestureEvent();
~QGraphicsSceneGestureEvent();
- inline bool contains(const QString &type) const
- { return gesture(type) != 0; }
- inline QList<QString> gestureTypes() const
- { return m_gestures.keys(); }
- inline const QGesture* gesture(const QString &type) const
- { return m_gestures.value(type, QSharedPointer<QGesture>()).data(); }
- inline QList<QSharedPointer<QGesture> > gestures() const
- { return m_gestures.values(); }
+ bool contains(const QString &type) const;
+ bool contains(Qt::GestureType type) const;
+
+ QList<QString> gestureTypes() const;
+
+ const QGesture* gesture(Qt::GestureType type) const;
+ const QGesture* gesture(const QString &type) const;
+ QList<QSharedPointer<QGesture> > gestures() const;
void setGestures(const QList<QSharedPointer<QGesture> > &gestures);
- inline QSet<QString> cancelledGestures() const
- { return m_cancelledGestures; }
- void setCancelledGestures(const QSet<QString> &cancelledGestures)
- { m_cancelledGestures = cancelledGestures; }
+ QSet<QString> cancelledGestures() const;
+ void setCancelledGestures(const QSet<QString> &cancelledGestures);
QPointF mapToScene(const QPoint &point) const;
QPolygonF mapToScene(const QRect &rect) const;