summaryrefslogtreecommitdiffstats
path: root/examples/opengl/2dpainting/helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/opengl/2dpainting/helper.h')
-rw-r--r--examples/opengl/2dpainting/helper.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/examples/opengl/2dpainting/helper.h b/examples/opengl/2dpainting/helper.h
index 10bb2a5a9c..47f4c96639 100644
--- a/examples/opengl/2dpainting/helper.h
+++ b/examples/opengl/2dpainting/helper.h
@@ -44,11 +44,7 @@
#include <QBrush>
#include <QFont>
#include <QPen>
-
-QT_BEGIN_NAMESPACE
-class QPainter;
-class QPaintEvent;
-QT_END_NAMESPACE
+#include <QWidget>
//! [0]
class Helper