diff options
author | Christian Kandeler <christian.kandeler@nokia.com> | 2011-01-07 15:42:16 (GMT) |
---|---|---|
committer | Christian Kandeler <christian.kandeler@nokia.com> | 2011-01-07 15:45:26 (GMT) |
commit | 55b0db65877ef5cfb6616f11988c990e2c207bd6 (patch) | |
tree | a4c194cd50cde2a88252d333e08fd0c1d8456029 /examples/webkit/imageanalyzer | |
parent | 362a61cd821144141324d99cdbaf1ddd858076d9 (diff) | |
download | Qt-55b0db65877ef5cfb6616f11988c990e2c207bd6.zip Qt-55b0db65877ef5cfb6616f11988c990e2c207bd6.tar.gz Qt-55b0db65877ef5cfb6616f11988c990e2c207bd6.tar.bz2 |
Examples: Fix compilation with namespace.
Diffstat (limited to 'examples/webkit/imageanalyzer')
-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 1bb25dc..265a0c5 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 076e586..dac7c56 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 { |