summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qevent.h
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-02-27 13:33:49 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-05-11 13:41:36 (GMT)
commitce50bdd854497b2a2aedbdb4417b532799086241 (patch)
treec81785fa68cd674b8b4a7b3102da67ef12b1b16e /src/gui/kernel/qevent.h
parentaa4334b77702d99d4aa3da853dd66104eb4a8123 (diff)
downloadQt-ce50bdd854497b2a2aedbdb4417b532799086241.zip
Qt-ce50bdd854497b2a2aedbdb4417b532799086241.tar.gz
Qt-ce50bdd854497b2a2aedbdb4417b532799086241.tar.bz2
Added some documentation.
Fixed missing const specifiers.
Diffstat (limited to 'src/gui/kernel/qevent.h')
-rw-r--r--src/gui/kernel/qevent.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/kernel/qevent.h b/src/gui/kernel/qevent.h
index 858e2ea..cde7cb2 100644
--- a/src/gui/kernel/qevent.h
+++ b/src/gui/kernel/qevent.h
@@ -726,12 +726,12 @@ public:
QWidget *targetWidget() const
{ return m_targetWidget; }
- inline bool contains(const Qt::GestureType &gestureType) const
- { return gesture(gestureType) != 0; }
+ inline bool contains(const Qt::GestureType &type) const
+ { return gesture(type) != 0; }
inline QList<Qt::GestureType> gestureTypes() const
{ return m_gestures.keys(); }
- inline const QGesture* gesture(const Qt::GestureType &gestureType) const
- { return m_gestures.value(gestureType, QSharedPointer<QGesture>()).data(); }
+ inline const QGesture* gesture(const Qt::GestureType &type) const
+ { return m_gestures.value(type, QSharedPointer<QGesture>()).data(); }
inline QSet<Qt::GestureType> cancelledGestures() const
{ return m_cancelledGestures; }