#include <albert/urlhandler.h>
Albert scheme URL handler interface.
Use this interface to register albert: URL handlers based on Extension::id. URLs with the host matching this extension's id are passed to the handle() method. E.g. the URL albert://github/?… will be redirected to the GitHub extension.
|
| virtual void | handle (const QUrl &url)=0 |
| | Handles the url received.
|
| |
| 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.
|
| |
◆ ~UrlHandler()
| albert::UrlHandler::~UrlHandler |
( |
| ) |
|
|
overrideprotected |
◆ handle()
| virtual void albert::UrlHandler::handle |
( |
const QUrl & |
url | ) |
|
|
pure virtual |
Handles the url received.
The documentation for this class was generated from the following file: