Small changes
Replaces sys typedefs with qt ones