HelperMatch: in expectation of the return of SearchRunner and it's merry band of mischief makers

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=786836
This commit is contained in:
Aaron J. Seigo 2008-03-18 01:39:52 +00:00
parent abf654c5c5
commit 3a411a1230

View File

@ -41,7 +41,15 @@ class PLASMA_EXPORT SearchMatch
enum Type { PossibleMatch = 0 /**< Something that may match the query */, enum Type { PossibleMatch = 0 /**< Something that may match the query */,
InformationalMatch = 50 /**< A purely informational, non-actionable match, InformationalMatch = 50 /**< A purely informational, non-actionable match,
such as the answer to a question or calculation*/, such as the answer to a question or calculation*/,
ExactMatch = 100 /**< An exact matcht to the query */}; HelperMatch = 70 /**< A match that represents an action not directly related
to activating the given search term, such as a search
in an external tool or a command learning trigger. Helper
matches tend to be generic to the query and should not
be autoactivated just because the user hits "Enter"
while typing. They must be explicitly selected to
be activated, but unlike InformationalMatch cause
an action to be triggered. */,
ExactMatch = 100 /**< An exact match to the query */};
/** /**
* Constructs a PossibleMatch associated with a given SearchContext * Constructs a PossibleMatch associated with a given SearchContext