QThread - Using Timer instead of forever loop?