MetadataImageDownload Class Reference

#include <metadataimagedownload.h>

Inheritance diagram for MetadataImageDownload:
MThread

List of all members.

Public Member Functions

 MetadataImageDownload (QObject *parent)
 ~MetadataImageDownload ()
void addThumb (QString title, QString url, QVariant data)
void addDownloads (MetadataLookup *lookup)
void cancel ()

Protected Member Functions

void run ()
 Runs the Qt event loop unless we have a QRunnable, in which case we run the runnable run instead.

Private Member Functions

ThumbnailDatamoreThumbs ()
MetadataLookupmoreDownloads ()

Private Attributes

QObject * m_parent
QList< MetadataLookup * > m_downloadList
QList< ThumbnailData * > m_thumbnailList
QMutex m_mutex

Detailed Description

Definition at line 56 of file metadataimagedownload.h.


Constructor & Destructor Documentation

MetadataImageDownload::MetadataImageDownload ( QObject *  parent  ) 

Definition at line 28 of file metadataimagedownload.cpp.

MetadataImageDownload::~MetadataImageDownload (  ) 

Definition at line 34 of file metadataimagedownload.cpp.


Member Function Documentation

void MetadataImageDownload::addThumb ( QString  title,
QString  url,
QVariant  data 
)
void MetadataImageDownload::addDownloads ( MetadataLookup lookup  ) 
void MetadataImageDownload::cancel (  ) 
void MetadataImageDownload::run ( void   )  [protected, virtual]

Runs the Qt event loop unless we have a QRunnable, in which case we run the runnable run instead.

Note:
If you override this method you must call RunProlog before you do any work and RunEpilog before you exit the run method.

Reimplemented from MThread.

Definition at line 73 of file metadataimagedownload.cpp.

ThumbnailData * MetadataImageDownload::moreThumbs (  )  [private]

Definition at line 308 of file metadataimagedownload.cpp.

Referenced by run().

MetadataLookup * MetadataImageDownload::moreDownloads (  )  [private]

Definition at line 318 of file metadataimagedownload.cpp.

Referenced by run().


Member Data Documentation

QObject* MetadataImageDownload::m_parent [private]

Definition at line 76 of file metadataimagedownload.h.

Referenced by MetadataImageDownload(), and run().

Definition at line 77 of file metadataimagedownload.h.

Referenced by addDownloads(), cancel(), and moreDownloads().

Definition at line 78 of file metadataimagedownload.h.

Referenced by addThumb(), cancel(), and moreThumbs().

Definition at line 79 of file metadataimagedownload.h.

Referenced by addDownloads(), addThumb(), cancel(), moreDownloads(), and moreThumbs().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Mon May 28 06:42:09 2012 for MythTV by  doxygen 1.6.3