diff options
Diffstat (limited to 'korganizer/koeditorattachments.cpp')
-rw-r--r-- | korganizer/koeditorattachments.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/korganizer/koeditorattachments.cpp b/korganizer/koeditorattachments.cpp index cf10b9fd0..24cf57306 100644 --- a/korganizer/koeditorattachments.cpp +++ b/korganizer/koeditorattachments.cpp @@ -233,7 +233,7 @@ AttachmentEditDialog::AttachmentEditDialog( AttachmentListItem *item, uint size = item->attachment()->size(); grid->addWidget( new TQLabel( i18n( "Size:" ), topFrame ), 4, 0 ); grid->addWidget( new TQLabel( TQString::fromLatin1( "%1 (%2)" ). - arg( KIO::convertSize( size ) ). + arg( TDEIO::convertSize( size ) ). arg( TDEGlobal::locale()->formatNumber( size, 0 ) ), topFrame ), 4, 2 ); } @@ -278,7 +278,7 @@ void AttachmentEditDialog::slotApply() if ( mInline->isChecked() ) { TQString tmpFile; - if ( KIO::NetAccess::download( correctedUrl, tmpFile, this ) ) { + if ( TDEIO::NetAccess::download( correctedUrl, tmpFile, this ) ) { TQFile f( tmpFile ); if ( !f.open( IO_ReadOnly ) ) { return; @@ -287,7 +287,7 @@ void AttachmentEditDialog::slotApply() f.close(); mItem->setData( data ); } - KIO::NetAccess::removeTempFile( tmpFile ); + TDEIO::NetAccess::removeTempFile( tmpFile ); } else { mItem->setUri( url.url() ); } @@ -802,7 +802,7 @@ void KOEditorAttachments::addUriAttachment( const TQString &uri, } } else { TQString tmpFile; - if ( KIO::NetAccess::download( uri, tmpFile, this ) ) { + if ( TDEIO::NetAccess::download( uri, tmpFile, this ) ) { TQFile f( tmpFile ); if ( !f.open( IO_ReadOnly ) ) { return; @@ -811,7 +811,7 @@ void KOEditorAttachments::addUriAttachment( const TQString &uri, f.close(); addDataAttachment( data, mimeType, label ); } - KIO::NetAccess::removeTempFile( tmpFile ); + TDEIO::NetAccess::removeTempFile( tmpFile ); } } |