qdeleteall: minor refactoring
qdeleteall: minor refactoring

Making room for implementing keys() support and avoiding to call
getNameAsString() twice.

nyalldawson/clazy,nyalldawson/clazy,nyalldawson/clazy,nyalldawson/clazy