Go to the source code of this file.
Functions | |
| static bool | UpdateDBVersionNumber (const QString &newnumber) |
| static bool | performActualUpdate (const QString updates[], QString version, QString &dbver) |
| 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) |
| bool | RemoveFromDB (Bookmark *site) |
| bool | RemoveFromDB (const QString &category, const QString &name) |
| int | GetCategoryList (QStringList &list) |
| int | GetSiteList (QList< Bookmark * > &siteList) |
Variables | |
| const QString | currentDatabaseVersion = "1002" |
| static bool UpdateDBVersionNumber | ( | const QString & | newnumber | ) | [static] |
Definition at line 14 of file browserdbutil.cpp.
Referenced by performActualUpdate().
| static bool performActualUpdate | ( | const QString | updates[], | |
| QString | version, | |||
| QString & | dbver | |||
| ) | [static] |
Definition at line 29 of file browserdbutil.cpp.
Referenced by UpgradeBrowserDatabaseSchema().
| bool UpgradeBrowserDatabaseSchema | ( | void | ) |
Definition at line 65 of file browserdbutil.cpp.
Referenced by mythplugin_init().
| bool FindInDB | ( | const QString & | category, | |
| const QString & | name | |||
| ) |
Definition at line 117 of file browserdbutil.cpp.
Referenced by InsertInDB().
Definition at line 133 of file browserdbutil.cpp.
Referenced by InsertInDB(), and BookmarkEditor::Save().
| bool InsertInDB | ( | const QString & | category, | |
| const QString & | name, | |||
| const QString & | url | |||
| ) |
Definition at line 141 of file browserdbutil.cpp.
Definition at line 172 of file browserdbutil.cpp.
Referenced by RemoveFromDB(), BookmarkEditor::Save(), BookmarkManager::slotDoDeleteCurrent(), and BookmarkManager::slotDoDeleteMarked().
| bool RemoveFromDB | ( | const QString & | category, | |
| const QString & | name | |||
| ) |
Definition at line 180 of file browserdbutil.cpp.
| int GetCategoryList | ( | QStringList & | list | ) |
Definition at line 196 of file browserdbutil.cpp.
Referenced by BookmarkEditor::slotFindCategory().
| int GetSiteList | ( | QList< Bookmark * > & | siteList | ) |
Definition at line 218 of file browserdbutil.cpp.
Referenced by BookmarkManager::Create(), BookmarkManager::ReloadBookmarks(), BookmarkManager::slotDoDeleteCurrent(), and BookmarkManager::slotDoDeleteMarked().
| const QString currentDatabaseVersion = "1002" |
Definition at line 12 of file browserdbutil.cpp.
1.6.3