MythTV  master
Public Member Functions | List of all members
MythCookieJar Class Reference

A subclassed QNetworkCookieJar that allows for reading and writing cookie files that contain raw formatted cookies and copying the cookie jar to share between threads. More...

Inheritance diagram for MythCookieJar:
Inheritance graph
[legend]
Collaboration diagram for MythCookieJar:
Collaboration graph
[legend]

Public Member Functions

 MythCookieJar ()=default
 
void copyAllCookies (MythCookieJar &old)
 Copies all cookies from one MythCookieJar to another. More...
 
void load (const QString &filename)
 Loads the cookie jar from a cookie file. More...
 
void save (const QString &filename)
 Saves the cookie jar to a cookie file. More...
 

Detailed Description

A subclassed QNetworkCookieJar that allows for reading and writing cookie files that contain raw formatted cookies and copying the cookie jar to share between threads.

Definition at line 105 of file mythdownloadmanager.cpp.

Constructor & Destructor Documentation

◆ MythCookieJar()

MythCookieJar::MythCookieJar ( )
default

Member Function Documentation

◆ copyAllCookies()

void MythCookieJar::copyAllCookies ( MythCookieJar old)

Copies all cookies from one MythCookieJar to another.

Parameters
oldthe MythCookieJar to copy

Definition at line 1763 of file mythdownloadmanager.cpp.

Referenced by MythDownloadManager::copyCookieJar(), MythDownloadManager::refreshCookieJar(), and MythDownloadManager::updateCookieJar().

◆ load()

void MythCookieJar::load ( const QString &  filename)

Loads the cookie jar from a cookie file.

Parameters
filenameFilename of the cookie file to read.

Definition at line 1772 of file mythdownloadmanager.cpp.

Referenced by MythDownloadManager::loadCookieJar().

◆ save()

void MythCookieJar::save ( const QString &  filename)

Saves the cookie jar to a cookie file.

Parameters
filenameFilename of the cookie file to write.

Definition at line 1797 of file mythdownloadmanager.cpp.


The documentation for this class was generated from the following file: