summaryrefslogtreecommitdiffstats
path: root/kmail/kmlineeditspell.cpp
diff options
context:
space:
mode:
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 7d26495a9..20421ec90 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] == '"' ) ) {