#include <dbaccess.h>
Public Types | |
| typedef std::pair< int, QString > | entry |
| typedef std::vector< entry > | entry_list |
Public Member Functions | |
| int | add (const QString &name) |
| bool | get (int id, QString &value) |
| void | remove (int id) |
| bool | exists (int id) |
| bool | exists (const QString &name) |
| const entry_list & | getList () |
| void | load_data () |
Protected Member Functions | |
| SingleValue (SingleValueImp *imp) | |
| virtual | ~SingleValue () |
Private Attributes | |
| SingleValueImp * | m_imp |
Definition at line 11 of file dbaccess.h.
| typedef std::pair<int, QString> SingleValue::entry |
Definition at line 14 of file dbaccess.h.
| typedef std::vector<entry> SingleValue::entry_list |
Definition at line 15 of file dbaccess.h.
| SingleValue::SingleValue | ( | SingleValueImp * | imp | ) | [protected] |
Definition at line 208 of file dbaccess.cpp.
| SingleValue::~SingleValue | ( | ) | [protected, virtual] |
Definition at line 212 of file dbaccess.cpp.
| int SingleValue::add | ( | const QString & | name | ) |
Definition at line 217 of file dbaccess.cpp.
Referenced by EditMetadataDialog::AddCategory(), VideoMetadataImp::updateCountries(), and VideoMetadataImp::updateGenres().
| bool SingleValue::get | ( | int | id, | |
| QString & | value | |||
| ) |
Definition at line 222 of file dbaccess.cpp.
Referenced by VideoMetadataImp::fillCast(), VideoMetadataImp::fillCountries(), and VideoMetadataImp::fillGenres().
| void SingleValue::remove | ( | int | id | ) |
Definition at line 227 of file dbaccess.cpp.
| bool SingleValue::exists | ( | int | id | ) |
Definition at line 232 of file dbaccess.cpp.
| bool SingleValue::exists | ( | const QString & | name | ) |
Definition at line 237 of file dbaccess.cpp.
| const SingleValue::entry_list & SingleValue::getList | ( | ) |
Definition at line 242 of file dbaccess.cpp.
Referenced by VideoFilterDialog::fillWidgets(), and EditMetadataDialog::fillWidgets().
| void SingleValue::load_data | ( | ) |
Definition at line 247 of file dbaccess.cpp.
Referenced by VideoCast::GetCast(), VideoCategory::GetCategory(), VideoCountry::getCountry(), and VideoGenre::getGenre().
SingleValueImp* SingleValue::m_imp [private] |
Definition at line 32 of file dbaccess.h.
Referenced by add(), exists(), get(), getList(), load_data(), remove(), and ~SingleValue().
1.6.3