The Q3LocalFs class is an implementation of a QNetworkProtocol that works on the local file system. More...
#include <Q3LocalFs>
This class is part of the Qt 3 support library. It is provided to keep old source code working. We strongly advise against using it in new code. See Porting to Qt 4 for more information.
Inherits: Q3NetworkProtocol.
Q3LocalFs () |
virtual int | supportedOperations () const |
virtual void | operationGet ( Q3NetworkOperation * op ) |
virtual void | operationListChildren ( Q3NetworkOperation * op ) |
virtual void | operationMkDir ( Q3NetworkOperation * op ) |
virtual void | operationPut ( Q3NetworkOperation * op ) |
virtual void | operationRemove ( Q3NetworkOperation * op ) |
virtual void | operationRename ( Q3NetworkOperation * op ) |
The Q3LocalFs class is an implementation of a QNetworkProtocol that works on the local file system.
This class is derived from QNetworkProtocol. Q3LocalFs is not normally used directly, but rather through a QUrlOperator, for example:
Q3UrlOperator op( "file:///tmp" ); op.listChildren(); // Asks the server to provide a directory listing
This code will only work if the Q3LocalFs class is registered; to register the class, you must call qInitNetworkProtocols() before using a QUrlOperator with Q3LocalFs.
If you really need to use Q3LocalFs directly, don't forget to set its QUrlOperator with setUrl().
See also Q3NetworkProtocol and Q3UrlOperator.
Constructor.
Reimplemented from Q3NetworkProtocol::operationGet().
Reimplemented from Q3NetworkProtocol::operationListChildren().
Reimplemented from Q3NetworkProtocol::operationMkDir().
Reimplemented from Q3NetworkProtocol::operationPut().
Reimplemented from Q3NetworkProtocol::operationRemove().
Reimplemented from Q3NetworkProtocol::operationRename().
Reimplemented from Q3NetworkProtocol::supportedOperations().
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.