kmailcompletion.cpp
44 // this should be in postProcessMatch, but postProcessMatch is const and will not allow nextMatch
75void KMailCompletion::addItemWithKeys( const TQString& email, int weight, const TQStringList* keyWords)
94 for ( TQStringList::ConstIterator sit ( pMatches->begin() ), sEnd( pMatches->end() ); sit != sEnd; ++sit ) {
void addItemWithKeys(const TQString &email, int weight, const TQStringList *keyWords)
Specify keywords for email.
Definition kmailcompletion.cpp:75
virtual void clear()
Clears internal keyword map and calls TDECompletion::clear.
Definition kmailcompletion.cpp:34
virtual void postProcessMatches(TQStringList *pMatches) const
Uses an internal map to replace all keywords in pMatches whith corrsesponding email addresses.
Definition kmailcompletion.cpp:86
TQString makeCompletion(const TQString &string)
Uses TDECompletion::makeCompletion to find email addresses which starts with string.
Definition kmailcompletion.cpp:40