src/corelib/io/qdir.cpp
changeset 19 fcece45ef507
parent 18 2f34d5167611
child 30 5dc02b23752f
equal deleted inserted replaced
18:2f34d5167611 19:fcece45ef507
   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