diff options
Diffstat (limited to 'src/gui/kernel/qwidget.h')
-rw-r--r-- | src/gui/kernel/qwidget.h | 6 |
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); |