summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qwidget.cpp
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-03-16 15:31:05 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-05-11 14:51:38 (GMT)
commit841b10d10943d912fe75674045a740cff29e266c (patch)
tree3589271276898f1b53391d1d4eb1bb7f25b90331 /src/gui/kernel/qwidget.cpp
parent31d90932bd52d2557a9f1b164632e879105ce67b (diff)
downloadQt-841b10d10943d912fe75674045a740cff29e266c.zip
Qt-841b10d10943d912fe75674045a740cff29e266c.tar.gz
Qt-841b10d10943d912fe75674045a740cff29e266c.tar.bz2
Removed QWidget::gestureEvent() functions since adding a new virtual
function breaks binary compatibility.
Diffstat (limited to 'src/gui/kernel/qwidget.cpp')
-rw-r--r--src/gui/kernel/qwidget.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/gui/kernel/qwidget.cpp b/src/gui/kernel/qwidget.cpp
index 9c0c404..0029809 100644
--- a/src/gui/kernel/qwidget.cpp
+++ b/src/gui/kernel/qwidget.cpp
@@ -7931,7 +7931,7 @@ bool QWidget::event(QEvent *event)
break;
#endif
case QEvent::Gesture:
- gestureEvent((QGestureEvent*)event);
+ event->ignore();
break;
#ifndef QT_NO_PROPERTIES
case QEvent::DynamicPropertyChange: {
@@ -8738,11 +8738,6 @@ bool QWidget::qwsEvent(QWSEvent *)
#endif
-void QWidget::gestureEvent(QGestureEvent *event)
-{
- event->ignore();
-}
-
/*!
Ensures that the widget has been polished by QStyle (i.e., has a