summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@theqtcompany.com>2015-12-14 11:36:28 +0100
committerJoerg Bornemann <joerg.bornemann@theqtcompany.com>2015-12-14 12:28:39 +0000
commite34450b1649e3c4bfc5aa64f4e07adec399d5086 (patch)
treec747dde56f2d918b4e5896ecf0da8079dcd31a49 /examples
parent28b08c849efc361b42e79b69e76541d9b0faddd9 (diff)
Fix namespaced build of demobrowser
Change-Id: I6f863676dabacbe193e148481178753f05bd2869 Reviewed-by: Michal Klocek <michal.klocek@theqtcompany.com> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/webenginewidgets/demobrowser/fullscreennotification.h3
-rw-r--r--examples/webenginewidgets/demobrowser/tabwidget.h5
2 files changed, 6 insertions, 2 deletions
diff --git a/examples/webenginewidgets/demobrowser/fullscreennotification.h b/examples/webenginewidgets/demobrowser/fullscreennotification.h
index 051075ab..f515bfec 100644
--- a/examples/webenginewidgets/demobrowser/fullscreennotification.h
+++ b/examples/webenginewidgets/demobrowser/fullscreennotification.h
@@ -44,9 +44,11 @@
#include <QWidget>
+QT_BEGIN_NAMESPACE
class QLabel;
class QGridLayout;
class QPropertyAnimation;
+QT_END_NAMESPACE
class FullScreenNotification : public QWidget
{
@@ -72,5 +74,4 @@ private:
int y;
};
-
#endif // FULLSCREENNOTIFICATION_H
diff --git a/examples/webenginewidgets/demobrowser/tabwidget.h b/examples/webenginewidgets/demobrowser/tabwidget.h
index 1ba9afe4..5ef403bf 100644
--- a/examples/webenginewidgets/demobrowser/tabwidget.h
+++ b/examples/webenginewidgets/demobrowser/tabwidget.h
@@ -128,13 +128,16 @@ private:
#include <QtCore/QUrl>
#include <QtWidgets/QTabWidget>
-QT_BEGIN_NAMESPACE
+
class FullScreenNotification;
+
+QT_BEGIN_NAMESPACE
class QCompleter;
class QLineEdit;
class QMenu;
class QStackedWidget;
QT_END_NAMESPACE
+
/*!
TabWidget that contains WebViews and a stack widget of associated line edits.