summaryrefslogtreecommitdiffstats
path: root/examples/webkit/webftpclient
diff options
context:
space:
mode:
Diffstat (limited to 'examples/webkit/webftpclient')
-rw-r--r--examples/webkit/webftpclient/ftpreply.h4
-rw-r--r--examples/webkit/webftpclient/ftpview.h3
2 files changed, 7 insertions, 0 deletions
diff --git a/examples/webkit/webftpclient/ftpreply.h b/examples/webkit/webftpclient/ftpreply.h
index ca0a271..65c8c66 100644
--- a/examples/webkit/webftpclient/ftpreply.h
+++ b/examples/webkit/webftpclient/ftpreply.h
@@ -46,6 +46,10 @@
#include <QUrlInfo>
#include <QFtp>
+QT_BEGIN_NAMESPACE
+class QFtp;
+QT_END_NAMESPACE
+
//! [class definition]
class FtpReply : public QNetworkReply
{
diff --git a/examples/webkit/webftpclient/ftpview.h b/examples/webkit/webftpclient/ftpview.h
index 544c0a9..ae4f9c1 100644
--- a/examples/webkit/webftpclient/ftpview.h
+++ b/examples/webkit/webftpclient/ftpview.h
@@ -41,6 +41,9 @@
#include <QWebView>
class Downloader;
+QT_BEGIN_NAMESPACE
+class QNetworkAccessManager;
+QT_END_NAMESPACE
class FtpView : public QWebView
{