From e54e867af243223a620f12bf260e1af9ac9f6dc5 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 25 Jan 2013 00:05:29 -0600 Subject: Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4 --- src/basket.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/basket.cpp') diff --git a/src/basket.cpp b/src/basket.cpp index 69b941e..9d9d744 100644 --- a/src/basket.cpp +++ b/src/basket.cpp @@ -4334,7 +4334,7 @@ void Basket::noteSaveAs() return; // TODO: Convert format, etc. (use NoteContent::saveAs(fileName)) - KIO::copy(url, KURL(fileName)); + TDEIO::copy(url, KURL(fileName)); } Note* Basket::selectedGroup() @@ -4606,13 +4606,13 @@ void Basket::linkLookChanged() relayoutNotes(true); } -void Basket::slotCopyingDone2(KIO::Job *job) +void Basket::slotCopyingDone2(TDEIO::Job *job) { if (job->error()) { DEBUG_WIN << "Copy finished, ERROR"; return; } - KIO::FileCopyJob *fileCopyJob = (KIO::FileCopyJob*)job; + TDEIO::FileCopyJob *fileCopyJob = (TDEIO::FileCopyJob*)job; Note *note = noteForFullPath(fileCopyJob->destURL().path()); DEBUG_WIN << "Copy finished, load note: " + fileCopyJob->destURL().path() + (note ? "" : " --- NO CORRESPONDING NOTE"); if (note != 0L) { @@ -5394,7 +5394,7 @@ bool Basket::saveToFile(const TQString& fullPath, const TQByteArray& array, TQ_U ), (openSuccess ? i18n("Please remove files on the disk %1 to let the application safely save your changes.") - .arg(KIO::findPathMountPoint(fullPath)) + .arg(TDEIO::findPathMountPoint(fullPath)) : i18n("File permissions are bad for %1. Please check that you have write access to it and the parent folders.") .arg(fullPath) ), -- cgit v1.2.1