The QLocalFs class is an implementation of a QNetworkProtocol that works on the local file system.
.PP
This class is derived from QNetworkProtocol. QLocalFs is not normally used directly, but rather through a QUrlOperator, for example:
.PP
.nf
.br
QUrlOperator op( "file:///tmp" );
.br
op.listChildren(); // Asks the server to provide a directory listing
.br
.fi
.PP
This code will only work if the QLocalFs class is registered; to register the class, you must call qInitNetworkProtocols() before using a QUrlOperator with QLocalFs.
.PP
If you really need to use QLocalFs directly, don't forget to set its QUrlOperator with setUrl().
.PP
See also Qt Network Documentation, QNetworkProtocol, QUrlOperator, and Input/Output and Networking.