diff options
Diffstat (limited to 'kaddressbook/kablock.cpp')
-rw-r--r-- | kaddressbook/kablock.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kaddressbook/kablock.cpp b/kaddressbook/kablock.cpp index 8d36977fe..58fa19f14 100644 --- a/kaddressbook/kablock.cpp +++ b/kaddressbook/kablock.cpp @@ -29,12 +29,12 @@ #include "kablock.h" -class AddressBookWrapper : public KABC::AddressBook +class AddressBookWrapper : public TDEABC::AddressBook { public: - AddressBookWrapper( KABC::AddressBook* ); + AddressBookWrapper( TDEABC::AddressBook* ); - KABC::Resource* getStandardResource() + TDEABC::Resource* getStandardResource() { return standardResource(); } @@ -44,7 +44,7 @@ KABLock *KABLock::mSelf = 0; static KStaticDeleter<KABLock> kabLockDeleter; -KABLock::KABLock( KABC::AddressBook *ab ) +KABLock::KABLock( TDEABC::AddressBook *ab ) : mAddressBook( ab ) { } @@ -53,7 +53,7 @@ KABLock::~KABLock() { } -KABLock *KABLock::self( KABC::AddressBook *ab ) +KABLock *KABLock::self( TDEABC::AddressBook *ab ) { if ( !mSelf ) kabLockDeleter.setObject( mSelf, new KABLock( ab ) ); @@ -63,10 +63,10 @@ KABLock *KABLock::self( KABC::AddressBook *ab ) return mSelf; } -bool KABLock::lock( KABC::Resource *resource ) +bool KABLock::lock( TDEABC::Resource *resource ) { if ( mLocks.find( resource ) == mLocks.end() ) { // not locked yet - KABC::Ticket *ticket = mAddressBook->requestSaveTicket( resource ); + TDEABC::Ticket *ticket = mAddressBook->requestSaveTicket( resource ); if ( !ticket ) { return false; } else { @@ -83,7 +83,7 @@ bool KABLock::lock( KABC::Resource *resource ) return true; } -bool KABLock::unlock( KABC::Resource *resource ) +bool KABLock::unlock( TDEABC::Resource *resource ) { AddressBookWrapper *wrapper = static_cast<AddressBookWrapper*>( mAddressBook ); if ( resource == 0 ) |