7#include <albert/export.h>
44 virtual QString
input()
const = 0;
50 virtual unsigned long long winId()
const = 0;
The interface for albert frontends.
Definition frontend.h:32
void inputChanged(QString)
virtual void setInput(const QString &)=0
Input line text setter.
virtual void setVisible(bool visible)=0
Set the visibility state of the frontend.
virtual void setQuery(Query *query)=0
The query setter.
virtual QString input() const =0
Input line text.
virtual unsigned long long winId() const =0
The native window id. Used to apply platform quirks.
void visibleChanged(bool)
virtual QWidget * createFrontendConfigWidget()=0
The config widget show in the window settings tab.
virtual bool isVisible() const =0
Visibility of the frontend.
Common query object.
Definition query.h:20
ItemRoles
Convention on the item roles passed around.
Definition frontend.h:18
@ TextRole
QString, The text.
@ SubTextRole
QString, The subtext.
@ IconUrlsRole
QStringList, Urls for icon lookup.
@ InputActionRole
QString, The tab action text.
@ ActionsListRole
QStringList, List of action names.