QFI used to be the higher of two grades of instructor under the old UK CAA system
You started off as an AFI, Assistant Flying Instructor, roughly equivalent to a Grade 3, then when you had the hours and the CFI said you were ready you could upgrade to QFI Qualified Flying Instructor.