MythTV master
browserdbutil.h
Go to the documentation of this file.
1#ifndef BROWSERDBUTIL_H_
2#define BROWSERDBUTIL_H_
3
4#include <QStringList>
5
6class Bookmark;
7
9
10bool FindInDB(const QString &category, const QString& name);
11bool InsertInDB(Bookmark *site);
12bool InsertInDB(const QString &category, const QString &name, const QString &url, bool isHomepage);
13
16
17bool RemoveFromDB(Bookmark *site);
18bool RemoveFromDB(const QString &category, const QString &name);
19
20int GetCategoryList(QStringList &list);
21int GetSiteList(QList<Bookmark*> &siteList);
22
23#endif
bool UpgradeBrowserDatabaseSchema(void)
int GetSiteList(QList< Bookmark * > &siteList)
bool InsertInDB(Bookmark *site)
bool RemoveFromDB(Bookmark *site)
int GetCategoryList(QStringList &list)
bool FindInDB(const QString &category, const QString &name)
bool UpdateHomepageInDB(Bookmark *site)
bool ResetHomepageFromDB()