From 36c36b53a129509d56fdaa0a7c9fcbcacd0c5826 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: rename the following methods: tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- quanta/project/projectupload.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'quanta/project/projectupload.cpp') diff --git a/quanta/project/projectupload.cpp b/quanta/project/projectupload.cpp index 74f59ddf..dbd21dbf 100644 --- a/quanta/project/projectupload.cpp +++ b/quanta/project/projectupload.cpp @@ -199,7 +199,7 @@ void ProjectUpload::slotBuildTree() absUrl.setPath(m_project->projectBaseURL().path(1)+u.path(-1)); /* if (!QExtFileInfo::exists(absUrl)) continue; */ - KFileItem *p_item = projectDirFiles.tqfind(absUrl.url()); + KFileItem *p_item = projectDirFiles.find(absUrl.url()); if (!p_item) continue; KFileItem item(*p_item); @@ -207,7 +207,7 @@ void ProjectUpload::slotBuildTree() if ( it != 0 ) { int uploadedTime = -1; - if (m_uploadTimeList.tqcontains(s)) + if (m_uploadTimeList.contains(s)) uploadedTime = m_uploadTimeList[s]; int modifiedTime = item.time(KIO::UDS_MODIFICATION_TIME); el.setAttribute("modified_time", modifiedTime); @@ -338,7 +338,7 @@ void ProjectUpload::startUpload() for ( uint i = 0; i < nl.count(); i++ ) { el = nl.item(i).toElement(); - if ( selectedList.tqcontains(el.attribute("url"))) + if ( selectedList.contains(el.attribute("url"))) { m_uploadTimeList[el.attribute("url")] = el.attribute("modified_time").toInt(); } @@ -362,7 +362,7 @@ void ProjectUpload::startUpload() if (!ok) return; for (it = needsConfirmation.begin(); it != needsConfirmation.end(); ++it) { - if (!confirmedList.tqcontains(((UploadTreeFile*)(*it))->url().prettyURL(0, KURL::StripFileProtocol))) + if (!confirmedList.contains(((UploadTreeFile*)(*it))->url().prettyURL(0, KURL::StripFileProtocol))) toUpload.remove(*it); } @@ -437,7 +437,7 @@ void ProjectUpload::upload() dir = to.upURL() ; } - if ( !madeDirs.tqcontains(dir) ) + if ( !madeDirs.contains(dir) ) { madeDirs.append( dir ); if (!QExtFileInfo::createDir(dir, this)) -- cgit v1.2.1