summaryrefslogtreecommitdiffstats
path: root/src/formatimporter.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:05:29 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:05:29 -0600
commite54e867af243223a620f12bf260e1af9ac9f6dc5 (patch)
tree0e741cd6800d16c390671051ae525f760d87cdb5 /src/formatimporter.cpp
parent934db26c3f8efe148a5680c22f965ee10f818a61 (diff)
downloadbasket-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.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;