#include <mythrssmanager.h>
Classes | |
| class | List |
Public Types | |
| typedef QList< RSSSite * > | rssList |
Signals | |
| void | finished (RSSSite *item) |
Public Member Functions | |
| RSSSite (const QString &title, const QString &image, const ArticleType &type, const QString &description, const QString &url, const QString &author, const bool &download, const QDateTime &updated) | |
| ~RSSSite () | |
| const QString & | GetTitle () const |
| const QString & | GetImage () const |
| const ArticleType & | GetType () const |
| const QString & | GetDescription () const |
| const QString & | GetURL () const |
| const QString & | GetAuthor () const |
| const bool & | GetDownload () const |
| const QDateTime & | GetUpdated () const |
| unsigned int | timeSinceLastUpdate (void) const |
| void | insertRSSArticle (ResultItem *item) |
| void | clearRSSArticles (void) |
| ResultItem::resultList | GetVideoList (void) const |
| void | retrieve (void) |
| void | stop (void) |
| void | process (void) |
Private Slots | |
| void | slotCheckRedirect (QNetworkReply *reply) |
Private Member Functions | |
| QUrl | redirectUrl (const QUrl &possibleRedirectUrl, const QUrl &oldRedirectUrl) const |
Private Attributes | |
| QString | m_title |
| QString | m_image |
| ArticleType | m_type |
| QString | m_description |
| QString | m_url |
| QUrl | m_urlReq |
| QString | m_author |
| bool | m_download |
| QDateTime | m_updated |
| QMutex | m_lock |
| QByteArray | m_data |
| QString | m_imageURL |
| bool | m_podcast |
| ResultItem::resultList | m_articleList |
| QNetworkReply * | m_reply |
| QNetworkAccessManager * | m_manager |
Definition at line 21 of file mythrssmanager.h.
| typedef QList<RSSSite *> RSSSite::rssList |
Definition at line 52 of file mythrssmanager.h.
| RSSSite::RSSSite | ( | const QString & | title, | |
| const QString & | image, | |||
| const ArticleType & | type, | |||
| const QString & | description, | |||
| const QString & | url, | |||
| const QString & | author, | |||
| const bool & | download, | |||
| const QDateTime & | updated | |||
| ) |
Definition at line 108 of file mythrssmanager.cpp.
| RSSSite::~RSSSite | ( | ) |
Definition at line 131 of file mythrssmanager.cpp.
| const QString& RSSSite::GetTitle | ( | ) | const [inline] |
Definition at line 54 of file mythrssmanager.h.
Referenced by RSSEditPopup::Create(), insertInDB(), RSSManager::processAndInsertRSS(), RSSEditor::slotItemChanged(), NetTree::slotItemChanged(), and NetTree::UpdateItem().
| const QString& RSSSite::GetImage | ( | ) | const [inline] |
Definition at line 55 of file mythrssmanager.h.
Referenced by RSSEditPopup::Create(), insertInDB(), RSSEditor::slotItemChanged(), NetTree::slotItemChanged(), and NetTree::UpdateItem().
| const ArticleType& RSSSite::GetType | ( | ) | const [inline] |
Definition at line 56 of file mythrssmanager.h.
Referenced by insertInDB(), markUpdated(), RSSManager::processAndInsertRSS(), and removeFromDB().
| const QString& RSSSite::GetDescription | ( | ) | const [inline] |
Definition at line 57 of file mythrssmanager.h.
Referenced by RSSEditPopup::Create(), insertInDB(), RSSEditor::slotItemChanged(), NetTree::slotItemChanged(), and NetTree::UpdateItem().
| const QString& RSSSite::GetURL | ( | ) | const [inline] |
Definition at line 58 of file mythrssmanager.h.
Referenced by insertInDB(), markUpdated(), removeFromDB(), RSSEditor::slotEditSite(), RSSEditor::slotItemChanged(), NetTree::slotItemChanged(), and NetTree::UpdateItem().
| const QString& RSSSite::GetAuthor | ( | ) | const [inline] |
Definition at line 59 of file mythrssmanager.h.
Referenced by RSSEditPopup::Create(), insertInDB(), RSSEditor::slotItemChanged(), and NetTree::slotItemChanged().
| const bool& RSSSite::GetDownload | ( | ) | const [inline] |
Definition at line 60 of file mythrssmanager.h.
Referenced by RSSEditPopup::Create(), and insertInDB().
| const QDateTime& RSSSite::GetUpdated | ( | ) | const [inline] |
Definition at line 61 of file mythrssmanager.h.
Referenced by insertInDB().
| unsigned int RSSSite::timeSinceLastUpdate | ( | void | ) | const |
Definition at line 199 of file mythrssmanager.cpp.
| void RSSSite::insertRSSArticle | ( | ResultItem * | item | ) |
Definition at line 135 of file mythrssmanager.cpp.
Referenced by process().
| void RSSSite::clearRSSArticles | ( | void | ) |
Definition at line 141 of file mythrssmanager.cpp.
| ResultItem::resultList RSSSite::GetVideoList | ( | void | ) | const |
Definition at line 193 of file mythrssmanager.cpp.
Referenced by RSSManager::processAndInsertRSS().
| void RSSSite::retrieve | ( | void | ) |
Definition at line 147 of file mythrssmanager.cpp.
| void RSSSite::stop | ( | void | ) |
| void RSSSite::process | ( | void | ) |
Definition at line 208 of file mythrssmanager.cpp.
Referenced by slotCheckRedirect().
| QUrl RSSSite::redirectUrl | ( | const QUrl & | possibleRedirectUrl, | |
| const QUrl & | oldRedirectUrl | |||
| ) | const [private] |
Definition at line 163 of file mythrssmanager.cpp.
Referenced by slotCheckRedirect().
| void RSSSite::slotCheckRedirect | ( | QNetworkReply * | reply | ) | [private, slot] |
Definition at line 172 of file mythrssmanager.cpp.
Referenced by retrieve().
| void RSSSite::finished | ( | RSSSite * | item | ) | [signal] |
Referenced by process(), and retrieve().
QString RSSSite::m_title [private] |
Definition at line 79 of file mythrssmanager.h.
Referenced by RSSSite().
QString RSSSite::m_image [private] |
Definition at line 80 of file mythrssmanager.h.
Referenced by RSSSite().
ArticleType RSSSite::m_type [private] |
Definition at line 81 of file mythrssmanager.h.
Referenced by RSSSite().
QString RSSSite::m_description [private] |
Definition at line 82 of file mythrssmanager.h.
Referenced by RSSSite().
QString RSSSite::m_url [private] |
Definition at line 83 of file mythrssmanager.h.
Referenced by retrieve(), and RSSSite().
QUrl RSSSite::m_urlReq [private] |
Definition at line 84 of file mythrssmanager.h.
Referenced by retrieve().
QString RSSSite::m_author [private] |
Definition at line 85 of file mythrssmanager.h.
Referenced by RSSSite().
bool RSSSite::m_download [private] |
Definition at line 86 of file mythrssmanager.h.
Referenced by RSSSite().
QDateTime RSSSite::m_updated [private] |
Definition at line 87 of file mythrssmanager.h.
Referenced by RSSSite(), and timeSinceLastUpdate().
QMutex RSSSite::m_lock [mutable, private] |
Definition at line 89 of file mythrssmanager.h.
Referenced by clearRSSArticles(), GetVideoList(), insertRSSArticle(), process(), retrieve(), and timeSinceLastUpdate().
QByteArray RSSSite::m_data [private] |
Definition at line 90 of file mythrssmanager.h.
Referenced by process(), retrieve(), and slotCheckRedirect().
QString RSSSite::m_imageURL [private] |
Definition at line 91 of file mythrssmanager.h.
bool RSSSite::m_podcast [private] |
Definition at line 92 of file mythrssmanager.h.
ResultItem::resultList RSSSite::m_articleList [private] |
Definition at line 94 of file mythrssmanager.h.
Referenced by clearRSSArticles(), GetVideoList(), insertRSSArticle(), process(), and retrieve().
QNetworkReply* RSSSite::m_reply [private] |
Definition at line 96 of file mythrssmanager.h.
Referenced by retrieve(), and slotCheckRedirect().
QNetworkAccessManager* RSSSite::m_manager [private] |
Definition at line 97 of file mythrssmanager.h.
Referenced by retrieve(), and slotCheckRedirect().
1.6.3