#include <metadataimagedownload.h>
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 | |
| ThumbnailData * | moreThumbs () |
| MetadataLookup * | moreDownloads () |
Private Attributes | |
| QObject * | m_parent |
| QList< MetadataLookup * > | m_downloadList |
| QList< ThumbnailData * > | m_thumbnailList |
| QMutex | m_mutex |
Definition at line 56 of file metadataimagedownload.h.
| MetadataImageDownload::MetadataImageDownload | ( | QObject * | parent | ) |
Definition at line 28 of file metadataimagedownload.cpp.
| MetadataImageDownload::~MetadataImageDownload | ( | ) |
Definition at line 34 of file metadataimagedownload.cpp.
| void MetadataImageDownload::addThumb | ( | QString | title, | |
| QString | url, | |||
| QVariant | data | |||
| ) |
Definition at line 40 of file metadataimagedownload.cpp.
Referenced by MetadataResultsDialog::Create(), ImageSearchResultsDialog::Create(), NetSearch::populateResultList(), and NetTree::UpdateItem().
| void MetadataImageDownload::addDownloads | ( | MetadataLookup * | lookup | ) |
Definition at line 54 of file metadataimagedownload.cpp.
Referenced by MetadataOptions::OnImageSearchListSelection(), EditMetadataDialog::OnSearchListSelection(), MetadataFactory::OnSingleResult(), and GameUI::StartGameImageSet().
| void MetadataImageDownload::cancel | ( | ) |
Definition at line 63 of file metadataimagedownload.cpp.
Referenced by NetTree::goBack(), NetTree::handleDirSelect(), MetadataFactory::~MetadataFactory(), ~MetadataImageDownload(), and MetadataOptions::~MetadataOptions().
| 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.
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().
QObject* MetadataImageDownload::m_parent [private] |
Definition at line 76 of file metadataimagedownload.h.
Referenced by MetadataImageDownload(), and run().
QList<MetadataLookup*> MetadataImageDownload::m_downloadList [private] |
Definition at line 77 of file metadataimagedownload.h.
Referenced by addDownloads(), cancel(), and moreDownloads().
QList<ThumbnailData*> MetadataImageDownload::m_thumbnailList [private] |
Definition at line 78 of file metadataimagedownload.h.
Referenced by addThumb(), cancel(), and moreThumbs().
QMutex MetadataImageDownload::m_mutex [private] |
Definition at line 79 of file metadataimagedownload.h.
Referenced by addDownloads(), addThumb(), cancel(), moreDownloads(), and moreThumbs().
1.6.3