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

#include <albert/fallbackhandler.h>

Inheritance diagram for albert::FallbackHandler:
[legend]
Collaboration diagram for albert::FallbackHandler:
[legend]

Detailed Description

Abstract fallback provider.

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.
 
- Public Member Functions inherited from albert::Extension
virtual QString id () const =0
 The identifier of this extension.
 
virtual QString name () const =0
 Pretty, human readable name.
 
virtual QString description () const =0
 Brief description of this extension.
 

Protected Member Functions

 ~FallbackHandler () override
 
- Protected Member Functions inherited from albert::Extension
virtual ~Extension ()
 

Constructor & Destructor Documentation

◆ ~FallbackHandler()

albert::FallbackHandler::~FallbackHandler ( )
overrideprotected

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: