tools/qdoc3/config.cpp
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
   397     }
   397     }
   398     return result;
   398     return result;
   399 }
   399 }
   400 
   400 
   401 /*!
   401 /*!
       
   402   \a fileName is the path of the file to find.
       
   403 
       
   404   \a files and \a dirs are the lists where we must find the
       
   405   components of \a fileName.
       
   406   
       
   407   \a location is used for obtaining the file and line numbers
       
   408   for report qdoc errors.
   402  */
   409  */
   403 QString Config::findFile(const Location& location,
   410 QString Config::findFile(const Location& location,
   404                          const QStringList& files,
   411                          const QStringList& files,
   405                          const QStringList& dirs,
   412                          const QStringList& dirs,
   406                          const QString& fileName,
   413                          const QString& fileName,
   525     }
   532     }
   526     return findFile(location, files, dirs, fileBase, userFriendlyFilePath);
   533     return findFile(location, files, dirs, fileBase, userFriendlyFilePath);
   527 }
   534 }
   528 
   535 
   529 /*!
   536 /*!
       
   537   Copies the \a sourceFilePath to the file name constructed by
       
   538   concatenating \a targetDirPath and \a userFriendlySourceFilePath.
       
   539   \a location is for identifying the file and line number where
       
   540   a qdoc error occurred. The constructed output file name is
       
   541   returned.
   530  */
   542  */
   531 QString Config::copyFile(const Location& location,
   543 QString Config::copyFile(const Location& location,
   532                          const QString& sourceFilePath,
   544                          const QString& sourceFilePath,
   533                          const QString& userFriendlySourceFilePath,
   545                          const QString& userFriendlySourceFilePath,
   534                          const QString& targetDirPath)
   546                          const QString& targetDirPath)