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

#include <albert/urlhandler.h>

Description

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.

Inheritance diagram for albert::UrlHandler:
[legend]

Public Member Functions

virtual void handle (const QUrl &url)=0
 Handles the url received.
 
- Public Member Functions inherited from albert::Extension
virtual QString id () const =0
 Returns the extension identifier.
 
virtual QString name () const =0
 Returns the pretty, human readable extension name.
 
virtual QString description () const =0
 Returns the brief extension description.
 

Additional Inherited Members

- Protected Member Functions inherited from albert::Extension
virtual ~Extension ()
 Destructs the extension.
 

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