summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/qmenu.h
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2010-02-09 11:33:52 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2010-02-10 14:41:58 (GMT)
commit5ab191af20bf2b1fed2b8886ac247c2953087c14 (patch)
treeb6ef3fa71ef65d7016ebd2cc2a11659f39f57c9d /src/gui/widgets/qmenu.h
parente950fad2ab8b0c93da176ce2f07a4d45a3185cb4 (diff)
downloadQt-5ab191af20bf2b1fed2b8886ac247c2953087c14.zip
Qt-5ab191af20bf2b1fed2b8886ac247c2953087c14.tar.gz
Qt-5ab191af20bf2b1fed2b8886ac247c2953087c14.tar.bz2
Fixed compilation with QT_NO_WHEELEVENT
Reviewed-by: Prasanth
Diffstat (limited to 'src/gui/widgets/qmenu.h')
-rw-r--r--src/gui/widgets/qmenu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/qmenu.h b/src/gui/widgets/qmenu.h
index 5a6a5c7..47dff2b 100644
--- a/src/gui/widgets/qmenu.h
+++ b/src/gui/widgets/qmenu.h
@@ -162,7 +162,9 @@ protected:
void mouseReleaseEvent(QMouseEvent *);
void mousePressEvent(QMouseEvent *);
void mouseMoveEvent(QMouseEvent *);
+#ifndef QT_NO_WHEELEVENT
void wheelEvent(QWheelEvent *);
+#endif
void enterEvent(QEvent *);
void leaveEvent(QEvent *);
void hideEvent(QHideEvent *);