summaryrefslogtreecommitdiffstats
path: root/kmail/kmlineeditspell.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:12 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:12 -0600
commitfd5d099065a748cac49e20a13481f85666c53c71 (patch)
treea0f1672cd88eb0e69b9ddc2ed9b08ecd98538bd3 /kmail/kmlineeditspell.cpp
parentb440a9c608596cd88efdb3bfa4661c5e37efbe4b (diff)
downloadtdepim-fd5d099065a748cac49e20a13481f85666c53c71.tar.gz
tdepim-fd5d099065a748cac49e20a13481f85666c53c71.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kmail/kmlineeditspell.cpp')
-rw-r--r--kmail/kmlineeditspell.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kmail/kmlineeditspell.cpp b/kmail/kmlineeditspell.cpp
index 7916c1be7..9d07a9c6b 100644
--- a/kmail/kmlineeditspell.cpp
+++ b/kmail/kmlineeditspell.cpp
@@ -75,7 +75,7 @@ void KMLineEdit::insertEmails( const TQStringList & emails )
return;
}
//multiple emails, let the user choose one
- KPopupMenu menu( this, "Addresschooser" );
+ TDEPopupMenu menu( this, "Addresschooser" );
for ( TQStringList::const_iterator it = emails.begin(), end = emails.end() ; it != end; ++it )
menu.insertItem( *it );
const int result = menu.exec( TQCursor::pos() );
@@ -164,14 +164,14 @@ TQPopupMenu *KMLineEdit::createPopupMenu()
void KMLineEdit::editRecentAddresses()
{
- KRecentAddress::RecentAddressDialog dlg( this );
- dlg.setAddresses( KRecentAddress::RecentAddresses::self( KMKernel::config() )->addresses() );
+ TDERecentAddress::RecentAddressDialog dlg( this );
+ dlg.setAddresses( TDERecentAddress::RecentAddresses::self( KMKernel::config() )->addresses() );
if ( !dlg.exec() )
return;
- KRecentAddress::RecentAddresses::self( KMKernel::config() )->clear();
+ TDERecentAddress::RecentAddresses::self( KMKernel::config() )->clear();
const TQStringList addrList = dlg.addresses();
for ( TQStringList::const_iterator it = addrList.begin(), end = addrList.end() ; it != end ; ++it )
- KRecentAddress::RecentAddresses::self( KMKernel::config() )->add( *it );
+ TDERecentAddress::RecentAddresses::self( KMKernel::config() )->add( *it );
loadContacts();
}
@@ -184,7 +184,7 @@ void KMLineEdit::loadContacts()
if ( GlobalSettings::self()->showRecentAddressesInComposer() ){
if ( KMKernel::self() ) {
TQStringList recent =
- KRecentAddress::RecentAddresses::self( KMKernel::config() )->addresses();
+ TDERecentAddress::RecentAddresses::self( KMKernel::config() )->addresses();
TQStringList::Iterator it = recent.begin();
TQString name, email;