summaryrefslogtreecommitdiffstats
path: root/examples/assistant/simpletextviewer/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/assistant/simpletextviewer/mainwindow.h')
-rw-r--r--examples/assistant/simpletextviewer/mainwindow.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/examples/assistant/simpletextviewer/mainwindow.h b/examples/assistant/simpletextviewer/mainwindow.h
index 7026b5eca..e8e917ea3 100644
--- a/examples/assistant/simpletextviewer/mainwindow.h
+++ b/examples/assistant/simpletextviewer/mainwindow.h
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2016 The Qt Company Ltd.
+** Copyright (C) 2017 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the examples of the Qt Toolkit.
@@ -51,7 +51,12 @@
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
-#include <QtWidgets/QMainWindow>
+#include <QMainWindow>
+
+QT_BEGIN_NAMESPACE
+class QAction;
+class QMenu;
+QT_END_NAMESPACE
class Assistant;
class TextEdit;