summaryrefslogtreecommitdiffstats
path: root/plugins/kmail/bodypartformatter/text_vcard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/kmail/bodypartformatter/text_vcard.cpp')
-rw-r--r--plugins/kmail/bodypartformatter/text_vcard.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/plugins/kmail/bodypartformatter/text_vcard.cpp b/plugins/kmail/bodypartformatter/text_vcard.cpp
index 61a254c4b..3f0f9014f 100644
--- a/plugins/kmail/bodypartformatter/text_vcard.cpp
+++ b/plugins/kmail/bodypartformatter/text_vcard.cpp
@@ -57,8 +57,8 @@ using KMail::Interface::BodyPart;
#include <tdeabc/vcardconverter.h>
#include <tdeabc/addressee.h>
-using KABC::VCardConverter;
-using KABC::Addressee;
+using TDEABC::VCardConverter;
+using TDEABC::Addressee;
#include "addresseeview.h"
using KPIM::AddresseeView;
@@ -94,10 +94,10 @@ namespace {
"</h2></div>"
);
- TQValueListIterator<KABC::Addressee> it = al.begin();
+ TQValueListIterator<TDEABC::Addressee> it = al.begin();
int count = 0;
for ( ; it != al.end(); ++it ) {
- KABC::Addressee a = (*it);
+ TDEABC::Addressee a = (*it);
if ( a.isEmpty() ) return AsIcon;
TQString contact = AddresseeView::vCardAsHTML( a, 0L, AddresseeView::NoLinks, false, AddresseeView::DefaultFields );
@@ -135,13 +135,13 @@ namespace {
#endif
int index = path.right( path.length() - path.findRev( ":" ) - 1 ).toInt();
if ( index == -1 ) return true;
- KABC::Addressee a = al[index];
+ TDEABC::Addressee a = al[index];
if ( a.isEmpty() ) return true;
KAddrBookExternal::addVCard( a, 0 );
return true;
}
- static KABC::Addressee findAddressee( BodyPart *part, const TQString &path )
+ static TDEABC::Addressee findAddressee( BodyPart *part, const TQString &path )
{
const TQString vCard = part->asText();
if ( !vCard.isEmpty() ) {
@@ -156,7 +156,7 @@ namespace {
return al[index];
}
}
- return KABC::Addressee();
+ return TDEABC::Addressee();
}
bool handleContextMenuRequest( KMail::Interface::BodyPart *part,
@@ -167,7 +167,7 @@ namespace {
if ( vCard.isEmpty() ) {
return true;
}
- KABC::Addressee a = findAddressee( part, path );
+ TDEABC::Addressee a = findAddressee( part, path );
if ( a.isEmpty() ) {
return true;
}
@@ -191,7 +191,7 @@ namespace {
TQString statusBarMessage( BodyPart *part, const TQString &path ) const
{
- KABC::Addressee a = findAddressee( part, path );
+ TDEABC::Addressee a = findAddressee( part, path );
if ( a.realName().isEmpty() ) {
return i18n( "Add this contact to the address book." );
} else {
@@ -199,7 +199,7 @@ namespace {
}
}
- bool openVCard( const KABC::Addressee &a, const TQString &vCard ) const
+ bool openVCard( const TDEABC::Addressee &a, const TQString &vCard ) const
{
Q_UNUSED( vCard );
AddresseeView *view = new AddresseeView( 0 );
@@ -214,7 +214,7 @@ namespace {
return true;
}
- bool saveAsVCard( const KABC::Addressee &a, const TQString &vCard ) const
+ bool saveAsVCard( const TDEABC::Addressee &a, const TQString &vCard ) const
{
TQString fileName = a.givenName() + '_' + a.familyName() + ".vcf";