equal
deleted
inserted
replaced
1 /**************************************************************************** |
1 /**************************************************************************** |
2 ** |
2 ** |
3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). |
3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
4 ** All rights reserved. |
4 ** All rights reserved. |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
6 ** |
6 ** |
7 ** This file is part of the QtCore module of the Qt Toolkit. |
7 ** This file is part of the QtCore module of the Qt Toolkit. |
8 ** |
8 ** |
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 |
1123 with Dirs or Files. |
1123 with Dirs or Files. |
1124 \value Executable List files for which the application has |
1124 \value Executable List files for which the application has |
1125 execute access. The Executable value needs to be |
1125 execute access. The Executable value needs to be |
1126 combined with Dirs or Files. |
1126 combined with Dirs or Files. |
1127 \value Modified Only list files that have been modified (ignored |
1127 \value Modified Only list files that have been modified (ignored |
1128 under Unix). |
1128 on Unix). |
1129 \value Hidden List hidden files (on Unix, files starting with a .). |
1129 \value Hidden List hidden files (on Unix, files starting with a "."). |
1130 \value System List system files (on Unix, FIFOs, sockets and |
1130 \value System List system files (on Unix, FIFOs, sockets and |
1131 device files) |
1131 device files are included; on Windows, \c {.lnk} |
|
1132 files are included) |
1132 \value CaseSensitive The filter should be case sensitive. |
1133 \value CaseSensitive The filter should be case sensitive. |
1133 |
1134 |
1134 \omitvalue DefaultFilter |
1135 \omitvalue DefaultFilter |
1135 \omitvalue TypeMask |
1136 \omitvalue TypeMask |
1136 \omitvalue All |
1137 \omitvalue All |