diff options
author | Benjamin C Meyer <ben@meyerhome.net> | 2009-07-26 17:54:09 (GMT) |
---|---|---|
committer | Peter Hartmann <peter.hartmann@trolltech.com> | 2009-07-29 09:17:09 (GMT) |
commit | 953e8ed41dc0bc8490cbee4ab3068a03467b4f64 (patch) | |
tree | a02da3841364953857d255cc66b34c5e9a3d7e94 /src/network/access/qnetworkcookie.h | |
parent | 7ee964bea3ba3ed31f36c8110789509edcbfbd54 (diff) | |
download | Qt-953e8ed41dc0bc8490cbee4ab3068a03467b4f64.zip Qt-953e8ed41dc0bc8490cbee4ab3068a03467b4f64.tar.gz Qt-953e8ed41dc0bc8490cbee4ab3068a03467b4f64.tar.bz2 |
Move the QNetworkCookieJar class out of qnetworkcookie.[h,cpp] files and into qnetworkcookiejar[h,_p.h,cpp].
one adjustment was necessary from the merge request:
The line 110 in qnetworkcookie.h needed to include
qnetworkcookiejar.h, not <QtNetwork/QNetworkCookieJar> .
Merge-request: 1015
Reviewed-by: Peter Hartmann
Diffstat (limited to 'src/network/access/qnetworkcookie.h')
-rw-r--r-- | src/network/access/qnetworkcookie.h | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/src/network/access/qnetworkcookie.h b/src/network/access/qnetworkcookie.h index c11b5b5..ef309a8 100644 --- a/src/network/access/qnetworkcookie.h +++ b/src/network/access/qnetworkcookie.h @@ -106,25 +106,8 @@ private: }; Q_DECLARE_TYPEINFO(QNetworkCookie, Q_MOVABLE_TYPE); -class QNetworkCookieJarPrivate; -class Q_NETWORK_EXPORT QNetworkCookieJar: public QObject -{ - Q_OBJECT -public: - QNetworkCookieJar(QObject *parent = 0); - virtual ~QNetworkCookieJar(); - - virtual QList<QNetworkCookie> cookiesForUrl(const QUrl &url) const; - virtual bool setCookiesFromUrl(const QList<QNetworkCookie> &cookieList, const QUrl &url); - -protected: - QList<QNetworkCookie> allCookies() const; - void setAllCookies(const QList<QNetworkCookie> &cookieList); - -private: - Q_DECLARE_PRIVATE(QNetworkCookieJar) - Q_DISABLE_COPY(QNetworkCookieJar) -}; +// ### Qt5 remove this include +#include "qnetworkcookiejar.h" #ifndef QT_NO_DEBUG_STREAM class QDebug; |