Fix "not declared in this scope" compile errors in Windows
Summary: I'm not 100% sure whether the first change (new QTImer(this)) is the intended code; it's just my best guess.
Reviewers: rempt, woltherav
Reviewed By: woltherav
Differential Revision: https://phabricator.kde.org/D2734