From a5f0c51b3c9156011e8f051729b386e61fdf7851 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Wed, 29 Jul 2009 22:42:46 +0200 Subject: Fix compilation and source compatibility. Source code that includes implicitly includes QNetworkCookie in Qt 4.5. Restore this and keep Qt compiling after the split up by including qnetworkcookie.h from qnetworkcookiejar.h Reviewed-by: Trust me --- src/network/access/qnetworkcookiejar.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/network/access/qnetworkcookiejar.h b/src/network/access/qnetworkcookiejar.h index 6ff201e..fae0857 100644 --- a/src/network/access/qnetworkcookiejar.h +++ b/src/network/access/qnetworkcookiejar.h @@ -45,14 +45,15 @@ #include #include +// ### Qt5 remove this include +#include "qnetworkcookie.h" + QT_BEGIN_HEADER QT_BEGIN_NAMESPACE QT_MODULE(Network) -class QNetworkCookie; - class QNetworkCookieJarPrivate; class Q_NETWORK_EXPORT QNetworkCookieJar: public QObject { -- cgit v0.12