Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qnetworkcookiejar.h
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
// Qt-Security score:significant reason:default
4
5
#
ifndef
QNETWORKCOOKIEJAR_H
6
#
define
QNETWORKCOOKIEJAR_H
7
8
#
include
<
QtNetwork
/
qtnetworkglobal
.
h
>
9
#
include
<
QtCore
/
QObject
>
10
#
include
<
QtCore
/
QUrl
>
11
12
QT_BEGIN_NAMESPACE
13
14
15
class
QNetworkCookie;
16
17
class
QNetworkCookieJarPrivate;
18
class
Q_NETWORK_EXPORT
QNetworkCookieJar
:
public
QObject
19
{
20
Q_OBJECT
21
public
:
22
explicit
QNetworkCookieJar(QObject *parent =
nullptr
);
23
virtual
~QNetworkCookieJar();
24
25
virtual
QList<QNetworkCookie> cookiesForUrl(
const
QUrl &url)
const
;
26
virtual
bool
setCookiesFromUrl(
const
QList<QNetworkCookie> &cookieList,
const
QUrl &url);
27
28
virtual
bool
insertCookie(
const
QNetworkCookie &cookie);
29
virtual
bool
updateCookie(
const
QNetworkCookie &cookie);
30
virtual
bool
deleteCookie(
const
QNetworkCookie &cookie);
31
32
protected
:
33
QList<QNetworkCookie> allCookies()
const
;
34
void
setAllCookies(
const
QList<QNetworkCookie> &cookieList);
35
virtual
bool
validateCookie(
const
QNetworkCookie &cookie,
const
QUrl &url)
const
;
36
37
private
:
38
Q_DECLARE_PRIVATE(QNetworkCookieJar)
39
Q_DISABLE_COPY(QNetworkCookieJar)
40
};
41
42
QT_END_NAMESPACE
43
44
#
endif
QByteArray::FromBase64Result
\inmodule QtCore
Definition
qbytearray.h:824
QNetworkCookieJar
The QNetworkCookieJar class implements a simple jar of QNetworkCookie objects.
Definition
qnetworkcookiejar.h:19
QNetworkCookie
The QNetworkCookie class holds one network cookie.
Definition
qnetworkcookie.h:24
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
std
[33]
Definition
src_corelib_tools_qhash.cpp:421
operator<<
Q_CORE_EXPORT QDebug operator<<(QDebug debug, QDir::Filters filters)
Definition
qdir.cpp:2620
QNetworkAccessBackendFactory_iid
#define QNetworkAccessBackendFactory_iid
Definition
qnetworkaccessbackend_p.h:155
qtbase
src
network
access
qnetworkcookiejar.h
Generated on
for Qt by
1.18.0