diff options
Diffstat (limited to 'lib/qextfileinfo.h')
-rw-r--r-- | lib/qextfileinfo.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/qextfileinfo.h b/lib/qextfileinfo.h index 6a9e52c7..a223438e 100644 --- a/lib/qextfileinfo.h +++ b/lib/qextfileinfo.h @@ -55,21 +55,21 @@ public: static KURL toRelative(const KURL& urlToConvert, const KURL& baseURL, bool resolveSymlinks = true); /** Convert relative url to absolute, based on baseURL. */ static KURL toAbsolute(const KURL& urlToConvert, const KURL& baseURL); - /** Returns a recursive list of files under path, matching the specified file tqmask. */ - static KURL::List allFiles( const KURL& path, const TQString &tqmask, TQWidget *window); - /** Returns a recursive list of files under path, matching the specified file tqmask. + /** Returns a recursive list of files under path, matching the specified file mask. */ + static KURL::List allFiles( const KURL& path, const TQString &mask, TQWidget *window); + /** Returns a recursive list of files under path, matching the specified file mask. The returned urls are relative to path. */ - static KURL::List allFilesRelative( const KURL& path, const TQString &tqmask, TQWidget *window, bool resolveSymlinks = true); - /** Returns a recursive list of files under path, matching the specified file tqmask. + static KURL::List allFilesRelative( const KURL& path, const TQString &mask, TQWidget *window, bool resolveSymlinks = true); + /** Returns a recursive list of files under path, matching the specified file mask. The returned list contains detailed information about each url. The user should delete the KFileItems and clear the dict after they are not needed. */ - static TQDict<KFileItem> allFilesDetailed(const KURL& path, const TQString &tqmask, TQWidget *window); + static TQDict<KFileItem> allFilesDetailed(const KURL& path, const TQString &mask, TQWidget *window); /** Creates a dir if don't exists. */ static bool createDir(const KURL & path, TQWidget *window); - /** Returns the tqparent directory of dir. */ + /** Returns the parent directory of dir. */ static KURL cdUp(const KURL &dir); /** Returns the filename from a path string. */ static TQString shortName(const TQString &fname ); @@ -93,9 +93,9 @@ private: bool internalExists(const KURL& url, bool readingOnly, TQWidget *window); bool internalCopy(const KURL& src, const KURL& target, int permissions, bool overwrite, bool resume, TQWidget* window); - KURL::List allFilesInternal(const KURL& startURL, const TQString& tqmask, TQWidget *window); - TQDict<KFileItem> allFilesDetailedInternal(const KURL& startURL, const TQString& tqmask, TQWidget *window); - KURL::List allLocalFiles(const TQString& startPath, const TQString& tqmask); + KURL::List allFilesInternal(const KURL& startURL, const TQString& mask, TQWidget *window); + TQDict<KFileItem> allFilesDetailedInternal(const KURL& startURL, const TQString& mask, TQWidget *window); + KURL::List allLocalFiles(const TQString& startPath, const TQString& mask); bool bJobOK; static TQString lastErrorMsg; |