kaddressbook
KAB::SearchManager Class Reference
List of all members.Detailed Description
Definition at line 37 of file searchmanager.h.
Public Types | |
enum | Type { StartsWith, EndsWith, Contains, Equals } |
Public Slots | |
void | reload () |
Signals | |
void | contactsUpdated () |
Public Member Functions | |
SearchManager (KABC::AddressBook *ab, QObject *parent, const char *name=0) | |
void | search (const QString &pattern, const KABC::Field::List &fields, Type type=Contains) |
KABC::Addressee::List | contacts () const |
Member Function Documentation
|
Returns the contacts which matched the last search query.
Definition at line 161 of file searchmanager.cpp. |
|
Emitted whenever the contacts have changed.
|
|
This method takes a pattern and searches for a match of the specified field of all available contacts. The result is propagated via contactsUpdated().
Definition at line 37 of file searchmanager.cpp. |
The documentation for this class was generated from the following files: