Move the check for "all tasks done" to the scheduler so it doesn't have to be checked on ever call to taskDone and potentially missed.
svn path=/trunk/KDE/kdepimlibs/; revision=903463