|  | Home · Overviews · Examples

# QFSFileEngine Class Reference
[com.trolltech.qt.core module]

The `QFSFileEngine` class implements Qt's default file engine. More...

Inherits `QAbstractFileEngine`.

## Detailed Description

The `QFSFileEngine` class implements Qt's default file engine.

This class is part of the file engine framework in Qt. If you only want to access files or directories, use `QFile`, `QFileInfo` or `QDir` instead.

`QFSFileEngine` is the default file engine for accessing regular files. It is provided for convenience; by subclassing this class, you can alter its behavior slightly, without having to write a complete `QAbstractFileEngine` subclass. To install your custom file engine, you must also subclass `QAbstractFileEngineHandler` and create an instance of your handler.

It can also be useful to create a `QFSFileEngine` object directly if you need to use the local file system inside QAbstractFileEngine::create(), in order to avoid recursion (as higher-level classes tend to call QAbstractFileEngine::create()).