QDir particularly QDir::entryList() and a loop