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 <libmythbase/mythdownloadmanager.h>

Inheritance diagram for MythCookieJar:
[legend]
Collaboration diagram for MythCookieJar:
[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 1754 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 1763 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 1788 of file mythdownloadmanager.cpp.


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