summaryrefslogtreecommitdiffstats
path: root/src/formatimporter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/formatimporter.cpp')
-rw-r--r--src/formatimporter.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/formatimporter.cpp b/src/formatimporter.cpp
index 00045f4..bf2feeb 100644
--- a/src/formatimporter.cpp
+++ b/src/formatimporter.cpp
@@ -58,8 +58,8 @@ bool FormatImporter::shouldImportBaskets()
void FormatImporter::copyFolder(const TQString &folder, const TQString &newFolder)
{
copyFinished = false;
- KIO::CopyJob *copyJob = KIO::copyAs(KURL(folder), KURL(newFolder), /*showProgressInfo=*/false);
- connect( copyJob, TQT_SIGNAL(result(KIO::Job*)), this, TQT_SLOT(slotCopyingDone(KIO::Job*)) );
+ TDEIO::CopyJob *copyJob = TDEIO::copyAs(KURL(folder), KURL(newFolder), /*showProgressInfo=*/false);
+ connect( copyJob, TQT_SIGNAL(result(TDEIO::Job*)), this, TQT_SLOT(slotCopyingDone(TDEIO::Job*)) );
while (!copyFinished)
kapp->processEvents();
}
@@ -67,13 +67,13 @@ void FormatImporter::copyFolder(const TQString &folder, const TQString &newFolde
void FormatImporter::moveFolder(const TQString &folder, const TQString &newFolder)
{
copyFinished = false;
- KIO::CopyJob *copyJob = KIO::moveAs(KURL(folder), KURL(newFolder), /*showProgressInfo=*/false);
- connect( copyJob, TQT_SIGNAL(result(KIO::Job*)), this, TQT_SLOT(slotCopyingDone(KIO::Job*)) );
+ TDEIO::CopyJob *copyJob = TDEIO::moveAs(KURL(folder), KURL(newFolder), /*showProgressInfo=*/false);
+ connect( copyJob, TQT_SIGNAL(result(TDEIO::Job*)), this, TQT_SLOT(slotCopyingDone(TDEIO::Job*)) );
while (!copyFinished)
kapp->processEvents();
}
-void FormatImporter::slotCopyingDone(KIO::Job *)
+void FormatImporter::slotCopyingDone(TDEIO::Job *)
{
// std::cout << "Copy finished of " + from.path() + " to " + to.path() << std::endl;
copyFinished = true;