diff options
author | Slávek Banko <[email protected]> | 2013-09-03 20:02:55 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2013-09-03 21:02:00 +0200 |
commit | 533bad2a1503973aaf8186691422c2eda91d02d4 (patch) | |
tree | f7e52f62416048859aa9bde8425e20aac0e7c669 /libtdepim/kaddrbook.cpp | |
parent | 8144d5434bbd1c4448a37695aed6ad3d348043d8 (diff) | |
download | tdepim-533bad2a1503973aaf8186691422c2eda91d02d4.tar.gz tdepim-533bad2a1503973aaf8186691422c2eda91d02d4.zip |
Additional k => tde renaming and fixes
Diffstat (limited to 'libtdepim/kaddrbook.cpp')
-rw-r--r-- | libtdepim/kaddrbook.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/libtdepim/kaddrbook.cpp b/libtdepim/kaddrbook.cpp index 2befdded5..c0122923a 100644 --- a/libtdepim/kaddrbook.cpp +++ b/libtdepim/kaddrbook.cpp @@ -207,14 +207,14 @@ bool KAddrBookExternal::addVCard( const TDEABC::Addressee& addressee, TQWidget * bool KAddrBookExternal::addAddressee( const TDEABC::Addressee& addr ) { TDEABC::AddressBook *addressBook = TDEABC::StdAddressBook::self( true ); - TDEABC::Resource *kabcResource = selectResourceForSaving( addressBook ); - if( !kabcResource ) + TDEABC::Resource *tdeabcResource = selectResourceForSaving( addressBook ); + if( !tdeabcResource ) return false; - TDEABC::Ticket *ticket = addressBook->requestSaveTicket( kabcResource ); + TDEABC::Ticket *ticket = addressBook->requestSaveTicket( tdeabcResource ); bool saved = false; if ( ticket ) { TDEABC::Addressee addressee( addr ); - addressee.setResource( kabcResource ); + addressee.setResource( tdeabcResource ); addressBook->insertAddressee( addressee ); saved = addressBook->save( ticket ); if ( !saved ) @@ -267,15 +267,15 @@ TDEABC::Resource* KAddrBookExternal::selectResourceForSaving( TDEABC::AddressBoo #endif // Select a resource - TQPtrList<TDEABC::Resource> kabcResources = addressBook->resources(); + TQPtrList<TDEABC::Resource> tdeabcResources = addressBook->resources(); TQPtrList<KRES::Resource> kresResources; - TQPtrListIterator<TDEABC::Resource> resIt( kabcResources ); - TDEABC::Resource *kabcResource; - while ( ( kabcResource = resIt.current() ) != 0 ) { + TQPtrListIterator<TDEABC::Resource> resIt( tdeabcResources ); + TDEABC::Resource *tdeabcResource; + while ( ( tdeabcResource = resIt.current() ) != 0 ) { ++resIt; - if ( !kabcResource->readOnly() ) { - KRES::Resource *res = static_cast<KRES::Resource*>( kabcResource ); + if ( !tdeabcResource->readOnly() ) { + KRES::Resource *res = static_cast<KRES::Resource*>( tdeabcResource ); if ( res ) kresResources.append( res ); } |