MythTV  master
Public Types | Public Member Functions | Private Attributes | List of all members
ResultItem Class Reference

#include <rssparse.h>

Public Types

typedef QList< ResultItem * > resultList
 
typedef std::vector< ResultItemList
 

Public Member Functions

 ResultItem (const QString &title, const QString &sortTitle, const QString &subtitle, const QString &sortSubtitle, const QString &desc, const QString &URL, const QString &thumbnail, const QString &mediaURL, const QString &author, const QDateTime &date, const QString &time, const QString &rating, const off_t &filesize, const QString &player, const QStringList &playerargs, const QString &download, const QStringList &downloadargs, const uint &width, const uint &height, const QString &language, const bool &downloadable, const QStringList &countries, const uint &season, const uint &episode, const bool &customhtml)
 
 ResultItem ()=default
 
 ~ResultItem ()=default
 
void ensureSortFields (void)
 
void toMap (InfoMap &metadataMap)
 
const QString & GetTitle () const
 
const QString & GetSortTitle () const
 
const QString & GetSubtitle () const
 
const QString & GetSortSubtitle () const
 
const QString & GetDescription () const
 
const QString & GetURL () const
 
const QString & GetThumbnail () const
 
const QString & GetMediaURL () const
 
const QString & GetAuthor () const
 
const QDateTime & GetDate () const
 
const QString & GetTime () const
 
const QString & GetRating () const
 
const off_tGetFilesize () const
 
const QString & GetPlayer () const
 
const QStringList & GetPlayerArguments () const
 
const QString & GetDownloader () const
 
const QStringList & GetDownloaderArguments () const
 
const uintGetWidth () const
 
const uintGetHeight () const
 
const QString & GetLanguage () const
 
const boolGetDownloadable () const
 
const QStringList & GetCountries () const
 
const uintGetSeason () const
 
const uintGetEpisode () const
 
const boolGetCustomHTML () const
 

Private Attributes

QString m_title
 
QString m_sorttitle
 
QString m_subtitle
 
QString m_sortsubtitle
 
QString m_desc
 
QString m_URL
 
QString m_thumbnail
 
QString m_mediaURL
 
QString m_author
 
QDateTime m_date
 
QString m_time
 
QString m_rating
 
off_t m_filesize {0}
 
QString m_player
 
QStringList m_playerargs
 
QString m_download
 
QStringList m_downloadargs
 
uint m_width {0}
 
uint m_height {0}
 
QString m_language
 
bool m_downloadable {false}
 
QStringList m_countries
 
uint m_season {0}
 
uint m_episode {0}
 
bool m_customhtml {false}
 

Detailed Description

Definition at line 109 of file rssparse.h.

Member Typedef Documentation

◆ resultList

Definition at line 114 of file rssparse.h.

◆ List

typedef std::vector<ResultItem> ResultItem::List

Definition at line 115 of file rssparse.h.

Constructor & Destructor Documentation

◆ ResultItem() [1/2]

ResultItem::ResultItem ( const QString &  title,
const QString &  sortTitle,
const QString &  subtitle,
const QString &  sortSubtitle,
const QString &  desc,
const QString &  URL,
const QString &  thumbnail,
const QString &  mediaURL,
const QString &  author,
const QDateTime &  date,
const QString &  time,
const QString &  rating,
const off_t filesize,
const QString &  player,
const QStringList &  playerargs,
const QString &  download,
const QStringList &  downloadargs,
const uint width,
const uint height,
const QString &  language,
const bool downloadable,
const QStringList &  countries,
const uint season,
const uint episode,
const bool customhtml 
)

Definition at line 20 of file rssparse.cpp.

◆ ResultItem() [2/2]

ResultItem::ResultItem ( )
default

◆ ~ResultItem()

ResultItem::~ResultItem ( )
default

Member Function Documentation

◆ ensureSortFields()

void ResultItem::ensureSortFields ( void  )

Definition at line 66 of file rssparse.cpp.

◆ toMap()

void ResultItem::toMap ( InfoMap metadataMap)

◆ GetTitle()

const QString& ResultItem::GetTitle ( void  ) const
inline

◆ GetSortTitle()

const QString& ResultItem::GetSortTitle ( void  ) const
inline

Definition at line 135 of file rssparse.h.

◆ GetSubtitle()

const QString& ResultItem::GetSubtitle ( void  ) const
inline

Definition at line 136 of file rssparse.h.

Referenced by insertTreeArticleInDB(), and NetBase::StreamWebVideo().

◆ GetSortSubtitle()

const QString& ResultItem::GetSortSubtitle ( void  ) const
inline

Definition at line 137 of file rssparse.h.

◆ GetDescription()

const QString& ResultItem::GetDescription ( void  ) const
inline

◆ GetURL()

const QString& ResultItem::GetURL ( ) const
inline

Definition at line 139 of file rssparse.h.

Referenced by insertRSSArticleInDB(), insertTreeArticleInDB(), and NetBase::ShowWebVideo().

◆ GetThumbnail()

const QString& ResultItem::GetThumbnail ( ) const
inline

◆ GetMediaURL()

const QString& ResultItem::GetMediaURL ( ) const
inline

◆ GetAuthor()

const QString& ResultItem::GetAuthor ( ) const
inline

Definition at line 142 of file rssparse.h.

Referenced by insertRSSArticleInDB(), and insertTreeArticleInDB().

◆ GetDate()

const QDateTime& ResultItem::GetDate ( ) const
inline

◆ GetTime()

const QString& ResultItem::GetTime ( ) const
inline

◆ GetRating()

const QString& ResultItem::GetRating ( ) const
inline

Definition at line 145 of file rssparse.h.

