Qt 4.8: Q3LocalFs Class Reference

Qt Reference Documentation

- Qt 4.8
- ALL VERSIONS

- A
- A
- A
- Print

# Q3LocalFs Class Reference

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.

- List of all members, including inherited members

## Public Functions

| Q3LocalFs ()

## Reimplemented Public Functions

virtual int | supportedOperations () const

- 9 public functions inherited from Q3NetworkProtocol
- 29 public functions inherited from QObject

## Reimplemented Protected Functions

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 )

- 7 protected functions inherited from Q3NetworkProtocol
- 8 protected functions inherited from QObject

### Additional Inherited Members

- 1 property inherited from QObject
- 1 public slot inherited from QObject
- 10 signals inherited from Q3NetworkProtocol
- 1 signal inherited from QObject
- 3 static public members inherited from Q3NetworkProtocol
- 7 static public members inherited from QObject
- 7 protected functions inherited from Q3NetworkProtocol
- 8 protected functions inherited from QObject

## Detailed Description

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.

## Member Function Documentation

### Q3LocalFs::Q3LocalFs ()

Constructor.

### void Q3LocalFs::operationGet ( Q3NetworkOperation * op )`[virtual protected]`

Reimplemented from Q3NetworkProtocol::operationGet().

### void Q3LocalFs::operationListChildren ( Q3NetworkOperation * op )`[virtual protected]`

Reimplemented from Q3NetworkProtocol::operationListChildren().

### void Q3LocalFs::operationMkDir ( Q3NetworkOperation * op )`[virtual protected]`

Reimplemented from Q3NetworkProtocol::operationMkDir().

### void Q3LocalFs::operationPut ( Q3NetworkOperation * op )`[virtual protected]`

Reimplemented from Q3NetworkProtocol::operationPut().

### void Q3LocalFs::operationRemove ( Q3NetworkOperation * op )`[virtual protected]`

Reimplemented from Q3NetworkProtocol::operationRemove().

### void Q3LocalFs::operationRename ( Q3NetworkOperation * op )`[virtual protected]`

Reimplemented from Q3NetworkProtocol::operationRename().

### int Q3LocalFs::supportedOperations () const`[virtual]`

Reimplemented from Q3NetworkProtocol::supportedOperations().