diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-03-08 20:44:13 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-03-08 20:49:22 +0900 |
| commit | 03b0b804eb016e2d9ae851db960e843d0d629e0a (patch) | |
| tree | 0f3fea3adf799f6436296120999f628b54b2dbe5 /libtdepim/kaddrbook.cpp | |
| parent | 27556c799540cacccf0e520ddd93b2a527c9244f (diff) | |
| download | tdepim-03b0b804eb016e2d9ae851db960e843d0d629e0a.tar.gz tdepim-03b0b804eb016e2d9ae851db960e843d0d629e0a.zip | |
Remove use of KDE_IS_VERSION
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'libtdepim/kaddrbook.cpp')
| -rw-r--r-- | libtdepim/kaddrbook.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/libtdepim/kaddrbook.cpp b/libtdepim/kaddrbook.cpp index cb831d41..2752f95e 100644 --- a/libtdepim/kaddrbook.cpp +++ b/libtdepim/kaddrbook.cpp @@ -16,7 +16,6 @@ #include <kdebug.h> #include <tdelocale.h> #include <tdemessagebox.h> -#include <tdeversion.h> #include <tdeabc/resource.h> #include <tdeabc/stdaddressbook.h> #include <tdeabc/vcardconverter.h> @@ -45,7 +44,6 @@ void KAddrBookExternal::openEmail( const TQString &addr, TQWidget *parent ) { // if we have to reload the address book then we should also wait until // it's completely reloaded -#if KDE_IS_VERSION(3,4,89) // This ugly hack will be removed in 4.0 while ( !ab->loadingHasFinished() ) { TQApplication::eventLoop()->processEvents( TQEventLoop::ExcludeUserInput ); @@ -53,7 +51,7 @@ void KAddrBookExternal::openEmail( const TQString &addr, TQWidget *parent ) { // use sleep here to reduce cpu usage usleep( 100 ); } -#endif + // End of ugly hack TDEABC::Addressee::List addressees = ab->findByEmail( email ); @@ -98,7 +96,6 @@ void KAddrBookExternal::addEmail( const TQString& addr, TQWidget *parent) { // if we have to reload the address book then we should also wait until // it's completely reloaded -#if KDE_IS_VERSION(3,4,89) // This ugly hack will be removed in 4.0 while ( !ab->loadingHasFinished() ) { TQApplication::eventLoop()->processEvents( TQEventLoop::ExcludeUserInput ); @@ -106,7 +103,7 @@ void KAddrBookExternal::addEmail( const TQString& addr, TQWidget *parent) { // use sleep here to reduce cpu usage usleep( 100 ); } -#endif + // End of ugly hack TDEABC::Addressee::List addressees = ab->findByEmail( email ); @@ -255,7 +252,6 @@ TQString KAddrBookExternal::expandDistributionList( const TQString& listName ) TDEABC::Resource* KAddrBookExternal::selectResourceForSaving( TDEABC::AddressBook *addressBook ) { -#if KDE_IS_VERSION(3,4,89) // This ugly hack will be removed in 4.0 while ( !addressBook->loadingHasFinished() ) { TQApplication::eventLoop()->processEvents( TQEventLoop::ExcludeUserInput ); @@ -263,7 +259,7 @@ TDEABC::Resource* KAddrBookExternal::selectResourceForSaving( TDEABC::AddressBoo // use sleep here to reduce cpu usage usleep( 100 ); } -#endif + // End of ugly hack // Select a resource TQPtrList<TDEABC::Resource> tdeabcResources = addressBook->resources(); |
