MythTV  master
Functions
newsdbutil.cpp File Reference
#include <mythdb.h>
#include "newsdbutil.h"
#include "newssite.h"
Include dependency graph for newsdbutil.cpp:

Go to the source code of this file.

Functions

bool findInDB (const QString &name)
 
bool insertInDB (NewsSiteItem *site)
 
bool insertInDB (const QString &name, const QString &url, const QString &icon, const QString &category, const bool podcast)
 
bool removeFromDB (NewsSiteItem *site)
 
bool removeFromDB (const QString &name)
 

Function Documentation

◆ findInDB()

bool findInDB ( const QString &  name)

Definition at line 8 of file newsdbutil.cpp.

Referenced by insertInDB().

◆ insertInDB() [1/2]

bool insertInDB ( NewsSiteItem site)

Definition at line 21 of file newsdbutil.cpp.

Referenced by insertInDB().

◆ insertInDB() [2/2]

bool insertInDB ( const QString &  name,
const QString &  url,
const QString &  icon,
const QString &  category,
const bool  podcast 
)

Definition at line 29 of file newsdbutil.cpp.

◆ removeFromDB() [1/2]

bool removeFromDB ( NewsSiteItem site)

Definition at line 52 of file newsdbutil.cpp.

Referenced by removeFromDB().

◆ removeFromDB() [2/2]

bool removeFromDB ( const QString &  name)

Definition at line 59 of file newsdbutil.cpp.