SearchResult Class
class Core::SearchResultThe SearchResult class reports user interaction, such as the activation of a search result item. More...
Header: | #include <coreplugin/find/searchresultwindow.h> |
Inherits: | QObject |
Public Types
enum | AddMode { AddSorted, AddOrdered } |
Detailed Description
Whenever a new search is initiated via startNewSearch, an instance of this class is returned to provide the initiator with the hooks for handling user interaction.
Member Type Documentation
enum SearchResult::AddMode
This enum type specifies whether the search results should be sorted or ordered:
Constant | Value | Description |
---|---|---|
Core::SearchResult::AddSorted | 0 | The search results are sorted. |
Core::SearchResult::AddOrdered | 1 | The search results are ordered. |