MythTV  0.26-pre
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
AlbumArtImages Class Reference

#include <metadata.h>

List of all members.

Public Member Functions

 AlbumArtImages (Metadata *metadata)
 ~AlbumArtImages ()
void addImage (const AlbumArtImage &newImage)
uint getImageCount ()
AlbumArtImagegetImage (ImageType type)
QStringList getImageFilenames (void) const
AlbumArtListgetImageList (void)
AlbumArtImagegetImageAt (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

Metadatam_parent
AlbumArtList m_imageList

Detailed Description

Definition at line 399 of file metadata.h.


Constructor & Destructor Documentation

Definition at line 1233 of file metadata.cpp.

Definition at line 1239 of file metadata.cpp.


Member Function Documentation

QStringList AlbumArtImages::getImageFilenames ( void  ) const

Definition at line 1349 of file metadata.cpp.

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]
QString AlbumArtImages::getTypeName ( ImageType  type) [static]
QString AlbumArtImages::getTypeFilename ( ImageType  type) [static]

Definition at line 1248 of file metadata.cpp.

Referenced by AlbumArtImages().


Member Data Documentation

Definition at line 421 of file metadata.h.

Referenced by addImage(), dumpToDatabase(), and findImages().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends