From d46a1fe34693137bbc38a0a79593af420ea0914b Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 25 Jan 2013 00:12:44 -0600 Subject: Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4 --- libktorrent/util/fileops.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'libktorrent/util/fileops.cpp') diff --git a/libktorrent/util/fileops.cpp b/libktorrent/util/fileops.cpp index d9ef172..5aadae3 100644 --- a/libktorrent/util/fileops.cpp +++ b/libktorrent/util/fileops.cpp @@ -102,48 +102,48 @@ namespace bt void Move(const TQString & src,const TQString & dst,bool nothrow) { // Out() << "Moving " << src << " -> " << dst << endl; - if (!KIO::NetAccess::move(KURL::fromPathOrURL(src),KURL::fromPathOrURL(dst),0)) + if (!TDEIO::NetAccess::move(KURL::fromPathOrURL(src),KURL::fromPathOrURL(dst),0)) { if (!nothrow) throw Error(i18n("Cannot move %1 to %2: %3") .arg(src).arg(dst) - .arg(KIO::NetAccess::lastErrorString())); + .arg(TDEIO::NetAccess::lastErrorString())); else Out() << TQString("Error : Cannot move %1 to %2: %3") .arg(src).arg(dst) - .arg(KIO::NetAccess::lastErrorString()) << endl; + .arg(TDEIO::NetAccess::lastErrorString()) << endl; } } void CopyFile(const TQString & src,const TQString & dst,bool nothrow) { - if (!KIO::NetAccess::file_copy(KURL::fromPathOrURL(src),KURL::fromPathOrURL(dst))) + if (!TDEIO::NetAccess::file_copy(KURL::fromPathOrURL(src),KURL::fromPathOrURL(dst))) { if (!nothrow) throw Error(i18n("Cannot copy %1 to %2: %3") .arg(src).arg(dst) - .arg(KIO::NetAccess::lastErrorString())); + .arg(TDEIO::NetAccess::lastErrorString())); else Out() << TQString("Error : Cannot copy %1 to %2: %3") .arg(src).arg(dst) - .arg(KIO::NetAccess::lastErrorString()) << endl; + .arg(TDEIO::NetAccess::lastErrorString()) << endl; } } void CopyDir(const TQString & src,const TQString & dst,bool nothrow) { - if (!KIO::NetAccess::dircopy(KURL::fromPathOrURL(src),KURL::fromPathOrURL(dst),0)) + if (!TDEIO::NetAccess::dircopy(KURL::fromPathOrURL(src),KURL::fromPathOrURL(dst),0)) { if (!nothrow) throw Error(i18n("Cannot copy %1 to %2: %3") .arg(src).arg(dst) - .arg(KIO::NetAccess::lastErrorString())); + .arg(TDEIO::NetAccess::lastErrorString())); else Out() << TQString("Error : Cannot copy %1 to %2: %3") .arg(src).arg(dst) - .arg(KIO::NetAccess::lastErrorString()) << endl; + .arg(TDEIO::NetAccess::lastErrorString()) << endl; } } -- cgit v1.2.1