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 812b499f9..b39d5fe53 100644 --- a/korganizer/koeditorattachments.cpp +++ b/korganizer/koeditorattachments.cpp @@ -553,7 +553,7 @@ void KOEditorAttachments::handlePasteOrDrop( TQMimeSource* source ) KVCardDrag::decode( source, addressees ); for ( KABC::Addressee::List::ConstIterator it = addressees.constBegin(); it != addressees.constEnd(); ++it ) { - urls.append( KDEPIMPROTOCOL_CONTACT + ( *it ).uid() ); + urls.append( TDEPIMPROTOCOL_CONTACT + ( *it ).uid() ); // there is some weirdness about realName(), hence fromUtf8 labels.append( TQString::fromUtf8( ( *it ).realName().latin1() ) ); } @@ -788,13 +788,13 @@ void KOEditorAttachments::addUriAttachment( const TQString &uri, item->setUri( uri ); item->setLabel( label ); if ( mimeType.isEmpty() ) { - if ( uri.startsWith( KDEPIMPROTOCOL_CONTACT ) ) { + if ( uri.startsWith( TDEPIMPROTOCOL_CONTACT ) ) { item->setMimeType( "text/directory" ); - } else if ( uri.startsWith( KDEPIMPROTOCOL_EMAIL ) ) { + } else if ( uri.startsWith( TDEPIMPROTOCOL_EMAIL ) ) { item->setMimeType( "message/rfc822" ); - } else if ( uri.startsWith( KDEPIMPROTOCOL_INCIDENCE ) ) { + } else if ( uri.startsWith( TDEPIMPROTOCOL_INCIDENCE ) ) { item->setMimeType( "text/calendar" ); - } else if ( uri.startsWith( KDEPIMPROTOCOL_NEWSARTICLE ) ) { + } else if ( uri.startsWith( TDEPIMPROTOCOL_NEWSARTICLE ) ) { item->setMimeType( "message/news" ); } else { item->setMimeType( KMimeType::findByURL( uri )->name() ); |