diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:05:29 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:05:29 -0600 |
commit | e54e867af243223a620f12bf260e1af9ac9f6dc5 (patch) | |
tree | 0e741cd6800d16c390671051ae525f760d87cdb5 /src/formatimporter.cpp | |
parent | 934db26c3f8efe148a5680c22f965ee10f818a61 (diff) | |
download | basket-e54e867af243223a620f12bf260e1af9ac9f6dc5.tar.gz basket-e54e867af243223a620f12bf260e1af9ac9f6dc5.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'src/formatimporter.cpp')
-rw-r--r-- | src/formatimporter.cpp | 10 |
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; |