summaryrefslogtreecommitdiffstats
path: root/libkcal/attachmenthandler.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:37:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:37:21 -0600
commit86d8364ac704bdc8ad2dfcf52307d9626cfac567 (patch)
tree97d3ac2c2f60780d9a1de4f82caac7cb27534501 /libkcal/attachmenthandler.cpp
parenta9bde819f2b421dcc44741156e75eca4bb5fb4f4 (diff)
downloadtdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.tar.gz
tdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
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;