SearchResult Class

class Core::SearchResult

The 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:

ConstantValueDescription
Core::SearchResult::AddSorted0The search results are sorted.
Core::SearchResult::AddOrdered1The search results are ordered.