From fd5d099065a748cac49e20a13481f85666c53c71 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:14:12 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- kmail/kmlineeditspell.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kmail/kmlineeditspell.cpp') 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; -- cgit v1.2.1