From a2bae01d006ea8053e85bc16d09a8cf40a4b0b75 Mon Sep 17 00:00:00 2001 From: tpearson Date: Fri, 17 Jun 2011 03:03:11 +0000 Subject: Fix kdewebdev FTBFS under Qt3 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1237074 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- quanta/project/projectupload.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'quanta/project/projectupload.cpp') diff --git a/quanta/project/projectupload.cpp b/quanta/project/projectupload.cpp index 52f52908..dd88ab5c 100644 --- a/quanta/project/projectupload.cpp +++ b/quanta/project/projectupload.cpp @@ -172,13 +172,13 @@ void ProjectUpload::slotBuildTree() KURL u = m_project->projectBaseURL(); if (!startUrl.isEmpty()) { - u = TQExtFileInfo::toAbsolute(startUrl, u); + u = QExtFileInfo::toAbsolute(startUrl, u); } TQDict projectDirFiles; if (startUrl.isEmpty() || strUrl.endsWith("/")) //upload a folder { - projectDirFiles = TQExtFileInfo::allFilesDetailed(u, "*", this); + projectDirFiles = QExtFileInfo::allFilesDetailed(u, "*", this); } else { projectDirFiles.insert(u.url(), new KFileItem(KFileItem::Unknown, KFileItem::Unknown, u, true)); @@ -197,7 +197,7 @@ void ProjectUpload::slotBuildTree() { QuantaCommon::setUrl(u, s); absUrl.setPath(m_project->projectBaseURL().path(1)+u.path(-1)); -/* if (!TQExtFileInfo::exists(absUrl)) +/* if (!QExtFileInfo::exists(absUrl)) continue; */ KFileItem *p_item = projectDirFiles.tqfind(absUrl.url()); if (!p_item) @@ -375,7 +375,7 @@ void ProjectUpload::startUpload() buttonUpload->setEnabled(false); KURL u = *baseUrl; u.setPath(u.protocol() == "file" ? "/" : ""); - if (TQExtFileInfo::exists(u, false, this) || (u.protocol() == "webdav" && TQExtFileInfo::exists(*baseUrl, false, this))) + if (QExtFileInfo::exists(u, false, this) || (u.protocol() == "webdav" && QExtFileInfo::exists(*baseUrl, false, this))) { upload(); return; @@ -425,7 +425,7 @@ void ProjectUpload::upload() } - KURL from = TQExtFileInfo::toAbsolute(currentURL, m_project->projectBaseURL()); + KURL from = QExtFileInfo::toAbsolute(currentURL, m_project->projectBaseURL()); to = *baseUrl; to.addPath( currentURL.path() ); if (to.fileName(false).isEmpty()) @@ -440,7 +440,7 @@ void ProjectUpload::upload() if ( !madeDirs.tqcontains(dir) ) { madeDirs.append( dir ); - if (!TQExtFileInfo::createDir(dir, this)) + if (!QExtFileInfo::createDir(dir, this)) { QuantaCommon::dirCreationError(this, KURL( dir.prettyURL(0, KURL::StripFileProtocol) )); buttonUpload->setEnabled(true); -- cgit v1.2.1