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

#include <albert/frontend.h>

Inherits QObject.

Detailed Description

The interface for albert frontends.

Signals

void inputChanged (QString)
 
void visibleChanged (bool)
 

Public Member Functions

virtual bool isVisible () const =0
 Visibility of the frontend.
 
virtual void setVisible (bool visible)=0
 Set the visibility state of the frontend.
 
virtual QString input () const =0
 Input line text.
 
virtual void setInput (const QString &)=0
 Input line text setter.
 
virtual unsigned long long winId () const =0
 The native window id. Used to apply platform quirks.
 
virtual QWidget * createFrontendConfigWidget ()=0
 The config widget show in the window settings tab.
 
virtual void setQuery (Query *query)=0
 The query setter.
 

Protected Member Functions

 ~Frontend () override
 

Constructor & Destructor Documentation

◆ ~Frontend()

albert::Frontend::~Frontend ( )
overrideprotected

Member Function Documentation

◆ createFrontendConfigWidget()

virtual QWidget * albert::Frontend::createFrontendConfigWidget ( )
pure virtual

The config widget show in the window settings tab.

◆ input()

virtual QString albert::Frontend::input ( ) const
pure virtual

Input line text.

◆ inputChanged

void albert::Frontend::inputChanged ( QString  )
signal

◆ isVisible()

virtual bool albert::Frontend::isVisible ( ) const
pure virtual

Visibility of the frontend.

◆ setInput()

virtual void albert::Frontend::setInput ( const QString &  )
pure virtual

Input line text setter.

◆ setQuery()

virtual void albert::Frontend::setQuery ( Query query)
pure virtual

The query setter.

◆ setVisible()

virtual void albert::Frontend::setVisible ( bool  visible)
pure virtual

Set the visibility state of the frontend.

◆ visibleChanged

void albert::Frontend::visibleChanged ( bool  )
signal

◆ winId()

virtual unsigned long long albert::Frontend::winId ( ) const
pure virtual

The native window id. Used to apply platform quirks.


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