|
MythTV
0.26-pre
|
#include <metadata.h>
Public Member Functions | |
| AlbumArtImages (Metadata *metadata) | |
| ~AlbumArtImages () | |
| void | addImage (const AlbumArtImage &newImage) |
| uint | getImageCount () |
| AlbumArtImage * | getImage (ImageType type) |
| QStringList | getImageFilenames (void) const |
| AlbumArtList * | getImageList (void) |
| AlbumArtImage * | getImageAt (uint index) |
| void | dumpToDatabase (void) |
| saves or updates the image details in the DB | |
Static Public Member Functions | |
| static ImageType | guessImageType (const QString &filename) |
| static QString | getTypeName (ImageType type) |
| static QString | getTypeFilename (ImageType type) |
Private Member Functions | |
| void | findImages (void) |
Private Attributes | |
| Metadata * | m_parent |
| AlbumArtList | m_imageList |
Definition at line 399 of file metadata.h.
| AlbumArtImages::AlbumArtImages | ( | Metadata * | metadata | ) |
Definition at line 1233 of file metadata.cpp.
Definition at line 1239 of file metadata.cpp.
| void AlbumArtImages::addImage | ( | const AlbumArtImage & | newImage | ) |
Definition at line 1426 of file metadata.cpp.
Referenced by EditMetadataCommon::scanForImages(), and Metadata::setEmbeddedAlbumArt().
| uint AlbumArtImages::getImageCount | ( | ) | [inline] |
Definition at line 406 of file metadata.h.
Referenced by AlbumArt::cycleImage(), AlbumArt::findFrontCover(), and EditAlbumartDialog::rescanForImages().
| AlbumArtImage * AlbumArtImages::getImage | ( | ImageType | type | ) |
Definition at line 1337 of file metadata.cpp.
Referenced by AlbumArt::cycleImage(), AlbumArt::findFrontCover(), and Metadata::getAlbumArtFile().
| QStringList AlbumArtImages::getImageFilenames | ( | void | ) | const |
Definition at line 1349 of file metadata.cpp.
| AlbumArtList* AlbumArtImages::getImageList | ( | void | ) | [inline] |
Definition at line 409 of file metadata.h.
Referenced by Metadata::getAlbumArtFile(), EditMetadataCommon::scanForImages(), and EditAlbumartDialog::updateImageGrid().
| AlbumArtImage * AlbumArtImages::getImageAt | ( | uint | index | ) |
Definition at line 1360 of file metadata.cpp.
Referenced by AlbumArt::findFrontCover().
saves or updates the image details in the DB
Definition at line 1481 of file metadata.cpp.
Referenced by FileScanner::AddFileToDB(), ImportMusicDialog::addPressed(), Metadata::dumpToDatabase(), and EditAlbumartDialog::~EditAlbumartDialog().
| ImageType AlbumArtImages::guessImageType | ( | const QString & | filename | ) | [static] |
Definition at line 1403 of file metadata.cpp.
Referenced by FileScanner::AddFileToDB(), doUpgradeMusicDatabaseSchema(), EditMetadataCommon::scanForImages(), and EditAlbumartDialog::showTypeMenu().
| QString AlbumArtImages::getTypeName | ( | ImageType | type | ) | [static] |
Definition at line 1369 of file metadata.cpp.
Referenced by EditAlbumartDialog::customEvent(), EditAlbumartDialog::gridItemChanged(), EditAlbumartDialog::showTypeMenu(), and EditAlbumartDialog::updateImageGrid().
| QString AlbumArtImages::getTypeFilename | ( | ImageType | type | ) | [static] |
Definition at line 1386 of file metadata.cpp.
Referenced by addImage(), EditAlbumartDialog::customEvent(), and EditAlbumartDialog::removeCachedImage().
| void AlbumArtImages::findImages | ( | void | ) | [private] |
Definition at line 1248 of file metadata.cpp.
Referenced by AlbumArtImages().
Metadata* AlbumArtImages::m_parent [private] |
Definition at line 421 of file metadata.h.
Referenced by addImage(), dumpToDatabase(), and findImages().
AlbumArtList AlbumArtImages::m_imageList [private] |
Definition at line 422 of file metadata.h.
Referenced by addImage(), dumpToDatabase(), findImages(), getImage(), getImageAt(), getImageFilenames(), and ~AlbumArtImages().
1.7.6.1