#include <qttvdb.h>
List of all members.
Public Types |
enum | Mask { XML = 1,
BANNER = 2,
ZIP = 4
} |
Signals |
void | keyChanged () |
void | xmlMirrorsChanged () |
void | bannerMirrorsChanged () |
void | zipMirrorsChanged () |
void | languagesChanged () |
Public Member Functions |
QString & | key () |
QString const & | key () const |
void | setKey (QString const &key__) |
QList< QUrl > & | xmlMirrors () |
QList< QUrl > const & | xmlMirrors () const |
void | setXmlMirrors (QList< QUrl > const &xmlMirrors__) |
QList< QUrl > & | bannerMirrors () |
QList< QUrl > const & | bannerMirrors () const |
void | setBannerMirrors (QList< QUrl > const &bannerMirrors__) |
QList< QUrl > & | zipMirrors () |
QList< QUrl > const & | zipMirrors () const |
void | setZipMirrors (QList< QUrl > const &zipMirrors__) |
QStringList & | languages () |
QStringList const & | languages () const |
void | setLanguages (QStringList const &languages__) |
| Mirrors (QObject *parent=NULL) |
| Mirrors (const QString &key, QObject *parent=NULL) |
| ~Mirrors () |
QUrl | mirrorsUrl () |
QUrl | languagesUrl () |
QUrl | serverTimeUrl () |
QUrl | searchShowUrl (const QString &showName, const QString &language=QString()) |
QUrl | showUrl (qint64 showId) |
QUrl | episodeUrl (qint64 episodeId) |
QUrl | showAndEpisodesUrl (qint64 showId, const QString &language=QString()) |
QUrl | showAndEpisodesUrlZip (qint64 showId, const QString &language) |
QUrl | updatesUrl (const QString &period) |
QUrl | updatedShowsUrl (const QDateTime &period) |
QUrl | updatedEpisodesUrl (const QDateTime &period) |
QUrl | bannersUrl (qint64 showId) |
QUrl | bannerUrl (const QString &path) |
int | languageId (const QString &l) |
QString | languageById (int id) |
QString | languageNameById (int id) |
QString | languageName (const QString &l) |
QUrl | randomMirror (const QList< QUrl > &mirrors, bool key=false, const QString &postfix=QString(), bool api=true) |
Static Public Member Functions |
static QList< QPair< Mask, QUrl > > | parseMirrors (const QString &xml) |
static QList< QPair< Mask, QUrl > > | parseMirrors (const QDomNode &node) |
Properties |
QString | key |
QList< QUrl > | xmlMirrors |
QList< QUrl > | bannerMirrors |
QList< QUrl > | zipMirrors |
QStringList | languages |
Member Enumeration Documentation
Constructor & Destructor Documentation
Mirrors::Mirrors |
( |
QObject * |
parent = NULL | ) |
|
Mirrors::Mirrors |
( |
const QString & |
key, |
|
|
QObject * |
parent = NULL |
|
) |
| |
Member Function Documentation
QList<QUrl>& QtTvDB::Mirrors::bannerMirrors |
( |
| ) |
[inline] |
QList<QUrl> const& QtTvDB::Mirrors::bannerMirrors |
( |
| ) |
const [inline] |
void QtTvDB::Mirrors::bannerMirrorsChanged |
( |
| ) |
[signal] |
QUrl Mirrors::bannersUrl |
( |
qint64 |
showId | ) |
|
QUrl Mirrors::bannerUrl |
( |
const QString & |
path | ) |
|
QUrl Mirrors::episodeUrl |
( |
qint64 |
episodeId | ) |
|
QString const& QtTvDB::Mirrors::key |
( |
| ) |
const [inline] |
QString& QtTvDB::Mirrors::key |
( |
| ) |
[inline] |
void QtTvDB::Mirrors::keyChanged |
( |
| ) |
[signal] |
QString Mirrors::languageById |
( |
int |
id | ) |
|
int Mirrors::languageId |
( |
const QString & |
l | ) |
|
QString Mirrors::languageName |
( |
const QString & |
l | ) |
|
QString Mirrors::languageNameById |
( |
int |
id | ) |
|
QStringList& QtTvDB::Mirrors::languages |
( |
| ) |
[inline] |
QStringList const& QtTvDB::Mirrors::languages |
( |
| ) |
const [inline] |
void QtTvDB::Mirrors::languagesChanged |
( |
| ) |
[signal] |
QUrl Mirrors::languagesUrl |
( |
| ) |
|
QUrl Mirrors::mirrorsUrl |
( |
| ) |
|
QList< QPair< Mirrors::Mask, QUrl > > Mirrors::parseMirrors |
( |
const QDomNode & |
node | ) |
[static] |
QList< QPair< Mirrors::Mask, QUrl > > Mirrors::parseMirrors |
( |
const QString & |
xml | ) |
[static] |
QUrl Mirrors::randomMirror |
( |
const QList< QUrl > & |
mirrors, |
|
|
bool |
key = false , |
|
|
const QString & |
postfix = QString() , |
|
|
bool |
api = true |
|
) |
| |
QUrl Mirrors::searchShowUrl |
( |
const QString & |
showName, |
|
|
const QString & |
language = QString() |
|
) |
| |
QUrl Mirrors::serverTimeUrl |
( |
| ) |
|
void QtTvDB::Mirrors::setBannerMirrors |
( |
QList< QUrl > const & |
bannerMirrors__ | ) |
[inline] |
void QtTvDB::Mirrors::setKey |
( |
QString const & |
key__ | ) |
[inline] |
void QtTvDB::Mirrors::setLanguages |
( |
QStringList const & |
languages__ | ) |
[inline] |
void QtTvDB::Mirrors::setXmlMirrors |
( |
QList< QUrl > const & |
xmlMirrors__ | ) |
[inline] |
void QtTvDB::Mirrors::setZipMirrors |
( |
QList< QUrl > const & |
zipMirrors__ | ) |
[inline] |
QUrl Mirrors::showAndEpisodesUrl |
( |
qint64 |
showId, |
|
|
const QString & |
language = QString() |
|
) |
| |
QUrl Mirrors::showAndEpisodesUrlZip |
( |
qint64 |
showId, |
|
|
const QString & |
language |
|
) |
| |
QUrl Mirrors::showUrl |
( |
qint64 |
showId | ) |
|
QUrl Mirrors::updatedEpisodesUrl |
( |
const QDateTime & |
period | ) |
|
QUrl Mirrors::updatedShowsUrl |
( |
const QDateTime & |
period | ) |
|
QUrl Mirrors::updatesUrl |
( |
const QString & |
period | ) |
|
QList<QUrl> const& QtTvDB::Mirrors::xmlMirrors |
( |
| ) |
const [inline] |
QList<QUrl>& QtTvDB::Mirrors::xmlMirrors |
( |
| ) |
[inline] |
void QtTvDB::Mirrors::xmlMirrorsChanged |
( |
| ) |
[signal] |
QList<QUrl> const& QtTvDB::Mirrors::zipMirrors |
( |
| ) |
const [inline] |
QList<QUrl>& QtTvDB::Mirrors::zipMirrors |
( |
| ) |
[inline] |
void QtTvDB::Mirrors::zipMirrorsChanged |
( |
| ) |
[signal] |
Property Documentation
QList<QUrl> QtTvDB::Mirrors::bannerMirrors [read, write] |
QString QtTvDB::Mirrors::key [read, write] |
QStringList QtTvDB::Mirrors::languages [read, write] |
QList<QUrl> QtTvDB::Mirrors::xmlMirrors [read, write] |
QList<QUrl> QtTvDB::Mirrors::zipMirrors [read, write] |
The documentation for this class was generated from the following files: