summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qwidget.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/qwidget.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/qwidget.h')
-rw-r--r--src/gui/kernel/qwidget.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/kernel/qwidget.h b/src/gui/kernel/qwidget.h
index afe637d..e36b966 100644
--- a/src/gui/kernel/qwidget.h
+++ b/src/gui/kernel/qwidget.h
@@ -613,10 +613,10 @@ public:
void setWindowSurface(QWindowSurface *surface);
QWindowSurface *windowSurface() const;
- void grabGesture(Qt::GestureType gesture);
+ void grabGesture(const Qt::GestureType &gesture);
void grabGestures(const QSet<Qt::GestureType> &gestures);
- void releaseGesture(Qt::GestureType gesture);
- QSet<Qt::GestureType> gestures();
+ void releaseGesture(const Qt::GestureType &gesture);
+ QSet<Qt::GestureType> gestures() const;
Q_SIGNALS:
void customContextMenuRequested(const QPoint &pos);