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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/widgets/orientation/mainwindow.h b/examples/widgets/orientation/mainwindow.h
index 745497c..29ccf06 100644
--- a/examples/widgets/orientation/mainwindow.h
+++ b/examples/widgets/orientation/mainwindow.h
@@ -46,6 +46,10 @@
#include "ui_landscape.h"
#include "ui_portrait.h"
+class QAbstractButton;
+
+QT_BEGIN_NAMESPACE
+
//! [0]
class MainWindow : public QWidget
{
@@ -68,4 +72,6 @@ private:
};
//! [0]
+QT_END_NAMESPACE
+
#endif // MAINWINDOW_H