summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@nokia.com>2011-01-07 16:42:16 +0100
committerChristian Kandeler <christian.kandeler@nokia.com>2011-01-07 16:45:26 +0100
commit55b0db65877ef5cfb6616f11988c990e2c207bd6 (patch)
treea4c194cd50cde2a88252d333e08fd0c1d8456029
parent362a61cd821144141324d99cdbaf1ddd858076d9 (diff)
downloadqt4-tools-55b0db65877ef5cfb6616f11988c990e2c207bd6.tar.gz
Examples: Fix compilation with namespace.
-rw-r--r--examples/webkit/imageanalyzer/imageanalyzer.h6
-rw-r--r--examples/webkit/imageanalyzer/mainwindow.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/webkit/imageanalyzer/imageanalyzer.h b/examples/webkit/imageanalyzer/imageanalyzer.h
index 1bb25dc163..265a0c5bcb 100644
--- a/examples/webkit/imageanalyzer/imageanalyzer.h
+++ b/examples/webkit/imageanalyzer/imageanalyzer.h
@@ -44,9 +44,9 @@
#include <QFutureWatcher>
#include <QtGui>
-class QNetworkAccessManager;
-class QNetworkReply;
-class QNetworkDiskCache;
+QT_FORWARD_DECLARE_CLASS(QNetworkAccessManager)
+QT_FORWARD_DECLARE_CLASS(QNetworkReply)
+QT_FORWARD_DECLARE_CLASS(QNetworkDiskCache)
//! [ ImageAnalyzer - public interface ]
class ImageAnalyzer : public QObject
diff --git a/examples/webkit/imageanalyzer/mainwindow.h b/examples/webkit/imageanalyzer/mainwindow.h
index 076e58661d..dac7c561aa 100644
--- a/examples/webkit/imageanalyzer/mainwindow.h
+++ b/examples/webkit/imageanalyzer/mainwindow.h
@@ -45,7 +45,7 @@
#include <QWebView>
class ImageAnalyzer;
-class QNetworkDiskCache;
+QT_FORWARD_DECLARE_CLASS(QNetworkDiskCache)
class MainWin : public QWebView
{