If your files are real files, you can subclass QFSFileEngine and reimplement those methods defined in QAbstractFileEngine that you need changed. In doubt see the sources of the mentioned classes - maybe you only need to alter one or two methods.