summaryrefslogtreecommitdiffstats
path: root/lib/qextfileinfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/qextfileinfo.cpp')
-rw-r--r--lib/qextfileinfo.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/lib/qextfileinfo.cpp b/lib/qextfileinfo.cpp
index a50455f4..3f002ada 100644
--- a/lib/qextfileinfo.cpp
+++ b/lib/qextfileinfo.cpp
@@ -161,16 +161,16 @@ KURL QExtFileInfo::toAbsolute(const KURL& _urlToConvert,const KURL& _baseURL)
This is needed for empty directory adding/handling. (Andras)
Currently works only for local directories
*/
-KURL::List QExtFileInfo::allFiles( const KURL& path, const TQString& tqmask, TQWidget *window)
+KURL::List QExtFileInfo::allFiles( const KURL& path, const TQString& mask, TQWidget *window)
{
QExtFileInfo internalFileInfo;
- return internalFileInfo.allFilesInternal(path, tqmask, window);
+ return internalFileInfo.allFilesInternal(path, mask, window);
}
-KURL::List QExtFileInfo::allFilesRelative( const KURL& path, const TQString& tqmask, TQWidget *window, bool resolveSymlinks)
+KURL::List QExtFileInfo::allFilesRelative( const KURL& path, const TQString& mask, TQWidget *window, bool resolveSymlinks)
{
QExtFileInfo internalFileInfo;
- KURL::List r = internalFileInfo.allFilesInternal(path, tqmask, window);
+ KURL::List r = internalFileInfo.allFilesInternal(path, mask, window);
KURL::List::Iterator it;
for ( it = r.begin(); it != r.end(); ++it )
@@ -181,10 +181,10 @@ KURL::List QExtFileInfo::allFilesRelative( const KURL& path, const TQString& tqm
return r;
}
-TQDict<KFileItem> QExtFileInfo::allFilesDetailed(const KURL& path, const TQString& tqmask, TQWidget *window)
+TQDict<KFileItem> QExtFileInfo::allFilesDetailed(const KURL& path, const TQString& mask, TQWidget *window)
{
QExtFileInfo internalFileInfo;
- return internalFileInfo.allFilesDetailedInternal(path, tqmask, window);
+ return internalFileInfo.allFilesDetailedInternal(path, mask, window);
}
@@ -281,10 +281,10 @@ bool QExtFileInfo::copy( const KURL& src, const KURL& target, int permissions,
}
/** No descriptions */
-KURL::List QExtFileInfo::allFilesInternal(const KURL& startURL, const TQString& tqmask, TQWidget *window)
+KURL::List QExtFileInfo::allFilesInternal(const KURL& startURL, const TQString& mask, TQWidget *window)
{
if (startURL.isLocalFile())
- return allLocalFiles(startURL.path(-1), tqmask);
+ return allLocalFiles(startURL.path(-1), mask);
dirListItems.clear();
if (internalExists(startURL, true, window))
@@ -292,7 +292,7 @@ KURL::List QExtFileInfo::allFilesInternal(const KURL& startURL, const TQString&
lstFilters.setAutoDelete(true);
lstFilters.clear();
// Split on white space
- TQStringList list = TQStringList::split( ' ', tqmask );
+ TQStringList list = TQStringList::split( ' ', mask );
for ( TQStringList::Iterator it = list.begin(); it != list.end(); ++it )
lstFilters.append( new TQRegExp(*it, false, true ) );
@@ -320,7 +320,7 @@ KURL::List QExtFileInfo::allFilesInternal(const KURL& startURL, const TQString&
}
/** No descriptions */
-TQDict<KFileItem> QExtFileInfo::allFilesDetailedInternal(const KURL& startURL, const TQString& tqmask, TQWidget *window)
+TQDict<KFileItem> QExtFileInfo::allFilesDetailedInternal(const KURL& startURL, const TQString& mask, TQWidget *window)
{
detailedDirListItems.setAutoDelete(true);
detailedDirListItems.clear();
@@ -330,7 +330,7 @@ TQDict<KFileItem> QExtFileInfo::allFilesDetailedInternal(const KURL& startURL, c
lstFilters.setAutoDelete(true);
lstFilters.clear();
// Split on white space
- TQStringList list = TQStringList::split( ' ', tqmask );
+ TQStringList list = TQStringList::split( ' ', mask );
for ( TQStringList::Iterator it = list.begin(); it != list.end(); ++it )
lstFilters.append( new TQRegExp(*it, false, true ) );
@@ -356,10 +356,10 @@ TQDict<KFileItem> QExtFileInfo::allFilesDetailedInternal(const KURL& startURL, c
return detailedDirListItems;
}
-KURL::List QExtFileInfo::allLocalFiles(const TQString& startPath, const TQString& tqmask)
+KURL::List QExtFileInfo::allLocalFiles(const TQString& startPath, const TQString& mask)
{
KURL::List list;
- TQDir d(startPath, tqmask);
+ TQDir d(startPath, mask);
TQStringList l = d.entryList();
TQStringList::ConstIterator end = l.constEnd();
TQString path;
@@ -379,7 +379,7 @@ KURL::List QExtFileInfo::allLocalFiles(const TQString& startPath, const TQString
for (TQStringList::ConstIterator it = l.constBegin(); it != end; ++it)
{
if ((*it) != "." && (*it) != "..")
- list += allLocalFiles(startPath + "/" + (*it), tqmask);
+ list += allLocalFiles(startPath + "/" + (*it), mask);
}
return list;
}