From 6aabf7501dca6a84847a0be14e8ddf754d25adfa Mon Sep 17 00:00:00 2001 From: hjk Date: Mon, 8 Nov 2010 18:09:12 +0100 Subject: compile fix for namespaced Qt --- examples/webkit/imageanalyzer/imageanalyzer.h | 4 +++- examples/webkit/imageanalyzer/mainwindow.h | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) 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 #include +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 class ImageAnalyzer; +QT_BEGIN_NAMESPACE class QNetworkDiskCache; +QT_END_NAMESPACE class MainWin : public QWebView { -- cgit v0.12