From 86d8364ac704bdc8ad2dfcf52307d9626cfac567 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 25 Jan 2013 00:37:21 -0600 Subject: Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4 --- libkcal/attachmenthandler.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libkcal/attachmenthandler.cpp') diff --git a/libkcal/attachmenthandler.cpp b/libkcal/attachmenthandler.cpp index 47ba6d1c..20035bc5 100644 --- a/libkcal/attachmenthandler.cpp +++ b/libkcal/attachmenthandler.cpp @@ -75,7 +75,7 @@ Attachment *AttachmentHandler::find( TQWidget *parent, const TQString &attachmen } if ( a->isUri() ) { - if ( !KIO::NetAccess::exists( a->uri(), true, parent ) ) { + if ( !TDEIO::NetAccess::exists( a->uri(), true, parent ) ) { KMessageBox::sorry( parent, i18n( "The attachment \"%1\" is a web link that is inaccessible from this computer. " ). @@ -216,14 +216,14 @@ bool AttachmentHandler::saveAs( TQWidget *parent, Attachment *attachment ) bool stat = false; if ( attachment->isUri() ) { // save the attachment url - stat = KIO::NetAccess::file_copy( attachment->uri(), KURL( saveAsFile ), -1, true ); + stat = TDEIO::NetAccess::file_copy( attachment->uri(), KURL( saveAsFile ), -1, true ); } else { // put the attachment in a temporary file and save it KURL tempUrl = tempFileForAttachment( attachment ); if ( tempUrl.isValid() ) { - stat = KIO::NetAccess::file_copy( tempUrl, KURL( saveAsFile ), -1, true ); - if ( !stat && KIO::NetAccess::lastError() ) { - KMessageBox::error( parent, KIO::NetAccess::lastErrorString() ); + stat = TDEIO::NetAccess::file_copy( tempUrl, KURL( saveAsFile ), -1, true ); + if ( !stat && TDEIO::NetAccess::lastError() ) { + KMessageBox::error( parent, TDEIO::NetAccess::lastErrorString() ); } } else { stat = false; -- cgit v1.2.3