Referenced by insertRSSArticleInDB(), and insertTreeArticleInDB().

◆ GetFilesize()

const off_t& ResultItem::GetFilesize ( void  ) const
inline

Definition at line 146 of file rssparse.h.

Referenced by insertRSSArticleInDB(), and insertTreeArticleInDB().

◆ GetPlayer()

const QString& ResultItem::GetPlayer ( ) const
inline

Definition at line 147 of file rssparse.h.

Referenced by insertRSSArticleInDB(), insertTreeArticleInDB(), and NetBase::ShowWebVideo().

◆ GetPlayerArguments()

const QStringList& ResultItem::GetPlayerArguments ( ) const
inline

Definition at line 148 of file rssparse.h.

Referenced by insertRSSArticleInDB(), insertTreeArticleInDB(), and NetBase::ShowWebVideo().

◆ GetDownloader()

const QString& ResultItem::GetDownloader ( ) const
inline

Definition at line 149 of file rssparse.h.

Referenced by insertRSSArticleInDB(), and insertTreeArticleInDB().

◆ GetDownloaderArguments()

const QStringList& ResultItem::GetDownloaderArguments ( ) const
inline

Definition at line 150 of file rssparse.h.

Referenced by insertRSSArticleInDB(), and insertTreeArticleInDB().

◆ GetWidth()

const uint& ResultItem::GetWidth ( ) const
inline

Definition at line 151 of file rssparse.h.

Referenced by insertRSSArticleInDB(), and insertTreeArticleInDB().

◆ GetHeight()

const uint& ResultItem::GetHeight ( ) const
inline

Definition at line 152 of file rssparse.h.

Referenced by insertRSSArticleInDB(), and insertTreeArticleInDB().

◆ GetLanguage()

const QString& ResultItem::GetLanguage ( ) const
inline

Definition at line 153 of file rssparse.h.

Referenced by insertRSSArticleInDB(), and insertTreeArticleInDB().

◆ GetDownloadable()

const bool& ResultItem::GetDownloadable ( ) const
inline

◆ GetCountries()

const QStringList& ResultItem::GetCountries ( ) const
inline

Definition at line 155 of file rssparse.h.

Referenced by insertRSSArticleInDB(), and insertTreeArticleInDB().

◆ GetSeason()

const uint& ResultItem::GetSeason ( void  ) const
inline

Definition at line 156 of file rssparse.h.

Referenced by insertTreeArticleInDB(), and NetBase::StreamWebVideo().

◆ GetEpisode()

const uint& ResultItem::GetEpisode ( void  ) const
inline

Definition at line 157 of file rssparse.h.

Referenced by insertTreeArticleInDB(), and NetBase::StreamWebVideo().

◆ GetCustomHTML()

const bool& ResultItem::GetCustomHTML ( ) const
inline

Definition at line 158 of file rssparse.h.

Referenced by insertTreeArticleInDB().

Member Data Documentation

◆ m_title

QString ResultItem::m_title
private

Definition at line 161 of file rssparse.h.

◆ m_sorttitle

QString ResultItem::m_sorttitle
private

Definition at line 162 of file rssparse.h.

◆ m_subtitle

QString ResultItem::m_subtitle
private

Definition at line 163 of file rssparse.h.

◆ m_sortsubtitle

QString ResultItem::m_sortsubtitle
private

Definition at line 164 of file rssparse.h.

◆ m_desc

QString ResultItem::m_desc
private

Definition at line 165 of file rssparse.h.

◆ m_URL

QString ResultItem::m_URL
private

Definition at line 166 of file rssparse.h.

◆ m_thumbnail

QString ResultItem::m_thumbnail
private

Definition at line 167 of file rssparse.h.

◆ m_mediaURL

QString ResultItem::m_mediaURL
private

Definition at line 168 of file rssparse.h.

◆ m_author

QString ResultItem::m_author
private

Definition at line 169 of file rssparse.h.

◆ m_date

QDateTime ResultItem::m_date
private

Definition at line 170 of file rssparse.h.

◆ m_time

QString ResultItem::m_time
private

Definition at line 171 of file rssparse.h.

◆ m_rating

QString ResultItem::m_rating
private

Definition at line 172 of file rssparse.h.

◆ m_filesize

off_t ResultItem::m_filesize {0}
private

Definition at line 173 of file rssparse.h.

◆ m_player

QString ResultItem::m_player
private

Definition at line 174 of file rssparse.h.

◆ m_playerargs

QStringList ResultItem::m_playerargs
private

Definition at line 175 of file rssparse.h.

◆ m_download

QString ResultItem::m_download
private

Definition at line 176 of file rssparse.h.

◆ m_downloadargs

QStringList ResultItem::m_downloadargs
private

Definition at line 177 of file rssparse.h.

◆ m_width

uint ResultItem::m_width {0}
private

Definition at line 178 of file rssparse.h.

◆ m_height

uint ResultItem::m_height {0}
private

Definition at line 179 of file rssparse.h.

◆ m_language

QString ResultItem::m_language
private

Definition at line 180 of file rssparse.h.

◆ m_downloadable

bool ResultItem::m_downloadable {false}
private

Definition at line 181 of file rssparse.h.

◆ m_countries

QStringList ResultItem::m_countries
private

Definition at line 182 of file rssparse.h.

◆ m_season

uint ResultItem::m_season {0}
private

Definition at line 183 of file rssparse.h.

◆ m_episode

uint ResultItem::m_episode {0}
private

Definition at line 184 of file rssparse.h.

◆ m_customhtml

bool ResultItem::m_customhtml {false}
private

Definition at line 185 of file rssparse.h.


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