src/corelib/io/qfileinfo.cpp
changeset 37 758a864f9613
parent 30 5dc02b23752f
equal deleted inserted replaced
36:ef0373b55136 37:758a864f9613
   795     Returns the path of the object's parent directory as a QDir object.
   795     Returns the path of the object's parent directory as a QDir object.
   796 
   796 
   797     \bold{Note:} The QDir returned always corresponds to the object's
   797     \bold{Note:} The QDir returned always corresponds to the object's
   798     parent directory, even if the QFileInfo represents a directory.
   798     parent directory, even if the QFileInfo represents a directory.
   799 
   799 
   800     For each of the follwing, dir() returns a QDir for
   800     For each of the following, dir() returns a QDir for
   801     \c{"~/examples/191697"}.
   801     \c{"~/examples/191697"}.
   802 
   802 
   803     \snippet doc/src/snippets/fileinfo/main.cpp 0
   803     \snippet doc/src/snippets/fileinfo/main.cpp 0
   804 
   804 
   805     For each of the follwing, dir() returns a QDir for
   805     For each of the following, dir() returns a QDir for
   806     \c{"."}.
   806     \c{"."}.
   807 
   807 
   808     \snippet doc/src/snippets/fileinfo/main.cpp 1
   808     \snippet doc/src/snippets/fileinfo/main.cpp 1
   809 
   809 
   810     \sa absolutePath(), filePath(), fileName(), isRelative(), absoluteDir()
   810     \sa absolutePath(), filePath(), fileName(), isRelative(), absoluteDir()