Slicer
4.11
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
#include <Base/QTCore/qSlicerPersistentCookieJar.h>
Public Types | |
typedef QNetworkCookieJar | Superclass |
Public Member Functions | |
QList< QNetworkCookie > | cookiesForUrl (const QUrl &url) const override |
QString | filePath () const |
qSlicerPersistentCookieJar (QObject *parent=nullptr) | |
bool | setCookiesFromUrl (const QList< QNetworkCookie > &cookieList, const QUrl &url) override |
void | setFilePath (const QString &filePath) |
~qSlicerPersistentCookieJar () override | |
Protected Attributes | |
QScopedPointer< qSlicerPersistentCookieJarPrivate > | d_ptr |
qSlicerPersistentCookieJar provides a mechanism allowing to store persistently cookies when associated with an instance of QNetworkAccessManager.
The cookies will be storted in a INI config file. By default, the config file will be located in the directory associated with the current application settings and will be named cookies.ini. This could be overwritten using qSlicerPersistentCookieJar::setFilePath
A cookie jar can be associated with a QNetworkAccessManager using method QNetworkAccessManager::setCookieJar
Definition at line 42 of file qSlicerPersistentCookieJar.h.
typedef QNetworkCookieJar qSlicerPersistentCookieJar::Superclass |
Definition at line 45 of file qSlicerPersistentCookieJar.h.
qSlicerPersistentCookieJar::qSlicerPersistentCookieJar | ( | QObject * | parent = nullptr | ) |
|
override |
|
override |
QString qSlicerPersistentCookieJar::filePath | ( | ) | const |
|
override |
void qSlicerPersistentCookieJar::setFilePath | ( | const QString & | filePath | ) |
|
protected |
Definition at line 56 of file qSlicerPersistentCookieJar.h.