Go to the source code of this file.
Functions | |
| MPUBLIC QString | GetDisplaySeasonEpisode (int seasEp, int digits=-1) |
| MPUBLIC QString | GetDownloadFilename (QString title, QString url) |
| MPUBLIC bool | findTreeGrabberInDB (const QString &commandline, ArticleType type) |
| MPUBLIC GrabberScript * | findTreeGrabberByCommand (const QString &url, ArticleType type) |
| MPUBLIC GrabberScript::scriptList | findAllDBTreeGrabbersByHost (ArticleType type) |
| MPUBLIC GrabberScript::scriptList | findAllDBTreeGrabbers (void) |
| MPUBLIC bool | findSearchGrabberInDB (const QString &commandline, ArticleType type) |
| MPUBLIC GrabberScript * | findSearchGrabberByCommand (const QString &url, ArticleType type) |
| MPUBLIC GrabberScript::scriptList | findAllDBSearchGrabbers (ArticleType type) |
| MPUBLIC bool | markTreeUpdated (GrabberScript *script, QDateTime curTime) |
| MPUBLIC bool | needsUpdate (GrabberScript *script, uint updateFreq) |
| MPUBLIC QDateTime | lastUpdate (GrabberScript *script) |
| MPUBLIC bool | clearTreeItems (const QString &feedcommand) |
| MPUBLIC bool | isTreeInUse (const QString &feedcommand) |
| MPUBLIC bool | insertTreeArticleInDB (const QString &feedtitle, const QString &path, const QString &paththumb, ResultItem *item, ArticleType type) |
| MPUBLIC QMultiMap< QPair < QString, QString > , ResultItem * > | getTreeArticles (const QString &feedtitle, ArticleType type) |
| MPUBLIC bool | insertTreeInDB (GrabberScript *script, ArticleType type) |
| MPUBLIC bool | insertSearchInDB (GrabberScript *script, ArticleType type) |
| MPUBLIC bool | insertGrabberInDB (const QString &name, const QString &thumbnail, ArticleType type, const QString &author, const QString &description, const QString &commandline, const double &version, bool search, bool tree, bool podcast) |
| MPUBLIC bool | removeTreeFromDB (GrabberScript *script) |
| MPUBLIC bool | removeSearchFromDB (GrabberScript *script) |
| MPUBLIC bool | removeGrabberFromDB (const QString &commandline, const bool &search) |
| MPUBLIC bool | findInDB (const QString &url, ArticleType type) |
| MPUBLIC RSSSite * | findByURL (const QString &url, ArticleType type) |
| MPUBLIC RSSSite::rssList | findAllDBRSS (void) |
| MPUBLIC RSSSite::rssList | findAllDBRSSByType (ArticleType type) |
| MPUBLIC bool | insertInDB (RSSSite *site) |
| MPUBLIC bool | insertInDB (const QString &name, const QString &thumbnail, const QString &description, const QString &url, const QString &author, const bool &download, const QDateTime &updated, ArticleType type) |
| MPUBLIC bool | removeFromDB (RSSSite *site) |
| MPUBLIC bool | removeFromDB (const QString &url, ArticleType type) |
| MPUBLIC void | markUpdated (RSSSite *site) |
| MPUBLIC bool | clearRSSArticles (const QString &feedtitle, ArticleType type) |
| MPUBLIC bool | insertRSSArticleInDB (const QString &feedtitle, ResultItem *item, ArticleType type) |
| MPUBLIC ResultItem::resultList | getRSSArticles (const QString &feedtitle, ArticleType type) |
| MPUBLIC QString GetDisplaySeasonEpisode | ( | int | seasEp, | |
| int | digits = -1 | |||
| ) |
Definition at line 10 of file netutils.cpp.
Referenced by PlaybackBox::saveRecMetadata(), VideoMetadata::toMap(), ResultItem::toMap(), ProgramInfo::ToMap(), and RecordingSelector::updateRecordingList().
| MPUBLIC QString GetDownloadFilename | ( | QString | title, | |
| QString | url | |||
| ) |
Definition at line 855 of file netutils.cpp.
Referenced by NetTree::doDeleteVideo(), NetSearch::doDeleteVideo(), NetTree::doDownloadAndPlay(), NetSearch::doDownloadAndPlay(), NetSearch::showMenu(), and NetTree::slotItemChanged().
| MPUBLIC bool findTreeGrabberInDB | ( | const QString & | commandline, | |
| ArticleType | type | |||
| ) |
Definition at line 25 of file netutils.cpp.
Referenced by TreeEditor::fillGrabberButtonList().
| MPUBLIC GrabberScript* findTreeGrabberByCommand | ( | const QString & | url, | |
| ArticleType | type | |||
| ) |
Definition at line 65 of file netutils.cpp.
| MPUBLIC GrabberScript::scriptList findAllDBTreeGrabbersByHost | ( | ArticleType | type | ) |
Definition at line 163 of file netutils.cpp.
Referenced by NetTree::Load().
| MPUBLIC GrabberScript::scriptList findAllDBTreeGrabbers | ( | void | ) |
Definition at line 129 of file netutils.cpp.
Referenced by GrabberDownloadThread::run(), and NetTree::TreeRefresh().
| MPUBLIC bool findSearchGrabberInDB | ( | const QString & | commandline, | |
| ArticleType | type | |||
| ) |
Definition at line 45 of file netutils.cpp.
Referenced by SearchEditor::fillGrabberButtonList().
| MPUBLIC GrabberScript* findSearchGrabberByCommand | ( | const QString & | url, | |
| ArticleType | type | |||
| ) |
Definition at line 97 of file netutils.cpp.
| MPUBLIC GrabberScript::scriptList findAllDBSearchGrabbers | ( | ArticleType | type | ) |
Definition at line 198 of file netutils.cpp.
Referenced by NetSearch::doListRefresh(), and NetSearch::Load().
| MPUBLIC bool markTreeUpdated | ( | GrabberScript * | script, | |
| QDateTime | curTime | |||
| ) |
Definition at line 324 of file netutils.cpp.
Referenced by GrabberScript::run().
| MPUBLIC bool needsUpdate | ( | GrabberScript * | script, | |
| uint | updateFreq | |||
| ) |
Definition at line 340 of file netutils.cpp.
Referenced by GrabberDownloadThread::run().
| MPUBLIC QDateTime lastUpdate | ( | GrabberScript * | script | ) |
Definition at line 348 of file netutils.cpp.
Referenced by needsUpdate().
| MPUBLIC bool clearTreeItems | ( | const QString & | feedcommand | ) |
Definition at line 368 of file netutils.cpp.
Referenced by GrabberScript::run(), and TreeEditor::toggleItem().
| MPUBLIC bool isTreeInUse | ( | const QString & | feedcommand | ) |
Definition at line 387 of file netutils.cpp.
Referenced by TreeEditor::toggleItem().
| MPUBLIC bool insertTreeArticleInDB | ( | const QString & | feedtitle, | |
| const QString & | path, | |||
| const QString & | paththumb, | |||
| ResultItem * | item, | |||
| ArticleType | type | |||
| ) |
Definition at line 407 of file netutils.cpp.
Referenced by GrabberScript::parseDBTree().
| MPUBLIC QMultiMap<QPair<QString,QString>, ResultItem*> getTreeArticles | ( | const QString & | feedtitle, | |
| ArticleType | type | |||
| ) |
Definition at line 472 of file netutils.cpp.
Referenced by NetTree::fillTree().
| MPUBLIC bool insertTreeInDB | ( | GrabberScript * | script, | |
| ArticleType | type | |||
| ) |
Definition at line 244 of file netutils.cpp.
Referenced by TreeEditor::toggleItem().
| MPUBLIC bool insertSearchInDB | ( | GrabberScript * | script, | |
| ArticleType | type | |||
| ) |
Definition at line 233 of file netutils.cpp.
Referenced by SearchEditor::toggleItem().
| MPUBLIC bool insertGrabberInDB | ( | const QString & | name, | |
| const QString & | thumbnail, | |||
| ArticleType | type, | |||
| const QString & | author, | |||
| const QString & | description, | |||
| const QString & | commandline, | |||
| const double & | version, | |||
| bool | search, | |||
| bool | tree, | |||
| bool | podcast | |||
| ) |
Definition at line 255 of file netutils.cpp.
Referenced by insertSearchInDB(), and insertTreeInDB().
| MPUBLIC bool removeTreeFromDB | ( | GrabberScript * | script | ) |
Definition at line 290 of file netutils.cpp.
Referenced by TreeEditor::toggleItem().
| MPUBLIC bool removeSearchFromDB | ( | GrabberScript * | script | ) |
Definition at line 297 of file netutils.cpp.
Referenced by SearchEditor::toggleItem().
Definition at line 304 of file netutils.cpp.
Referenced by removeSearchFromDB(), and removeTreeFromDB().
| MPUBLIC bool findInDB | ( | const QString & | url, | |
| ArticleType | type | |||
| ) |
Definition at line 535 of file netutils.cpp.
Referenced by insertInDB(), and MythNewsConfig::populateSites().
| MPUBLIC RSSSite* findByURL | ( | const QString & | url, | |
| ArticleType | type | |||
| ) |
Definition at line 550 of file netutils.cpp.
Referenced by RSSEditPopup::Create().
| MPUBLIC RSSSite::rssList findAllDBRSS | ( | void | ) |
Definition at line 617 of file netutils.cpp.
Referenced by RSSManager::doUpdate(), NetTree::Load(), RSSEditor::loadData(), main(), NetTree::TreeRefresh(), and NetTree::updateRSS().
| MPUBLIC RSSSite::rssList findAllDBRSSByType | ( | ArticleType | type | ) |
Definition at line 584 of file netutils.cpp.
Definition at line 649 of file netutils.cpp.
Referenced by insertInDB(), RSSEditPopup::parseAndSave(), MythNewsEditor::Save(), RSSEditPopup::slotSave(), and MythNewsConfig::toggleItem().
| MPUBLIC bool insertInDB | ( | const QString & | name, | |
| const QString & | thumbnail, | |||
| const QString & | description, | |||
| const QString & | url, | |||
| const QString & | author, | |||
| const bool & | download, | |||
| const QDateTime & | updated, | |||
| ArticleType | type | |||
| ) |
Definition at line 659 of file netutils.cpp.
Definition at line 689 of file netutils.cpp.
Referenced by MythNews::deleteNewsSite(), RSSEditor::doDeleteSite(), RSSEditPopup::parseAndSave(), removeFromDB(), MythNewsEditor::Save(), and MythNewsConfig::toggleItem().
| MPUBLIC bool removeFromDB | ( | const QString & | url, | |
| ArticleType | type | |||
| ) |
Definition at line 696 of file netutils.cpp.
| MPUBLIC void markUpdated | ( | RSSSite * | site | ) |
Definition at line 711 of file netutils.cpp.
Referenced by RSSManager::slotRSSRetrieved().
| MPUBLIC bool clearRSSArticles | ( | const QString & | feedtitle, | |
| ArticleType | type | |||
| ) |
Definition at line 725 of file netutils.cpp.
Referenced by RSSManager::processAndInsertRSS().
| MPUBLIC bool insertRSSArticleInDB | ( | const QString & | feedtitle, | |
| ResultItem * | item, | |||
| ArticleType | type | |||
| ) |
Definition at line 745 of file netutils.cpp.
Referenced by RSSManager::processAndInsertRSS().
| MPUBLIC ResultItem::resultList getRSSArticles | ( | const QString & | feedtitle, | |
| ArticleType | type | |||
| ) |
Definition at line 800 of file netutils.cpp.
Referenced by NetTree::fillTree().
1.6.3