Qt 4.6: Obsolete Members for QDir

|  | Home · All Classes · Overviews |

# Obsolete Members for QDir

The following class members are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

- QDir class reference

## Public Functions

QDir & | operator= ( const QString & path ) `(obsolete)`

## Static Public Members

void | addResourceSearchPath ( const QString & path ) `(obsolete)`

## Member Function Documentation

### void QDir::addResourceSearchPath ( const QString & path ) `[static]`

Adds path to the search paths searched in to find resources that are not specified with an absolute path. The default search path is to search only in the root (`:/`).

Use QDir::addSearchPath() with a prefix instead.

See also The Qt Resource System and QResource::addSearchPath().

### QDir & QDir::operator= ( const QString & path )

This is an overloaded function.

Sets the directory path to the given path.

Use setPath() instead.