24 #ifndef SEARCHMANAGER_H
25 #define SEARCHMANAGER_H
30 #include <tdeabc/stdaddressbook.h>
31 #ifdef TDEPIM_NEW_DISTRLISTS
32 #include <libtdepim/distributionlist.h>
37 class SearchManager : public TQObject
50 SearchManager( TDEABC::AddressBook *ab,
51 TQObject *parent, const char *name = 0 );
62 void search( const TQString &pattern, const TDEABC::Field::List &fields, Type type = Contains );
67 TDEABC::Addressee::List contacts() const;
70 #ifdef TDEPIM_NEW_DISTRLISTS
74 void setSelectedDistributionList( const TQString &name );
79 KPIM::DistributionList::List distributionLists() const;
84 TQStringList distributionListNames() const;
91 void contactsUpdated();
97 TDEABC::Addressee::List mContacts;
98 #ifdef TDEPIM_NEW_DISTRLISTS
99 TQString mSelectedDistributionList;
100 KPIM::DistributionList::List mDistributionLists;
102 TDEABC::AddressBook *mAddressBook;
105 TDEABC::Field::List mFields;
|