netutils.cpp File Reference

Go to the source code of this file.

Functions

QString GetDisplaySeasonEpisode (int seasEp, int digits)
bool findTreeGrabberInDB (const QString &commandline, ArticleType type)
bool findSearchGrabberInDB (const QString &commandline, ArticleType type)
GrabberScriptfindTreeGrabberByCommand (const QString &commandline, ArticleType type)
GrabberScriptfindSearchGrabberByCommand (const QString &commandline, ArticleType type)
GrabberScript::scriptList findAllDBTreeGrabbers ()
GrabberScript::scriptList findAllDBTreeGrabbersByHost (ArticleType type)
GrabberScript::scriptList findAllDBSearchGrabbers (ArticleType type)
bool insertSearchInDB (GrabberScript *script, ArticleType type)
bool insertTreeInDB (GrabberScript *script, ArticleType type)
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)
bool removeTreeFromDB (GrabberScript *script)
bool removeSearchFromDB (GrabberScript *script)
bool removeGrabberFromDB (const QString &commandline, const bool &search)
bool markTreeUpdated (GrabberScript *script, QDateTime curTime)
bool needsUpdate (GrabberScript *script, uint updateFreq)
QDateTime lastUpdate (GrabberScript *script)
bool clearTreeItems (const QString &feedcommand)
bool isTreeInUse (const QString &feedcommand)
bool insertTreeArticleInDB (const QString &feedtitle, const QString &path, const QString &paththumb, ResultItem *item, ArticleType type)
QMultiMap< QPair< QString,
QString >, ResultItem * > 
getTreeArticles (const QString &feedtitle, ArticleType type)
bool findInDB (const QString &url, ArticleType type)
RSSSitefindByURL (const QString &url, ArticleType type)
RSSSite::rssList findAllDBRSSByType (ArticleType type)
RSSSite::rssList findAllDBRSS ()
bool insertInDB (RSSSite *site)
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)
bool removeFromDB (RSSSite *site)
bool removeFromDB (const QString &url, ArticleType type)
void markUpdated (RSSSite *site)
bool clearRSSArticles (const QString &feedtitle, ArticleType type)
bool insertRSSArticleInDB (const QString &feedtitle, ResultItem *item, ArticleType type)
ResultItem::resultList getRSSArticles (const QString &feedtitle, ArticleType type)
QString GetDownloadFilename (QString title, QString url)

Function Documentation

QString GetDisplaySeasonEpisode ( int  seasEp,
int  digits 
)
bool findTreeGrabberInDB ( const QString &  commandline,
ArticleType  type 
)

Definition at line 25 of file netutils.cpp.

Referenced by TreeEditor::fillGrabberButtonList().

bool findSearchGrabberInDB ( const QString &  commandline,
ArticleType  type 
)

Definition at line 45 of file netutils.cpp.

Referenced by SearchEditor::fillGrabberButtonList().

GrabberScript* findTreeGrabberByCommand ( const QString &  commandline,
ArticleType  type 
)

Definition at line 65 of file netutils.cpp.

GrabberScript* findSearchGrabberByCommand ( const QString &  commandline,
ArticleType  type 
)

Definition at line 97 of file netutils.cpp.

GrabberScript::scriptList findAllDBTreeGrabbers ( void   ) 

Definition at line 129 of file netutils.cpp.

Referenced by GrabberDownloadThread::run(), and NetTree::TreeRefresh().

GrabberScript::scriptList findAllDBTreeGrabbersByHost ( ArticleType  type  ) 

Definition at line 163 of file netutils.cpp.

Referenced by NetTree::Load().

GrabberScript::scriptList findAllDBSearchGrabbers ( ArticleType  type  ) 

Definition at line 198 of file netutils.cpp.

Referenced by NetSearch::doListRefresh(), and NetSearch::Load().

bool insertSearchInDB ( GrabberScript script,
ArticleType  type 
)

Definition at line 233 of file netutils.cpp.

Referenced by SearchEditor::toggleItem().

bool insertTreeInDB ( GrabberScript script,
ArticleType  type 
)

Definition at line 244 of file netutils.cpp.

Referenced by TreeEditor::toggleItem().

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().

bool removeTreeFromDB ( GrabberScript script  ) 

Definition at line 290 of file netutils.cpp.

Referenced by TreeEditor::toggleItem().

bool removeSearchFromDB ( GrabberScript script  ) 

Definition at line 297 of file netutils.cpp.

Referenced by SearchEditor::toggleItem().

bool removeGrabberFromDB ( const QString &  commandline,
const bool search 
)

Definition at line 304 of file netutils.cpp.

Referenced by removeSearchFromDB(), and removeTreeFromDB().

bool markTreeUpdated ( GrabberScript script,
QDateTime  curTime 
)

Definition at line 324 of file netutils.cpp.

Referenced by GrabberScript::run().

bool needsUpdate ( GrabberScript script,
uint  updateFreq 
)

Definition at line 340 of file netutils.cpp.

Referenced by GrabberDownloadThread::run().

QDateTime lastUpdate ( GrabberScript script  ) 

Definition at line 348 of file netutils.cpp.

Referenced by needsUpdate().

bool clearTreeItems ( const QString &  feedcommand  ) 

Definition at line 368 of file netutils.cpp.

Referenced by GrabberScript::run(), and TreeEditor::toggleItem().

bool isTreeInUse ( const QString &  feedcommand  ) 

Definition at line 387 of file netutils.cpp.

Referenced by TreeEditor::toggleItem().

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().

QMultiMap<QPair<QString,QString>, ResultItem*> getTreeArticles ( const QString &  feedtitle,
ArticleType  type 
)

Definition at line 472 of file netutils.cpp.

Referenced by NetTree::fillTree().

bool findInDB ( const QString &  url,
ArticleType  type 
)

Definition at line 535 of file netutils.cpp.

Referenced by insertInDB(), and MythNewsConfig::populateSites().

RSSSite* findByURL ( const QString &  url,
ArticleType  type 
)

Definition at line 550 of file netutils.cpp.

Referenced by RSSEditPopup::Create().

RSSSite::rssList findAllDBRSSByType ( ArticleType  type  ) 

Definition at line 584 of file netutils.cpp.

RSSSite::rssList findAllDBRSS ( void   ) 
bool insertInDB ( RSSSite site  ) 
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.

bool removeFromDB ( RSSSite site  ) 
bool removeFromDB ( const QString &  url,
ArticleType  type 
)

Definition at line 696 of file netutils.cpp.

void markUpdated ( RSSSite site  ) 

Definition at line 711 of file netutils.cpp.

Referenced by RSSManager::slotRSSRetrieved().

bool clearRSSArticles ( const QString &  feedtitle,
ArticleType  type 
)

Definition at line 725 of file netutils.cpp.

Referenced by RSSManager::processAndInsertRSS().

bool insertRSSArticleInDB ( const QString &  feedtitle,
ResultItem item,
ArticleType  type 
)

Definition at line 745 of file netutils.cpp.

Referenced by RSSManager::processAndInsertRSS().

ResultItem::resultList getRSSArticles ( const QString &  feedtitle,
ArticleType  type 
)

Definition at line 800 of file netutils.cpp.

Referenced by NetTree::fillTree().

QString GetDownloadFilename ( QString  title,
QString  url 
)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Mon May 28 06:41:49 2012 for MythTV by  doxygen 1.6.3