MythTV  master
browserdbutil.h
Go to the documentation of this file.
1 #ifndef BROWSERDBUTIL_H_
2 #define BROWSERDBUTIL_H_
3 
4 #include <QStringList>
5 
6 class Bookmark;
7 
9 
10 bool FindInDB(const QString &category, const QString& name);
11 bool InsertInDB(Bookmark *site);
12 bool InsertInDB(const QString &category, const QString &name, const QString &url, bool isHomepage);
13 
14 bool ResetHomepageFromDB();
15 bool UpdateHomepageInDB(Bookmark* site);
16 
17 bool RemoveFromDB(Bookmark *site);
18 bool RemoveFromDB(const QString &category, const QString &name);
19 
20 int GetCategoryList(QStringList &list);
21 int GetSiteList(QList<Bookmark*> &siteList);
22 
23 #endif
GetCategoryList
int GetCategoryList(QStringList &list)
Definition: browserdbutil.cpp:182
GetSiteList
int GetSiteList(QList< Bookmark * > &siteList)
Definition: browserdbutil.cpp:202
InsertInDB
bool InsertInDB(Bookmark *site)
Definition: browserdbutil.cpp:116
category
QString category
Definition: mythplugins/mytharchive/mytharchivehelper/main.cpp:1422
FindInDB
bool FindInDB(const QString &category, const QString &name)
Definition: browserdbutil.cpp:80
Bookmark
Definition: bookmarkmanager.h:14
RemoveFromDB
bool RemoveFromDB(Bookmark *site)
Definition: browserdbutil.cpp:158
ResetHomepageFromDB
bool ResetHomepageFromDB()
Definition: browserdbutil.cpp:96
UpdateHomepageInDB
bool UpdateHomepageInDB(Bookmark *site)
Definition: browserdbutil.cpp:104
UpgradeBrowserDatabaseSchema
bool UpgradeBrowserDatabaseSchema(void)
Definition: browserdbutil.cpp:17