|
AlbumShaper 1.0a3
|
#include <addPhotosDialog.h>


Public Member Functions | |
| GeneratePreviewThread (FilePreview *previewWidget) | |
| void | start (QString filename) |
| virtual void | run () |
Private Attributes | |
| QString | filename |
| current file being processed | |
| FilePreview * | previewWidget |
| handle on preview widget necessary for posting an update event once the current file has been processed | |
| bool | updating |
| is the worker thread currently generating a file preview? | |
| QString | queue |
| next file to be processed by worker thread | |
| QMutex | lockingMutex |
| locking mutex - necessary to prevent multiple threads from accessing the updating bool or queue variable simultaniously | |
Definition at line 33 of file addPhotosDialog.h.
| GeneratePreviewThread::GeneratePreviewThread | ( | FilePreview * | previewWidget | ) |
Definition at line 63 of file addPhotosDialog.cpp.
References previewWidget, queue, and updating.
|
virtual |
Definition at line 97 of file addPhotosDialog.cpp.
References filename, getImageSize(), lockingMutex, MIN_HEIGHT, MIN_WIDTH, previewWidget, queue, scaleImage(), and updating.
| void GeneratePreviewThread::start | ( | QString | filename | ) |
Definition at line 75 of file addPhotosDialog.cpp.
References filename, lockingMutex, queue, and updating.
Referenced by FilePreview::updatePreview().
|
private |
current file being processed
Definition at line 42 of file addPhotosDialog.h.
|
private |
locking mutex - necessary to prevent multiple threads from accessing the updating bool or queue variable simultaniously
Definition at line 56 of file addPhotosDialog.h.
|
private |
handle on preview widget necessary for posting an update event once the current file has been processed
Definition at line 46 of file addPhotosDialog.h.
Referenced by GeneratePreviewThread(), and run().
|
private |
next file to be processed by worker thread
Definition at line 52 of file addPhotosDialog.h.
Referenced by GeneratePreviewThread(), run(), and start().
|
private |
is the worker thread currently generating a file preview?
Definition at line 49 of file addPhotosDialog.h.
Referenced by GeneratePreviewThread(), run(), and start().