Slicer
4.10
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 |
QString | filePath () const |
qSlicerPersistentCookieJar (QObject *parent=0) | |
bool | setCookiesFromUrl (const QList< QNetworkCookie > &cookieList, const QUrl &url) |
void | setFilePath (const QString &filePath) |
virtual | ~qSlicerPersistentCookieJar () |
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 = 0 | ) |
|
virtual |
QList<QNetworkCookie> qSlicerPersistentCookieJar::cookiesForUrl | ( | const QUrl & | url | ) | const |
QString qSlicerPersistentCookieJar::filePath | ( | ) | const |
bool qSlicerPersistentCookieJar::setCookiesFromUrl | ( | const QList< QNetworkCookie > & | cookieList, |
const QUrl & | url | ||
) |
void qSlicerPersistentCookieJar::setFilePath | ( | const QString & | filePath | ) |
|
protected |
Definition at line 56 of file qSlicerPersistentCookieJar.h.