libkdepim
KPIM::KMailCompletion Class Reference
#include <kmailcompletion.h>
Detailed Description
KMailCompletion allows lookup of email addresses by keyword.Typically a keywods would be firstname, lastname, nickname or domain.
Definition at line 36 of file kmailcompletion.h.
Public Member Functions | |
KMailCompletion () | |
virtual void | clear () |
QString | makeCompletion (const QString &string) |
void | addItemWithKeys (const QString &email, int weight, const QStringList *keyWords) |
virtual void | postProcessMatches (QStringList *pMatches) const |
Member Function Documentation
|
Specify keywords for email. Items may be added with KCompletion::addItem, those will only be returned as match if they are in one of these formats:
Definition at line 75 of file kmailcompletion.cpp. |
|
Clears internal keyword map and calls KCompletion::clear.
Definition at line 34 of file kmailcompletion.cpp. |
|
Uses KCompletion::makeCompletion to find email addresses which starts with string. ignores keywords.
Definition at line 40 of file kmailcompletion.cpp. |
|
Uses an internal map to replace all keywords in pMatches whith corrsesponding email addresses.
Definition at line 86 of file kmailcompletion.cpp. |
The documentation for this class was generated from the following files: