Protect implementation of QNativeGestureEvent against QT_NO_GESTURES

The definition and usage of QNativeGestureEvent had already been
protected against QT_NO_GESTURES but the implementation had been missed
out before.

Change-Id: Ie039e08257ad5eb7705342e4248b904f6ceca8df
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
This commit is contained in:
Andy Shaw 2013-12-04 20:53:30 +01:00 committed by The Qt Project
parent d270bd8673
commit 47efa9213d

View File

@ -2278,6 +2278,7 @@ QTabletEvent::~QTabletEvent()
#endif // QT_NO_TABLETEVENT
#ifndef QT_NO_GESTURES
/*!
\class QNativeGestureEvent
\since 5.2
@ -2392,6 +2393,7 @@ QNativeGestureEvent::QNativeGestureEvent(Qt::NativeGestureType type, const QPoin
Returns the position of the gesture as a QPointF, relative to the
window that received the event.
*/
#endif // QT_NO_GESTURES
#ifndef QT_NO_DRAGANDDROP
/*!