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

AlbumArtImages::AlbumArtImages ( Metadata metadata  ) 

Definition at line 1233 of file metadata.cpp.

AlbumArtImages::~AlbumArtImages (  ) 

Definition at line 1239 of file metadata.cpp.


Member Function Documentation

void AlbumArtImages::addImage ( const AlbumArtImage newImage  ) 
uint AlbumArtImages::getImageCount (  )  [inline]
AlbumArtImage * AlbumArtImages::getImage ( ImageType  type  ) 
QStringList AlbumArtImages::getImageFilenames ( void   )  const

Definition at line 1349 of file metadata.cpp.

AlbumArtList* AlbumArtImages::getImageList ( void   )  [inline]
AlbumArtImage * AlbumArtImages::getImageAt ( uint  index  ) 

Definition at line 1360 of file metadata.cpp.

Referenced by AlbumArt::findFrontCover().

void AlbumArtImages::dumpToDatabase ( void   ) 

saves or updates the image details in the DB

Definition at line 1479 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]
void AlbumArtImages::findImages ( void   )  [private]

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
Generated on Sat Feb 11 06:41:48 2012 for MythTV by  doxygen 1.6.3