diff options
Diffstat (limited to 'quanta/dialogs/copyto.cpp')
-rw-r--r-- | quanta/dialogs/copyto.cpp | 22 |
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; |