In Qt4 Qt::WFlags has been replaced by the Qt::WindowFlags

In Qt4 Qt::WFlags has been replaced by the Qt::WindowFlags. The sources were updated to reflect that.