Bringing code to Qt convention.