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 /kaddressbook/kablock.cpp | |
parent | 41b65d69967ad0d35f8b4dd37ac63aad1cebdae9 (diff) | |
download | tdepim-94273bcb909fac42ef9427e3d8a614cab8c29c66.tar.gz tdepim-94273bcb909fac42ef9427e3d8a614cab8c29c66.zip |
Rename KABC namespace
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 ) |