summaryrefslogtreecommitdiff
path: root/src/gui/kernel/qevent.h
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-03-13 19:15:35 +0100
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-05-11 16:51:31 +0200
commit32164d09d8647995e6177efec967ace799b7c528 (patch)
tree8e90cec32f3713357c86e67c795657bff4136fab /src/gui/kernel/qevent.h
parent86a160b083f9d43c07d42bbd7d2ef8b676552e38 (diff)
downloadqt4-tools-32164d09d8647995e6177efec967ace799b7c528.tar.gz
De-inlined functions in gesture events.
Diffstat (limited to 'src/gui/kernel/qevent.h')
-rw-r--r--src/gui/kernel/qevent.h22
1 files changed, 10 insertions, 12 deletions
diff --git a/src/gui/kernel/qevent.h b/src/gui/kernel/qevent.h
index db3d03f0b1..48e420a5b1 100644
--- a/src/gui/kernel/qevent.h
+++ b/src/gui/kernel/qevent.h
@@ -723,18 +723,16 @@ public:
QGestureEvent(const QGestureEvent &gestures, const QPoint &offset);
~QGestureEvent();
- 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(); }
-
- inline QSet<QString> cancelledGestures() const
- { return m_cancelledGestures; }
+ bool contains(Qt::GestureType type) const;
+ bool contains(const QString &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;
+
+ QSet<QString> cancelledGestures() const;
protected:
QHash<QString, QSharedPointer<QGesture> > m_gestures;