Although I approve people contributing to Qt, thumbs down from me too, mostly because
as koahnig mentioned there is already such functionality,
not every QString contains a file, even more, most probably the most QString objects do not contain filenames, thus both members are misplaced in QString,
the methods do not comply with the Qt naming conventions.