equal
deleted
inserted
replaced
991 d->data->nameFilters = nameFilters; |
991 d->data->nameFilters = nameFilters; |
992 } |
992 } |
993 |
993 |
994 /*! |
994 /*! |
995 \obsolete |
995 \obsolete |
|
996 |
|
997 Use QDir::addSearchPath() with a prefix instead. |
|
998 |
996 Adds \a path to the search paths searched in to find resources |
999 Adds \a path to the search paths searched in to find resources |
997 that are not specified with an absolute path. The default search |
1000 that are not specified with an absolute path. The default search |
998 path is to search only in the root (\c{:/}). |
1001 path is to search only in the root (\c{:/}). |
999 |
1002 |
1000 Use QDir::addSearchPath() with a prefix instead. |
1003 \sa {The Qt Resource System} |
1001 |
1004 */ |
1002 \sa {The Qt Resource System}, QResource::addSearchPath() |
|
1003 */ |
|
1004 |
|
1005 void QDir::addResourceSearchPath(const QString &path) |
1005 void QDir::addResourceSearchPath(const QString &path) |
1006 { |
1006 { |
1007 #ifdef QT_BUILD_CORE_LIB |
1007 #ifdef QT_BUILD_CORE_LIB |
1008 QResource::addSearchPath(path); |
1008 QResource::addSearchPath(path); |
1009 #else |
1009 #else |