MythTV  master
Functions
browserdbutil.h File Reference
#include <QStringList>
Include dependency graph for browserdbutil.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool UpgradeBrowserDatabaseSchema (void)
 
bool FindInDB (const QString &category, const QString &name)
 
bool InsertInDB (Bookmark *site)
 
bool InsertInDB (const QString &category, const QString &name, const QString &url, const bool &isHomepage)
 
bool ResetHomepageFromDB ()
 
bool UpdateHomepageInDB (Bookmark *site)
 
bool RemoveFromDB (Bookmark *site)
 
bool RemoveFromDB (const QString &category, const QString &name)
 
int GetCategoryList (QStringList &list)
 
int GetSiteList (QList< Bookmark * > &siteList)
 

Function Documentation

◆ UpgradeBrowserDatabaseSchema()

bool UpgradeBrowserDatabaseSchema ( void  )

Definition at line 17 of file browserdbutil.cpp.

Referenced by mythplugin_init().

◆ FindInDB()

bool FindInDB ( const QString &  category,
const QString &  name 
)

Definition at line 80 of file browserdbutil.cpp.

Referenced by InsertInDB().

◆ InsertInDB() [1/2]

bool InsertInDB ( Bookmark site)

Definition at line 116 of file browserdbutil.cpp.

Referenced by InsertInDB(), and BookmarkEditor::Save().

◆ InsertInDB() [2/2]

bool InsertInDB ( const QString &  category,
const QString &  name,
const QString &  url,
const bool isHomepage 
)

Definition at line 124 of file browserdbutil.cpp.

◆ ResetHomepageFromDB()

bool ResetHomepageFromDB ( )

Definition at line 96 of file browserdbutil.cpp.

Referenced by BookmarkEditor::Save(), and BookmarkManager::slotSetHomepage().

◆ UpdateHomepageInDB()

bool UpdateHomepageInDB ( Bookmark site)

Definition at line 104 of file browserdbutil.cpp.

Referenced by BookmarkManager::slotSetHomepage().

◆ RemoveFromDB() [1/2]

bool RemoveFromDB ( Bookmark site)

◆ RemoveFromDB() [2/2]

bool RemoveFromDB ( const QString &  category,
const QString &  name 
)

Definition at line 166 of file browserdbutil.cpp.

◆ GetCategoryList()

int GetCategoryList ( QStringList &  list)

Definition at line 182 of file browserdbutil.cpp.

Referenced by BookmarkEditor::slotFindCategory().

◆ GetSiteList()

int GetSiteList ( QList< Bookmark * > &  siteList)