summaryrefslogtreecommitdiffstats
path: root/quanta/project/projectupload.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/project/projectupload.cpp')
-rw-r--r--quanta/project/projectupload.cpp12
1 files changed, 6 insertions, 6 deletions
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<KFileItem> 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);