Pimcommon
kmailcompletion.h
22 * This is used for lookup by nickname, since we don't want the nickname to appear in the final email.
23 * E.g. you have a nickname "idiot" for your boss, you want to type "idiot" but you want the completion
virtual void postProcessMatches(KCompletionMatches *matches) const
KMailCompletion allows lookup of email addresses by keyword.
Definition kmailcompletion.h:27
QString makeCompletion(const QString &string) override
uses KCompletion::makeCompletion to find email addresses which starts with string.
Definition kmailcompletion.cpp:27
void postProcessMatches(QStringList *pMatches) const override
use internal map to replace all keywords in pMatches with corresponding email addresses.
Definition kmailcompletion.cpp:80
void addItemWithKeys(const QString &email, int weight, const QStringList *keyWords)
specify keywords for email.
Definition kmailcompletion.cpp:67
void clear() override
clears internal keyword map and calls KCompletion::clear.
Definition kmailcompletion.cpp:21
Q_OBJECTQ_OBJECT
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:14:35 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:14:35 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.