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...

#include <mythdownloadmanager.h>

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 29 of file mythdownloadmanager.h.

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 1750 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 1759 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 1784 of file mythdownloadmanager.cpp.


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