diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-20 16:27:27 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-20 16:27:27 -0600 |
commit | 94273bcb909fac42ef9427e3d8a614cab8c29c66 (patch) | |
tree | 91b99186971ecb475db3ca41b1b12df24029e389 /korganizer/koattendeeeditor.cpp | |
parent | 41b65d69967ad0d35f8b4dd37ac63aad1cebdae9 (diff) | |
download | tdepim-94273bcb909fac42ef9427e3d8a614cab8c29c66.tar.gz tdepim-94273bcb909fac42ef9427e3d8a614cab8c29c66.zip |
Rename KABC namespace
Diffstat (limited to 'korganizer/koattendeeeditor.cpp')
-rw-r--r-- | korganizer/koattendeeeditor.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/korganizer/koattendeeeditor.cpp b/korganizer/koattendeeeditor.cpp index 4411e9666..6345ae622 100644 --- a/korganizer/koattendeeeditor.cpp +++ b/korganizer/koattendeeeditor.cpp @@ -209,8 +209,8 @@ void KOAttendeeEditor::openAddressBook() dia->setShowCC( false ); dia->setShowBCC( false ); if ( dia->exec() ) { - KABC::Addressee::List aList = dia->allToAddressesNoDuplicates(); - for ( KABC::Addressee::List::iterator itr = aList.begin(); + TDEABC::Addressee::List aList = dia->allToAddressesNoDuplicates(); + for ( TDEABC::Addressee::List::iterator itr = aList.begin(); itr != aList.end(); ++itr ) { insertAttendeeFromAddressee( (*itr) ); } @@ -220,7 +220,7 @@ void KOAttendeeEditor::openAddressBook() #endif } -void KOAttendeeEditor::insertAttendeeFromAddressee(const KABC::Addressee &a, const Attendee * at) +void KOAttendeeEditor::insertAttendeeFromAddressee(const TDEABC::Addressee &a, const Attendee * at) { bool myself = KOPrefs::instance()->thatIsMe( a.preferredEmail() ); bool sameAsOrganizer = mOrganizerCombo && @@ -377,10 +377,10 @@ void KOAttendeeEditor::clearAttendeeInput() void KOAttendeeEditor::expandAttendee() { - KABC::Addressee::List aList = expandDistList( mNameEdit->text() ); + TDEABC::Addressee::List aList = expandDistList( mNameEdit->text() ); if ( !aList.isEmpty() ) { int index = selectedIndex(); - for ( KABC::Addressee::List::iterator itr = aList.begin(); itr != aList.end(); ++itr ) { + for ( TDEABC::Addressee::List::iterator itr = aList.begin(); itr != aList.end(); ++itr ) { insertAttendeeFromAddressee( (*itr) ); } setSelected( index ); @@ -555,32 +555,32 @@ bool KOAttendeeEditor::isExampleAttendee( const KCal::Attendee* attendee ) const return false; } -KABC::Addressee::List KOAttendeeEditor::expandDistList( const TQString &text ) const +TDEABC::Addressee::List KOAttendeeEditor::expandDistList( const TQString &text ) const { - KABC::Addressee::List aList; - KABC::AddressBook *abook = KABC::StdAddressBook::self( true ); + TDEABC::Addressee::List aList; + TDEABC::AddressBook *abook = TDEABC::StdAddressBook::self( true ); #ifdef TDEPIM_NEW_DISTRLISTS const TQValueList<KPIM::DistributionList::Entry> eList = KPIM::DistributionList::findByName( abook, text ).entries( abook ); TQValueList<KPIM::DistributionList::Entry>::ConstIterator eit; for ( eit = eList.begin(); eit != eList.end(); ++eit ) { - KABC::Addressee a = (*eit).addressee; + TDEABC::Addressee a = (*eit).addressee; if ( !a.preferredEmail().isEmpty() && aList.find( a ) == aList.end() ) { aList.append( a ) ; } } #else - KABC::DistributionListManager manager( abook ); + TDEABC::DistributionListManager manager( abook ); manager.load(); const TQStringList dList = manager.listNames(); for ( TQStringList::ConstIterator it = dList.begin(); it != dList.end(); ++it ) { if ( (*it) == text ) { - const TQValueList<KABC::DistributionList::Entry> eList = manager.list( *it )->entries(); - TQValueList<KABC::DistributionList::Entry>::ConstIterator eit; + const TQValueList<TDEABC::DistributionList::Entry> eList = manager.list( *it )->entries(); + TQValueList<TDEABC::DistributionList::Entry>::ConstIterator eit; for ( eit = eList.begin(); eit != eList.end(); ++eit ) { - KABC::Addressee a = (*eit).addressee; + TDEABC::Addressee a = (*eit).addressee; if ( !a.preferredEmail().isEmpty() && aList.find( a ) == aList.end() ) { aList.append( a ) ; } |