summaryrefslogtreecommitdiffstats
path: root/kmail/kmlineeditspell.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-20 16:27:27 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-20 16:27:27 -0600
commit94273bcb909fac42ef9427e3d8a614cab8c29c66 (patch)
tree91b99186971ecb475db3ca41b1b12df24029e389 /kmail/kmlineeditspell.cpp
parent41b65d69967ad0d35f8b4dd37ac63aad1cebdae9 (diff)
downloadtdepim-94273bcb909fac42ef9427e3d8a614cab8c29c66.tar.gz
tdepim-94273bcb909fac42ef9427e3d8a614cab8c29c66.zip
Rename KABC namespace
Diffstat (limited to 'kmail/kmlineeditspell.cpp')
-rw-r--r--kmail/kmlineeditspell.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kmail/kmlineeditspell.cpp b/kmail/kmlineeditspell.cpp
index 7d26495a..20421ec9 100644
--- a/kmail/kmlineeditspell.cpp
+++ b/kmail/kmlineeditspell.cpp
@@ -91,10 +91,10 @@ void KMLineEdit::dropEvent( TQDropEvent *event )
// Case one: The user dropped a text/directory (i.e. vcard), so decode its
// contents
if ( KVCardDrag::canDecode( event ) ) {
- KABC::Addressee::List list;
+ TDEABC::Addressee::List list;
KVCardDrag::decode( event, list );
- KABC::Addressee::List::Iterator ait;
+ TDEABC::Addressee::List::Iterator ait;
for ( ait = list.begin(); ait != list.end(); ++ait ){
insertEmails( (*ait).emails() );
}
@@ -105,19 +105,19 @@ void KMLineEdit::dropEvent( TQDropEvent *event )
// and for other Urls, download the Url and assume it points to a vCard
else if ( KURLDrag::decode( event, urls ) ) {
KURL::List::Iterator it = urls.begin();
- KABC::Addressee::List list;
+ TDEABC::Addressee::List list;
for ( it = urls.begin(); it != urls.end(); ++it ) {
// First, let's deal with mailto Urls. The path() part contains the
// email-address.
if ( (*it).protocol() == "mailto" ) {
- KABC::Addressee addressee;
+ TDEABC::Addressee addressee;
addressee.insertEmail( KMail::StringUtil::decodeMailtoUrl( (*it).path() ), true /* preferred */ );
list += addressee;
}
// Otherwise, download the vCard to which the Url points
else {
- KABC::VCardConverter converter;
+ TDEABC::VCardConverter converter;
TQString fileName;
if ( TDEIO::NetAccess::download( (*it), fileName, parentWidget() ) ) {
TQFile file( fileName );
@@ -137,7 +137,7 @@ void KMLineEdit::dropEvent( TQDropEvent *event )
}
}
// Now, let the user choose which addressee to add.
- KABC::Addressee::List::Iterator ait;
+ TDEABC::Addressee::List::Iterator ait;
for ( ait = list.begin(); ait != list.end(); ++ait )
insertEmails( (*ait).emails() );
}
@@ -193,7 +193,7 @@ void KMLineEdit::loadContacts()
int weight = config.readEntry( "Recent Addresses", "10" ).toInt();
int idx = addCompletionSource( i18n( "Recent Addresses" ), weight );
for ( ; it != recent.end(); ++it ) {
- KABC::Addressee addr;
+ TDEABC::Addressee addr;
KPIM::getNameAndMail(*it, name, email);
name = KPIM::quoteNameIfNecessary( name );
if ( ( name[0] == '"' ) && ( name[name.length() - 1] == '"' ) ) {