1. Added QThread attribute to the constructor 2. Made isCanceled() public
Allows the owner of the task to check whether the task has actually started to execute. This is a one-way flag, not synchronized (and doesn't need to be).