Albert
Loading...
Searching...
No Matches
albert::FallbackHandler Class Referenceabstract

#include <fallbackprovider.h>

Inheritance diagram for albert::FallbackHandler:
albert::Extension

Detailed Description

Fallback providing extension.

Use this if you want to add items to the fallbacks shown if a query yielded no results

Public Member Functions

virtual std::vector< std::shared_ptr< Item > > fallbacks (const QString &) const =0
 Fallbacks provided by this handler. More...
 
- Public Member Functions inherited from albert::Extension
 Extension ()=default
 
virtual QString id () const =0
 The identifier of this extension. More...
 
virtual QString name () const =0
 Pretty, human readable name. More...
 
virtual QString description () const =0
 Brief description of this extension. More...
 

Additional Inherited Members

- Protected Member Functions inherited from albert::Extension
virtual ~Extension ()=default
 

Member Function Documentation

◆ fallbacks()

virtual std::vector< std::shared_ptr< Item > > albert::FallbackHandler::fallbacks ( const QString &  ) const
pure virtual

Fallbacks provided by this handler.


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