Phosphor
Qt6 / Wayland library suite for window-management tools
Loading...
Searching...
No Matches
PhosphorControl::ISearchProvider Class Referenceabstract

Source of dynamic (content) search entries — rules, shaders, layouts, virtual screens, etc. More...

#include <PhosphorControl/ISearchProvider.h>

Public Member Functions

virtual ~ISearchProvider ()=default
virtual QVector< SearchEntry > searchEntries () const =0
 Current searchable entries from this source (snapshot).

Detailed Description

Source of dynamic (content) search entries — rules, shaders, layouts, virtual screens, etc.

Implemented by the consuming app and registered with SearchController. The controller calls searchEntries() lazily while (re)building its index (after an invalidate()), so implementations should cheaply snapshot their current model rather than hold the controller's index live. Static page / anchor entries do NOT use this — they go through SearchController directly.

Constructor & Destructor Documentation

◆ ~ISearchProvider()

virtual PhosphorControl::ISearchProvider::~ISearchProvider ( )
virtualdefault

Member Function Documentation

◆ searchEntries()

virtual QVector< SearchEntry > PhosphorControl::ISearchProvider::searchEntries ( ) const
pure virtual

Current searchable entries from this source (snapshot).


The documentation for this class was generated from the following file: