summaryrefslogtreecommitdiffstats
path: root/examples/threads/mandelbrot/mandelbrotwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/threads/mandelbrot/mandelbrotwidget.h')
-rw-r--r--examples/threads/mandelbrot/mandelbrotwidget.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/threads/mandelbrot/mandelbrotwidget.h b/examples/threads/mandelbrot/mandelbrotwidget.h
index ea5fdc53c1..238a2bdca1 100644
--- a/examples/threads/mandelbrot/mandelbrotwidget.h
+++ b/examples/threads/mandelbrot/mandelbrotwidget.h
@@ -58,7 +58,9 @@ protected:
void paintEvent(QPaintEvent *event);
void resizeEvent(QResizeEvent *event);
void keyPressEvent(QKeyEvent *event);
+#ifndef QT_NO_WHEELEVENT
void wheelEvent(QWheelEvent *event);
+#endif
void mousePressEvent(QMouseEvent *event);
void mouseMoveEvent(QMouseEvent *event);
void mouseReleaseEvent(QMouseEvent *event);