summaryrefslogtreecommitdiffstats
path: root/quanta/project/rescanprj.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/project/rescanprj.cpp')
-rw-r--r--quanta/project/rescanprj.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/quanta/project/rescanprj.cpp b/quanta/project/rescanprj.cpp
index 1c467c7d..b24b123f 100644
--- a/quanta/project/rescanprj.cpp
+++ b/quanta/project/rescanprj.cpp
@@ -40,8 +40,8 @@
RescanPrj::RescanPrj(const ProjectList &p_prjFileList, const KURL& p_baseURL, const TQRegExp &p_excludeRx,
- TQWidget *parent, const char *name, bool modal )
- : RescanPrjDir(parent,name,modal)
+ TQWidget *tqparent, const char *name, bool modal )
+ : RescanPrjDir(tqparent,name,modal)
{
setCaption(name);
@@ -87,7 +87,7 @@ void RescanPrj::addEntries(KIO::Job *job,const KIO::UDSEntryList &list)
{
KURL url = static_cast<KIO::ListJob *>(job)->url();
url.adjustPath(-1);
- // avoid creating these QStrings again and again
+ // avoid creating these TQStrings again and again
static const TQString& dot = KGlobal::staticQString(".");
static const TQString& dotdot = KGlobal::staticQString("..");
@@ -115,7 +115,7 @@ void RescanPrj::addEntries(KIO::Job *job,const KIO::UDSEntryList &list)
else
u.setPath(linkDest);
u.adjustPath(+1);
- KURL u2 = QExtFileInfo::toRelative(u, baseURL);
+ KURL u2 = TQExtFileInfo::toRelative(u, baseURL);
bool found = false;
for (uint i = 0; i < urlList.count(); i++)
if (urlList[i].url == u2)
@@ -123,7 +123,7 @@ void RescanPrj::addEntries(KIO::Job *job,const KIO::UDSEntryList &list)
found = true;
break;
}
- if (!prjFileList.contains(u) && !found)
+ if (!prjFileList.tqcontains(u) && !found)
{
linkItems.append(new KFileItem(item));
} else
@@ -137,7 +137,7 @@ void RescanPrj::addEntries(KIO::Job *job,const KIO::UDSEntryList &list)
itemURL = item.url();
if (item.isDir())
itemURL.adjustPath(+1);
- ProjectURL *proUrl = prjFileList.find(itemURL);
+ ProjectURL *proUrl = prjFileList.tqfind(itemURL);
if (!proUrl)
{
urlEntry.url = prjFileList.toRelative(itemURL);
@@ -162,7 +162,7 @@ void RescanPrj::resizeEvent ( TQResizeEvent *t )
{
RescanPrjDir::resizeEvent(t);
// listView->setColumnWidth(0,listView->width()-listView->columnWidth(1)-20);
-// MainLayout->setGeometry(childrenRect());
+// MainLayout->setGeometry(tqchildrenRect());
}
void RescanPrj::slotSelect()
@@ -214,7 +214,7 @@ KURL::List RescanPrj::files()
}
if (!u.isEmpty())
- r.append( QExtFileInfo::toAbsolute(u, baseURL) );
+ r.append( TQExtFileInfo::toAbsolute(u, baseURL) );
}
}
return r;
@@ -227,7 +227,7 @@ void RescanPrj::slotListDone(KIO::Job *)
if (m_listJobCount == 0)
{
progressText->setText(i18n("Building tree:"));
- progressText->repaint();
+ progressText->tqrepaint();
progress->setTotalSteps(urlList.count());
progress->setValue(0);
URLListEntry urlEntry;