summaryrefslogtreecommitdiffstats
path: root/libkcal/attachmenthandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkcal/attachmenthandler.cpp')
-rw-r--r--libkcal/attachmenthandler.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/libkcal/attachmenthandler.cpp b/libkcal/attachmenthandler.cpp
index 47ba6d1ce..20035bc58 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;