
We bake cookies in your browser for a better experience. Using this site means that you consent.Read More
TheQ3LocalFs class is an implementation of aQNetworkProtocol that works on the local file system.More...
| Header: | #include <Q3LocalFs> |
| Inherits: | Q3NetworkProtocol |
| 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) |
TheQ3LocalFs class is an implementation of aQNetworkProtocol that works on the local file system.
This class is derived fromQNetworkProtocol.Q3LocalFs is not normally used directly, but rather through aQUrlOperator, for example:
Q3UrlOperator op("file:///tmp" );op.listChildren();// Asks the server to provide a directory listing
This code will only work if theQ3LocalFs class is registered; to register the class, you must call qInitNetworkProtocols() before using aQUrlOperator withQ3LocalFs.
If you really need to useQ3LocalFs directly, don't forget to set itsQUrlOperator withsetUrl().
See alsoQ3NetworkProtocol and Q3UrlOperator.
Constructor.
[virtual protected]void Q3LocalFs::operationGet(Q3NetworkOperation * op)Reimplemented fromQ3NetworkProtocol::operationGet().
[virtual protected]void Q3LocalFs::operationListChildren(Q3NetworkOperation * op)Reimplemented fromQ3NetworkProtocol::operationListChildren().
[virtual protected]void Q3LocalFs::operationMkDir(Q3NetworkOperation * op)Reimplemented fromQ3NetworkProtocol::operationMkDir().
[virtual protected]void Q3LocalFs::operationPut(Q3NetworkOperation * op)Reimplemented fromQ3NetworkProtocol::operationPut().
[virtual protected]void Q3LocalFs::operationRemove(Q3NetworkOperation * op)Reimplemented fromQ3NetworkProtocol::operationRemove().
[virtual protected]void Q3LocalFs::operationRename(Q3NetworkOperation * op)Reimplemented fromQ3NetworkProtocol::operationRename().
[virtual]int Q3LocalFs::supportedOperations() constReimplemented fromQ3NetworkProtocol::supportedOperations().
© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of theGNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.