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

void ImgLoaderThread::request ( int  page  )  [virtual]

Appends page to the list of pages to load.

Parameters:
page page to load

Definition at line 41 of file imgloader.cpp.

References mtx, prio, and requests.

{
      mtx.lock();
      if (requests.contains(page))
      {
            mtx.unlock();
            return;
      }
      requests.append(page);
      if (!running() && !stopped)
      {
            mtx.unlock();
            start(prio);
      }
      else
            mtx.unlock();
}


Generated by  Doxygen 1.6.0   Back to index