summaryrefslogtreecommitdiffstats
path: root/kaddressbook/searchmanager.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2026-03-22 11:58:35 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2026-03-22 11:58:35 +0900
commitef5d32c49ddf0e3536e3a1a06f8fc84e56a8f42e (patch)
tree1b2d4c4e28e640b2a5415510afe926471ebaa759 /kaddressbook/searchmanager.cpp
parentaaf564ace324cba8f96be63c505293f3f893bcd8 (diff)
downloadtdepim-master.tar.gz
tdepim-master.zip
Remove use of TDE_VERSIONHEADmaster
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kaddressbook/searchmanager.cpp')
-rw-r--r--kaddressbook/searchmanager.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/kaddressbook/searchmanager.cpp b/kaddressbook/searchmanager.cpp
index 350a4ffd..a6861d7a 100644
--- a/kaddressbook/searchmanager.cpp
+++ b/kaddressbook/searchmanager.cpp
@@ -23,7 +23,6 @@
#include <config.h> // FOR TDEPIM_NEW_DISTRLISTS
#include <tdeabc/addresseelist.h>
-#include <tdeversion.h>
#include "searchmanager.h"
@@ -44,18 +43,11 @@ void SearchManager::search( const TQString &pattern, const TDEABC::Field::List &
TDEABC::Addressee::List allContacts;
mContacts.clear();
-#if TDE_VERSION >= 319
TDEABC::AddresseeList list( mAddressBook->allAddressees() );
if ( !fields.isEmpty() )
list.sortByField( fields.first() );
allContacts = list;
-#else
- TDEABC::AddressBook::ConstIterator abIt( mAddressBook->begin() );
- const TDEABC::AddressBook::ConstIterator abEndIt( mAddressBook->end() );
- for ( ; abIt != abEndIt; ++abIt )
- allContacts.append( *abIt );
-#endif
#ifdef TDEPIM_NEW_DISTRLISTS
// Extract distribution lists from allContacts