summaryrefslogtreecommitdiffstats
path: root/quanta/project/projectnewlocal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/project/projectnewlocal.cpp')
-rw-r--r--quanta/project/projectnewlocal.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/quanta/project/projectnewlocal.cpp b/quanta/project/projectnewlocal.cpp
index 5a47a3db..9c81cb51 100644
--- a/quanta/project/projectnewlocal.cpp
+++ b/quanta/project/projectnewlocal.cpp
@@ -126,9 +126,9 @@ KURL::List ProjectNewLocal::projectFiles()
for ( it = list.begin(); it != list.end(); ++it )
{
name = (*it)->name();
- if (qConfig.markupMimeTypes.tqcontains(name) ||
- qConfig.scriptMimeTypes.tqcontains(name) ||
- qConfig.imageMimeTypes.tqcontains(name))
+ if (qConfig.markupMimeTypes.contains(name) ||
+ qConfig.scriptMimeTypes.contains(name) ||
+ qConfig.imageMimeTypes.contains(name))
{
TQStringList patterns = (*it)->patterns();
for (uint i = 0 ; i < patterns.count(); i++)
@@ -156,7 +156,7 @@ void ProjectNewLocal::slotSetFiles(bool)
progressBar->setTextEnabled(true);
for (uint i = 0; i < files.count(); i++)
{
- if ( !fileList.tqcontains(files[i]))
+ if ( !fileList.contains(files[i]))
{
fileList.append(files[i]);
TQListViewItem *it = listView->addItem(files[i], KFileItem(KFileItem::Unknown, KFileItem::Unknown, KURL()));
@@ -219,7 +219,7 @@ void ProjectNewLocal::slotAddFiles()
for (uint i = 0; i < list.count(); i++)
{
list[i] = QExtFileInfo::toRelative(list[i], baseURL, false);
- if (!fileList.tqcontains(list[i]))
+ if (!fileList.contains(list[i]))
{
fileList.append(list[i]);
TQListViewItem *it = listView->addItem(list[i], KFileItem(KFileItem::Unknown, KFileItem::Unknown, KURL()));
@@ -300,7 +300,7 @@ void ProjectNewLocal::slotInsertFolderAfterCopying(const KURL::List& a_urlList)
for (uint i = 0; i < files.count(); i++)
{
u = files[i];
- if ( !fileList.tqcontains(u) && u.path() != "." && u.path() != ".." )
+ if ( !fileList.contains(u) && u.path() != "." && u.path() != ".." )
{
fileList.append(u);
listView->addItem(u, KFileItem(KFileItem::Unknown, KFileItem::Unknown, KURL()));
@@ -329,7 +329,7 @@ void ProjectNewLocal::slotInsertFilesAfterCopying(const KURL::List& a_urlList)
for (it = a_urlList.begin(); it != a_urlList.end(); ++it)
{
u = QExtFileInfo::toRelative(*it, baseURL, false);
- if ( !fileList.tqcontains(u))
+ if ( !fileList.contains(u))
{
fileList.append(u);
TQListViewItem *it = listView->addItem(u, KFileItem(KFileItem::Unknown, KFileItem::Unknown, KURL()));