#include "qnetworkcookiejar.h"
#include "qnetworkcookiejar_p.h"
#include "QtNetwork/qnetworkcookie.h"
#include "QtCore/qurl.h"
#include "QtCore/qdatetime.h"
#include "private/qtldurl_p.h"
Go to the source code of this file.
◆ isParentDomain()
Definition at line 151 of file qnetworkcookiejar.cpp.
Referenced by QNetworkCookieJar::cookiesForUrl(), and QNetworkCookieJar::setCookiesFromUrl().
154 return domain == reference;
156 return domain.
endsWith(reference) || domain == reference.
mid(1);
bool startsWith(const QString &s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
Returns true if the string starts with s; otherwise returns false.
QString mid(int position, int n=-1) const Q_REQUIRED_RESULT
Returns a string that contains n characters of this string, starting at the specified position index...
bool endsWith(const QString &s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
Returns true if the string ends with s; otherwise returns false.
The QLatin1Char class provides an 8-bit ASCII/Latin-1 character.
◆ isParentPath()
Definition at line 142 of file qnetworkcookiejar.cpp.
Referenced by QNetworkCookieJar::cookiesForUrl().
bool startsWith(const QString &s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
Returns true if the string starts with s; otherwise returns false.
bool endsWith(const QString &s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
Returns true if the string ends with s; otherwise returns false.
The QLatin1Char class provides an 8-bit ASCII/Latin-1 character.