summaryrefslogtreecommitdiffstats
path: root/examples/webkit/simplewebplugin
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2011-08-15 13:26:28 (GMT)
committerhjk <qtc-committer@nokia.com>2011-08-15 14:11:16 (GMT)
commitb90a0139a4f63c730bb4668e04ab3f8c81ead04f (patch)
tree2a65abd5b0f61e3d1aaa78e9e96d5af111fdec57 /examples/webkit/simplewebplugin
parenta1c224f151f1fd0003198e4783bef50fa9338a49 (diff)
downloadQt-b90a0139a4f63c730bb4668e04ab3f8c81ead04f.zip
Qt-b90a0139a4f63c730bb4668e04ab3f8c81ead04f.tar.gz
Qt-b90a0139a4f63c730bb4668e04ab3f8c81ead04f.tar.bz2
examples: fix compilation with namespaced Qt.
Diffstat (limited to 'examples/webkit/simplewebplugin')
-rw-r--r--examples/webkit/simplewebplugin/csvfactory.h2
-rw-r--r--examples/webkit/simplewebplugin/csvview.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/examples/webkit/simplewebplugin/csvfactory.h b/examples/webkit/simplewebplugin/csvfactory.h
index 0b046c5..e3013b1 100644
--- a/examples/webkit/simplewebplugin/csvfactory.h
+++ b/examples/webkit/simplewebplugin/csvfactory.h
@@ -44,8 +44,10 @@
#include <QNetworkRequest>
#include <QWebPluginFactory>
+QT_BEGIN_NAMESPACE
class QNetworkAccessManager;
class QNetworkReply;
+QT_END_NAMESPACE
//! [plugin factory]
class CSVFactory : public QWebPluginFactory
diff --git a/examples/webkit/simplewebplugin/csvview.h b/examples/webkit/simplewebplugin/csvview.h
index 0a136f3..f457d0a 100644
--- a/examples/webkit/simplewebplugin/csvview.h
+++ b/examples/webkit/simplewebplugin/csvview.h
@@ -46,8 +46,10 @@
#include <QTableView>
#include <QWebPluginFactory>
+QT_BEGIN_NAMESPACE
class QNetworkAccessManager;
class QNetworkReply;
+QT_END_NAMESPACE
//! [definition]
class CSVView : public QTableView