| 91 | void setWorking(bool state) { working = state; } |
| 92 | bool isWorking() { return working; } |
| 93 | QString getStatus() |
| 94 | { |
| 95 | return QString("T%1: %2").arg(id).arg(working ? QString::number(currentFrame) : QString("-")); |
| 96 | } |
| 97 | // Process the job in the thread that this worker was moved to. This function can be directly |
| 98 | // called from the main thread. It will still process the call in the separate thread. |
| 99 | void processCacheJob(); |