diff options
author | Christian Kandeler <christian.kandeler@nokia.com> | 2011-01-07 16:42:16 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@nokia.com> | 2011-01-07 16:45:26 +0100 |
commit | 55b0db65877ef5cfb6616f11988c990e2c207bd6 (patch) | |
tree | a4c194cd50cde2a88252d333e08fd0c1d8456029 | |
parent | 362a61cd821144141324d99cdbaf1ddd858076d9 (diff) | |
download | qt4-tools-55b0db65877ef5cfb6616f11988c990e2c207bd6.tar.gz |
Examples: Fix compilation with namespace.
-rw-r--r-- | examples/webkit/imageanalyzer/imageanalyzer.h | 6 | ||||
-rw-r--r-- | examples/webkit/imageanalyzer/mainwindow.h | 2 |
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 { |