1 #ifndef __IMLIBLOADER_H
2 #define __IMLIBLOADER_H
4 /*! \file imlibloader.h */
7 #include <qstringlist.h>
11 //! Thread-based image loader.
12 class ImlibLoaderThread: public QThread
15 volatile QThread::Priority prio; //!<thread priority
16 QMutex mtx; //!<mutex for serialization of class attributes
17 QStringList requests; //!<the list of requested pages
18 volatile bool stopped;
24 virtual ~ImlibLoaderThread();
26 virtual void setPriority(QThread::Priority p);
28 virtual void request(const QString &file);
30 //! Stops processing requests and exits thread execution.