qlocalfs.3qt man page

QLocalFs — Implementation of a QNetworkProtocol that works on the local file system


#include <qlocalfs.h>

Inherits QNetworkProtocol.

Public Members

QLocalFs ()


The QLocalFs class is an implementation of a QNetworkProtocol that works on the local file system.

This class is derived from QNetworkProtocol. QLocalFs is not normally used directly, but rather through a QUrlOperator, for example:

QUrlOperator op( "file:///tmp" );

op.listChildren(); // Asks the server to provide a directory listing

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.

If you really need to use QLocalFs directly, don't forget to set its QUrlOperator with setUrl().

See also Qt Network Documentation, QNetworkProtocol, QUrlOperator, and Input/Output and Networking.

QLocalFs::QLocalFs ()


See Also

http://doc.trolltech.com/qlocalfs.html http://www.trolltech.com/faq/tech.html


Generated automatically from the source code.


If you find a bug in Qt, please report it as described in http://doc.trolltech.com/bughowto.html. Good bug reports help us to help you. Thank you.

The definitive Qt documentation is provided in HTML format; it is located at $QTDIR/doc/html and can be read using Qt Assistant or with a web browser. This man page is provided as a convenience for those users who prefer man pages, although this format is not officially supported by Trolltech.

If you find errors in this manual page, please report them to qt-bugs@trolltech.com. Please include the name of the manual page (qlocalfs.3qt) and the Qt version (3.3.8).

Referenced By

QLocalFs.3qt(3) is an alias of qlocalfs.3qt(3).

Trolltech AS 2 February 2007