summaryrefslogtreecommitdiffstats
path: root/libtdepim/kaddrbook.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libtdepim/kaddrbook.cpp')
-rw-r--r--libtdepim/kaddrbook.cpp20
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 );
}