summaryrefslogtreecommitdiffstats
path: root/quanta/dialogs/copyto.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:39:24 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:39:24 -0600
commitf9ced3b3f13f3136ef63c33ef163042010d6e80b (patch)
tree293ce93dfb0dcfd79f83674116d7b3bc56f29af2 /quanta/dialogs/copyto.cpp
parent29df04c24350cc76a41e2410d1c92445f9338b98 (diff)
downloadtdewebdev-f9ced3b3f13f3136ef63c33ef163042010d6e80b.tar.gz
tdewebdev-f9ced3b3f13f3136ef63c33ef163042010d6e80b.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'quanta/dialogs/copyto.cpp')
-rw-r--r--quanta/dialogs/copyto.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/quanta/dialogs/copyto.cpp b/quanta/dialogs/copyto.cpp
index 9f66cb11..bc2543dc 100644
--- a/quanta/dialogs/copyto.cpp
+++ b/quanta/dialogs/copyto.cpp
@@ -54,17 +54,17 @@ KURL CopyTo::copy(const KURL& urlToCopy, const KURL& destination)
KURL destURL;
if (doCopy)
{
- KIO::UDSEntry entry;
- KIO::NetAccess::stat(urlToCopy, entry, 0);
+ TDEIO::UDSEntry entry;
+ TDEIO::NetAccess::stat(urlToCopy, entry, 0);
KFileItem item(entry, urlToCopy, false, true);
destURL = targetDirURL;
destURL.setPath(destURL.path(1) + urlToCopy.fileName(false));
if (item.isDir())
destURL.adjustPath(1);
- KIO::CopyJob *job = KIO::copy(urlToCopy, destURL, true);
- connect( job, TQT_SIGNAL(result( KIO::Job *)),
- TQT_SLOT (slotResult( KIO::Job *)));
+ TDEIO::CopyJob *job = TDEIO::copy(urlToCopy, destURL, true);
+ connect( job, TQT_SIGNAL(result( TDEIO::Job *)),
+ TQT_SLOT (slotResult( TDEIO::Job *)));
TQString path = destURL.path();
if (path != "." && path != "..")
@@ -74,7 +74,7 @@ KURL CopyTo::copy(const KURL& urlToCopy, const KURL& destination)
return destURL;
}
-void CopyTo::slotResult( KIO::Job *)
+void CopyTo::slotResult( TDEIO::Job *)
{
emit addFilesToProject(m_destList);
emit deleteDialog(this);
@@ -98,14 +98,14 @@ KURL::List CopyTo::copy(const KURL::List& sourceList, const KURL& destination )
doCopy = QExtFileInfo::createDir(targetDirURL, 0L);
}
- KIO::UDSEntry entry;
+ TDEIO::UDSEntry entry;
if (doCopy)
{
TQString path;
for (uint i = 0; i < sourceList.count(); i++)
{
KURL srcURL = sourceList[i];
- KIO::NetAccess::stat(srcURL, entry, 0);
+ TDEIO::NetAccess::stat(srcURL, entry, 0);
KFileItem item(entry, srcURL, false, true);
KURL u = targetDirURL;
u.setPath(targetDirURL.path(1) + srcURL.fileName());
@@ -116,9 +116,9 @@ KURL::List CopyTo::copy(const KURL::List& sourceList, const KURL& destination )
m_destList.append(u);
}
- KIO::CopyJob *job = KIO::copy(sourceList, targetDirURL, true);
- connect( job, TQT_SIGNAL(result( KIO::Job *)),
- TQT_SLOT (slotResult( KIO::Job *)));
+ TDEIO::CopyJob *job = TDEIO::copy(sourceList, targetDirURL, true);
+ connect( job, TQT_SIGNAL(result( TDEIO::Job *)),
+ TQT_SLOT (slotResult( TDEIO::Job *)));
}
return m_destList;