34 virtual void Load (
const QUrl& url) = 0;
45 virtual void SetHtml (
const QString& html,
const QUrl& base = {}) = 0;
96Q_DECLARE_INTERFACE (
IWebWidget,
"org.Deviant.LeechCraft.IWebWidget/1.0")
97Q_DECLARE_INTERFACE (
IWebBrowser,
"org.Deviant.LeechCraft.IWebBrowser/1.0")
Base class for plugins that provide a web browser.
virtual ~IWebBrowser()=default
virtual std::unique_ptr< IWebWidget > CreateWidget() const =0
Returns the IWebWidget for use in another modules of LeechCraft.