summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2010-11-08 17:09:12 (GMT)
committerhjk <qtc-committer@nokia.com>2010-11-08 17:09:29 (GMT)
commit6aabf7501dca6a84847a0be14e8ddf754d25adfa (patch)
treec7842eae69f928123024a2c650ce75ed49a24ea9 /examples
parent8127f10569092cf87298d961aea0bf50c9c59bd6 (diff)
downloadQt-6aabf7501dca6a84847a0be14e8ddf754d25adfa.zip
Qt-6aabf7501dca6a84847a0be14e8ddf754d25adfa.tar.gz
Qt-6aabf7501dca6a84847a0be14e8ddf754d25adfa.tar.bz2
compile fix for namespaced Qt
Diffstat (limited to 'examples')
-rw-r--r--examples/webkit/imageanalyzer/imageanalyzer.h4
-rw-r--r--examples/webkit/imageanalyzer/mainwindow.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/examples/webkit/imageanalyzer/imageanalyzer.h b/examples/webkit/imageanalyzer/imageanalyzer.h
index 1bb25dc..5a96909 100644
--- a/examples/webkit/imageanalyzer/imageanalyzer.h
+++ b/examples/webkit/imageanalyzer/imageanalyzer.h
@@ -38,15 +38,17 @@
**
****************************************************************************/
-
#ifndef IMAGEANALYZER_H
#define IMAGEANALYZER_H
+
#include <QFutureWatcher>
#include <QtGui>
+QT_BEGIN_NAMESPACE
class QNetworkAccessManager;
class QNetworkReply;
class QNetworkDiskCache;
+QT_END_NAMESPACE
//! [ ImageAnalyzer - public interface ]
class ImageAnalyzer : public QObject
diff --git a/examples/webkit/imageanalyzer/mainwindow.h b/examples/webkit/imageanalyzer/mainwindow.h
index 076e586..3c943dc 100644
--- a/examples/webkit/imageanalyzer/mainwindow.h
+++ b/examples/webkit/imageanalyzer/mainwindow.h
@@ -45,7 +45,9 @@
#include <QWebView>
class ImageAnalyzer;
+QT_BEGIN_NAMESPACE
class QNetworkDiskCache;
+QT_END_NAMESPACE
class MainWin : public QWebView
{