Definition at line 84 of file mythvideo/mythvideo/metadata.cpp.
Public Types | |
| typedef Metadata::genre_list | genre_list |
| typedef Metadata::country_list | country_list |
| typedef Metadata::cast_list | cast_list |
Public Member Functions | |
| MetadataImp (const QString &filename, const QString &coverfile, const QString &title, int year, const QString &inetref, const QString &director, const QString &plot, float userrating, const QString &rating, int length, int id, ParentalLevel::Level showlevel, int categoryID, int childID, bool browse, const QString &playcommand, const QString &category, const genre_list &genres, const country_list &countries, const cast_list &cast) | |
| MetadataImp (MSqlQuery &query) | |
| MetadataImp (const MetadataImp &other) | |
| MetadataImp & | operator= (const MetadataImp &rhs) |
| bool | hasSortKey () const |
| const Metadata::SortKey & | getSortKey () const |
| void | setSortKey (const Metadata::SortKey &sort_key) |
| void | setFlatIndex (int index) |
| int | getFlatIndex () const |
| const QString & | getPrefix () const |
| void | setPrefix (const QString &prefix) |
| const QString & | getTitle () const |
| void | setTitle (const QString &title) |
| const QString & | getInetRef () const |
| void | setInetRef (const QString &inetRef) |
| const QString & | getDirector () const |
| void | setDirector (const QString &director) |
| const QString & | getPlot () const |
| void | setPlot (const QString &plot) |
| const QString & | getRating () const |
| void | setRating (const QString &rating) |
| const QString & | getPlayCommand () const |
| void | setPlayCommand (const QString &playCommand) |
| const QString & | getCategory () const |
| const genre_list & | getGenres () const |
| void | setGenres (const genre_list &genres) |
| const country_list & | getCountries () const |
| void | setCountries (const country_list &countries) |
| const cast_list & | GetCast () const |
| void | SetCast (const cast_list &cast) |
| const QString & | getFilename () const |
| void | setFilename (const QString &filename) |
| QString | getFilenameNoPrefix () const |
| const QString & | getCoverFile () const |
| void | setCoverFile (const QString &coverFile) |
| int | getCategoryID () const |
| void | setCategoryID (int id) |
| int | getChildID () const |
| void | setChildID (int childID) |
| int | getYear () const |
| void | setYear (int year) |
| int | getLength () const |
| void | setLength (int length) |
| ParentalLevel::Level | getShowLevel () const |
| void | setShowLevel (ParentalLevel::Level showLevel) |
| bool | getBrowse () const |
| void | setBrowse (bool browse) |
| unsigned int | getID () const |
| void | setID (int id) |
| float | getUserRating () const |
| void | setUserRating (float userRating) |
| void | dumpToDatabase () |
| void | updateDatabase () |
| bool | deleteFile () |
| Deletes the file associated with a metadata entry. | |
| bool | dropFromDB () |
| void | Reset () |
Private Member Functions | |
| void | fillCountries () |
| void | updateCountries () |
| void | fillGenres () |
| void | fillCast () |
| void | updateGenres () |
| void | updateCast () |
| bool | removeDir (const QString &dirName) |
| void | fromDBRow (MSqlQuery &query) |
| Sets metadata from a DB row. | |
| void | saveToDatabase () |
Private Attributes | |
| QString | m_title |
| QString | m_inetref |
| QString | m_director |
| QString | m_plot |
| QString | m_rating |
| QString | m_playcommand |
| QString | m_category |
| genre_list | m_genres |
| country_list | m_countries |
| cast_list | m_cast |
| QString | m_filename |
| QString | m_coverfile |
| int | m_categoryID |
| int | m_childID |
| int | m_year |
| int | m_length |
| ParentalLevel::Level | m_showlevel |
| bool | m_browse |
| unsigned int | m_id |
| float | m_userrating |
| Metadata::SortKey | m_sort_key |
| QString | m_prefix |
| int | m_flat_index |
Definition at line 87 of file mythvideo/mythvideo/metadata.cpp.
Definition at line 88 of file mythvideo/mythvideo/metadata.cpp.
Definition at line 89 of file mythvideo/mythvideo/metadata.cpp.
| MetadataImp::MetadataImp | ( | const QString & | filename, | |
| const QString & | coverfile, | |||
| const QString & | title, | |||
| int | year, | |||
| const QString & | inetref, | |||
| const QString & | director, | |||
| const QString & | plot, | |||
| float | userrating, | |||
| const QString & | rating, | |||
| int | length, | |||
| int | id, | |||
| ParentalLevel::Level | showlevel, | |||
| int | categoryID, | |||
| int | childID, | |||
| bool | browse, | |||
| const QString & | playcommand, | |||
| const QString & | category, | |||
| const genre_list & | genres, | |||
| const country_list & | countries, | |||
| const cast_list & | cast | |||
| ) | [inline] |
Definition at line 92 of file mythvideo/mythvideo/metadata.cpp.
| MetadataImp::MetadataImp | ( | MSqlQuery & | query | ) | [inline] |
Definition at line 115 of file mythvideo/mythvideo/metadata.cpp.
| MetadataImp::MetadataImp | ( | const MetadataImp & | other | ) | [inline] |
Definition at line 120 of file mythvideo/mythvideo/metadata.cpp.
| MetadataImp& MetadataImp::operator= | ( | const MetadataImp & | rhs | ) | [inline] |
Definition at line 128 of file mythvideo/mythvideo/metadata.cpp.
| bool MetadataImp::hasSortKey | ( | ) | const [inline] |
Definition at line 161 of file mythvideo/mythvideo/metadata.cpp.
Referenced by Metadata::hasSortKey().
| const Metadata::SortKey& MetadataImp::getSortKey | ( | ) | const [inline] |
Definition at line 162 of file mythvideo/mythvideo/metadata.cpp.
Referenced by Metadata::getSortKey().
| void MetadataImp::setSortKey | ( | const Metadata::SortKey & | sort_key | ) | [inline] |
Definition at line 163 of file mythvideo/mythvideo/metadata.cpp.
Referenced by Metadata::setSortKey().
| void MetadataImp::setFlatIndex | ( | int | index | ) | [inline] |
Definition at line 168 of file mythvideo/mythvideo/metadata.cpp.
Referenced by Metadata::setFlatIndex().
| int MetadataImp::getFlatIndex | ( | ) | const [inline] |
Definition at line 169 of file mythvideo/mythvideo/metadata.cpp.
Referenced by Metadata::getFlatIndex().
| const QString& MetadataImp::getPrefix | ( | ) | const [inline] |
Definition at line 171 of file mythvideo/mythvideo/metadata.cpp.
Referenced by Metadata::getPrefix().
| void MetadataImp::setPrefix | ( | const QString & | prefix | ) | [inline] |
Definition at line 172 of file mythvideo/mythvideo/metadata.cpp.
Referenced by Metadata::setPrefix().
| const QString& MetadataImp::getTitle | ( | ) | const [inline] |
Definition at line 174 of file mythvideo/mythvideo/metadata.cpp.
| void MetadataImp::setTitle | ( | const QString & | title | ) | [inline] |
Definition at line 175 of file mythvideo/mythvideo/metadata.cpp.
| const QString& MetadataImp::getInetRef | ( | ) | const [inline] |
| void MetadataImp::setInetRef | ( | const QString & | inetRef | ) | [inline] |
Definition at line 182 of file mythvideo/mythvideo/metadata.cpp.
Referenced by Metadata::setInetRef().
| const QString& MetadataImp::getDirector | ( | ) | const [inline] |
Definition at line 184 of file mythvideo/mythvideo/metadata.cpp.
Referenced by Metadata::Director().
| void MetadataImp::setDirector | ( | const QString & | director | ) | [inline] |
Definition at line 185 of file mythvideo/mythvideo/metadata.cpp.
Referenced by Metadata::setDirector().
| const QString& MetadataImp::getPlot | ( | ) | const [inline] |
| void MetadataImp::setPlot | ( | const QString & | plot | ) | [inline] |
| const QString& MetadataImp::getRating | ( | ) | const [inline] |
Definition at line 190 of file mythvideo/mythvideo/metadata.cpp.
| void MetadataImp::setRating | ( | const QString & | rating | ) | [inline] |
Definition at line 191 of file mythvideo/mythvideo/metadata.cpp.
Referenced by Metadata::setRating().
| const QString& MetadataImp::getPlayCommand | ( | ) | const [inline] |
Definition at line 193 of file mythvideo/mythvideo/metadata.cpp.
Referenced by Metadata::PlayCommand().
| void MetadataImp::setPlayCommand | ( | const QString & | playCommand | ) | [inline] |
Definition at line 194 of file mythvideo/mythvideo/metadata.cpp.
Referenced by Metadata::setPlayCommand().
| const QString& MetadataImp::getCategory | ( | ) | const [inline] |
Definition at line 199 of file mythvideo/mythvideo/metadata.cpp.
Referenced by Metadata::Category().
| const genre_list& MetadataImp::getGenres | ( | ) | const [inline] |
| void MetadataImp::setGenres | ( | const genre_list & | genres | ) | [inline] |
Definition at line 203 of file mythvideo/mythvideo/metadata.cpp.
Referenced by Metadata::setGenres().
| const country_list& MetadataImp::getCountries | ( | ) | const [inline] |
Definition at line 205 of file mythvideo/mythvideo/metadata.cpp.
Referenced by Metadata::Countries().
| void MetadataImp::setCountries | ( | const country_list & | countries | ) | [inline] |
Definition at line 206 of file mythvideo/mythvideo/metadata.cpp.
Referenced by Metadata::setCountries().
| const cast_list& MetadataImp::GetCast | ( | ) | const [inline] |
| void MetadataImp::SetCast | ( | const cast_list & | cast | ) | [inline] |
| const QString& MetadataImp::getFilename | ( | void | ) | const [inline] |
Definition at line 214 of file mythvideo/mythvideo/metadata.cpp.
Referenced by Metadata::fillDataFromFilename().
| void MetadataImp::setFilename | ( | const QString & | filename | ) | [inline] |
Definition at line 215 of file mythvideo/mythvideo/metadata.cpp.
| QString MetadataImp::getFilenameNoPrefix | ( | ) | const [inline] |
Definition at line 217 of file mythvideo/mythvideo/metadata.cpp.
Referenced by Metadata::getFilenameNoPrefix().
| const QString& MetadataImp::getCoverFile | ( | ) | const [inline] |
Definition at line 232 of file mythvideo/mythvideo/metadata.cpp.
Referenced by Metadata::CoverFile().
| void MetadataImp::setCoverFile | ( | const QString & | coverFile | ) | [inline] |
Definition at line 233 of file mythvideo/mythvideo/metadata.cpp.
Referenced by Metadata::setCoverFile().
| int MetadataImp::getCategoryID | ( | ) | const [inline] |
Definition at line 235 of file mythvideo/mythvideo/metadata.cpp.
Referenced by Metadata::getCategoryID().
| void MetadataImp::setCategoryID | ( | int | id | ) |
Definition at line 618 of file mythvideo/mythvideo/metadata.cpp.
Referenced by Metadata::setCategoryID().
| int MetadataImp::getChildID | ( | ) | const [inline] |
| void MetadataImp::setChildID | ( | int | childID | ) | [inline] |
Definition at line 242 of file mythvideo/mythvideo/metadata.cpp.
Referenced by Metadata::setChildID().
| int MetadataImp::getYear | ( | ) | const [inline] |
| void MetadataImp::setYear | ( | int | year | ) | [inline] |
Definition at line 245 of file mythvideo/mythvideo/metadata.cpp.
| int MetadataImp::getLength | ( | ) | const [inline] |
Definition at line 247 of file mythvideo/mythvideo/metadata.cpp.
| void MetadataImp::setLength | ( | int | length | ) | [inline] |
Definition at line 248 of file mythvideo/mythvideo/metadata.cpp.
| ParentalLevel::Level MetadataImp::getShowLevel | ( | ) | const [inline] |
Definition at line 250 of file mythvideo/mythvideo/metadata.cpp.
Referenced by Metadata::ShowLevel().
| void MetadataImp::setShowLevel | ( | ParentalLevel::Level | showLevel | ) | [inline] |
Definition at line 251 of file mythvideo/mythvideo/metadata.cpp.
Referenced by Metadata::setShowLevel().
| bool MetadataImp::getBrowse | ( | ) | const [inline] |
| void MetadataImp::setBrowse | ( | bool | browse | ) | [inline] |
Definition at line 257 of file mythvideo/mythvideo/metadata.cpp.
Referenced by Metadata::setBrowse().
| unsigned int MetadataImp::getID | ( | void | ) | const [inline] |
Definition at line 259 of file mythvideo/mythvideo/metadata.cpp.
| void MetadataImp::setID | ( | int | id | ) | [inline] |
Definition at line 260 of file mythvideo/mythvideo/metadata.cpp.
| float MetadataImp::getUserRating | ( | ) | const [inline] |
Definition at line 262 of file mythvideo/mythvideo/metadata.cpp.
Referenced by Metadata::UserRating().
| void MetadataImp::setUserRating | ( | float | userRating | ) | [inline] |
Definition at line 263 of file mythvideo/mythvideo/metadata.cpp.
Referenced by Metadata::setUserRating().
| void MetadataImp::dumpToDatabase | ( | void | ) |
Definition at line 608 of file mythvideo/mythvideo/metadata.cpp.
| void MetadataImp::updateDatabase | ( | ) |
Definition at line 613 of file mythvideo/mythvideo/metadata.cpp.
Referenced by Metadata::updateDatabase().
| bool MetadataImp::deleteFile | ( | ) |
Deletes the file associated with a metadata entry.
Definition at line 354 of file mythvideo/mythvideo/metadata.cpp.
Referenced by Metadata::deleteFile().
| bool MetadataImp::dropFromDB | ( | ) |
Definition at line 377 of file mythvideo/mythvideo/metadata.cpp.
Referenced by Metadata::dropFromDB().
| void MetadataImp::Reset | ( | void | ) |
| void MetadataImp::fillCountries | ( | ) | [private] |
| void MetadataImp::updateCountries | ( | ) | [private] |
| void MetadataImp::fillGenres | ( | ) | [private] |
| void MetadataImp::fillCast | ( | ) | [private] |
| void MetadataImp::updateGenres | ( | ) | [private] |
| void MetadataImp::updateCast | ( | ) | [private] |
| bool MetadataImp::removeDir | ( | const QString & | dirName | ) | [private] |
| void MetadataImp::fromDBRow | ( | MSqlQuery & | query | ) | [private] |
| void MetadataImp::saveToDatabase | ( | ) | [private] |
Definition at line 508 of file mythvideo/mythvideo/metadata.cpp.
Referenced by dumpToDatabase(), and updateDatabase().
QString MetadataImp::m_title [private] |
Definition at line 287 of file mythvideo/mythvideo/metadata.cpp.
Referenced by fromDBRow(), operator=(), and saveToDatabase().
QString MetadataImp::m_inetref [private] |
Definition at line 288 of file mythvideo/mythvideo/metadata.cpp.
Referenced by fromDBRow(), operator=(), and saveToDatabase().
QString MetadataImp::m_director [private] |
Definition at line 289 of file mythvideo/mythvideo/metadata.cpp.
Referenced by fromDBRow(), operator=(), and saveToDatabase().
QString MetadataImp::m_plot [private] |
Definition at line 290 of file mythvideo/mythvideo/metadata.cpp.
Referenced by fromDBRow(), operator=(), and saveToDatabase().
QString MetadataImp::m_rating [private] |
Definition at line 291 of file mythvideo/mythvideo/metadata.cpp.
Referenced by fromDBRow(), operator=(), and saveToDatabase().
QString MetadataImp::m_playcommand [private] |
Definition at line 292 of file mythvideo/mythvideo/metadata.cpp.
Referenced by fromDBRow(), operator=(), and saveToDatabase().
QString MetadataImp::m_category [private] |
Definition at line 293 of file mythvideo/mythvideo/metadata.cpp.
Referenced by fromDBRow(), operator=(), and setCategoryID().
genre_list MetadataImp::m_genres [private] |
Definition at line 294 of file mythvideo/mythvideo/metadata.cpp.
Referenced by fillGenres(), operator=(), and updateGenres().
country_list MetadataImp::m_countries [private] |
Definition at line 295 of file mythvideo/mythvideo/metadata.cpp.
Referenced by fillCountries(), operator=(), and updateCountries().
cast_list MetadataImp::m_cast [private] |
Definition at line 296 of file mythvideo/mythvideo/metadata.cpp.
Referenced by fillCast(), operator=(), and updateCast().
QString MetadataImp::m_filename [private] |
Definition at line 297 of file mythvideo/mythvideo/metadata.cpp.
Referenced by deleteFile(), dropFromDB(), fromDBRow(), operator=(), Reset(), and saveToDatabase().
QString MetadataImp::m_coverfile [private] |
Definition at line 298 of file mythvideo/mythvideo/metadata.cpp.
Referenced by fromDBRow(), operator=(), and saveToDatabase().
int MetadataImp::m_categoryID [private] |
Definition at line 300 of file mythvideo/mythvideo/metadata.cpp.
Referenced by fromDBRow(), operator=(), saveToDatabase(), and setCategoryID().
int MetadataImp::m_childID [private] |
Definition at line 301 of file mythvideo/mythvideo/metadata.cpp.
Referenced by fromDBRow(), operator=(), and saveToDatabase().
int MetadataImp::m_year [private] |
Definition at line 302 of file mythvideo/mythvideo/metadata.cpp.
Referenced by fromDBRow(), operator=(), and saveToDatabase().
int MetadataImp::m_length [private] |
Definition at line 303 of file mythvideo/mythvideo/metadata.cpp.
Referenced by fromDBRow(), operator=(), and saveToDatabase().
ParentalLevel::Level MetadataImp::m_showlevel [private] |
Definition at line 304 of file mythvideo/mythvideo/metadata.cpp.
Referenced by fromDBRow(), operator=(), and saveToDatabase().
bool MetadataImp::m_browse [private] |
Definition at line 305 of file mythvideo/mythvideo/metadata.cpp.
Referenced by fromDBRow(), operator=(), and saveToDatabase().
unsigned int MetadataImp::m_id [private] |
Definition at line 306 of file mythvideo/mythvideo/metadata.cpp.
Referenced by dropFromDB(), fillCast(), fillCountries(), fillGenres(), fromDBRow(), operator=(), Reset(), saveToDatabase(), updateCast(), updateCountries(), and updateGenres().
float MetadataImp::m_userrating [private] |
Definition at line 307 of file mythvideo/mythvideo/metadata.cpp.
Referenced by fromDBRow(), operator=(), and saveToDatabase().
Metadata::SortKey MetadataImp::m_sort_key [private] |
QString MetadataImp::m_prefix [private] |
Definition at line 311 of file mythvideo/mythvideo/metadata.cpp.
Referenced by operator=(), and Reset().
int MetadataImp::m_flat_index [private] |
Definition at line 312 of file mythvideo/mythvideo/metadata.cpp.
Referenced by operator=(), and Reset().
1.5.5