Logo Search packages:      
Sourcecode: qcomicbook version File versions  Download package

QComicBook::ImgLoaderThread Class Reference

#include <imgloader.h>

Inherited by QComicBook::ThumbnailLoaderThread.

List of all members.


Detailed Description

Thread-based image loader.

Definition at line 26 of file imgloader.h.


Public Member Functions

virtual void request (int first, int n)
 Appends few pages to the list of pages to load.
virtual void request (int page)
 Appends page to the list of pages to load.
virtual void setPriority (QThread::Priority p)
 Changes priority of the loader thread.
virtual void setSink (ImgDirSink *sink=NULL)
 Sets image source sink.
virtual void stop ()
 Stops processing requests and exits thread execution.

Protected Member Functions

virtual void run ()
 Main function of the thread.

Protected Attributes

QMutex mtx
 mutex for serialization of class attributes
volatile QThread::Priority prio
 thread priority
QValueList< int > requests
 the list of requested pages
ImgDirSinksink
volatile bool stopped

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index