summaryrefslogtreecommitdiffstats
path: root/examples/widgets/orientation/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/orientation/mainwindow.h')
-rw-r--r--examples/widgets/orientation/mainwindow.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/widgets/orientation/mainwindow.h b/examples/widgets/orientation/mainwindow.h
index 400a6a5a7f..45907c31be 100644
--- a/examples/widgets/orientation/mainwindow.h
+++ b/examples/widgets/orientation/mainwindow.h
@@ -46,7 +46,9 @@
#include "ui_landscape.h"
#include "ui_portrait.h"
+QT_BEGIN_NAMESPACE
class QAbstractButton;
+QT_END_NAMESPACE
//! [0]
class MainWindow : public QWidget