Falkon Develop
Cross-platform Qt-based web browser
PluginInterface Class Referenceabstract

#include <plugininterface.h>

Inheritance diagram for PluginInterface:
AdBlockPlugin AutoScrollPlugin FCM_Plugin GM_Plugin GnomeKeyringPlugin KDEFrameworksIntegrationPlugin MouseGesturesPlugin PIM_Plugin QmlPluginInterface SiteSettingsView StatusBarIconsPlugin TabManagerPlugin TestPlugin VerticalTabsPlugin

Public Types

enum  InitState { StartupInitState , LateInitState }
 

Public Member Functions

virtual ~PluginInterface ()=default
 
virtual void init (InitState state, const QString &settingsPath)=0
 
virtual void unload ()=0
 
virtual bool testPlugin ()=0
 
virtual void showSettings (QWidget *parent=nullptr)
 
virtual void populateWebViewMenu (QMenu *menu, WebView *view, const WebHitTestResult &r)
 
virtual void populateExtensionsMenu (QMenu *menu)
 
virtual bool mouseDoubleClick (Qz::ObjectName type, QObject *obj, QMouseEvent *event)
 
virtual bool mousePress (Qz::ObjectName type, QObject *obj, QMouseEvent *event)
 
virtual bool mouseRelease (Qz::ObjectName type, QObject *obj, QMouseEvent *event)
 
virtual bool mouseMove (Qz::ObjectName type, QObject *obj, QMouseEvent *event)
 
virtual bool wheelEvent (Qz::ObjectName type, QObject *obj, QWheelEvent *event)
 
virtual bool keyPress (Qz::ObjectName type, QObject *obj, QKeyEvent *event)
 
virtual bool keyRelease (Qz::ObjectName type, QObject *obj, QKeyEvent *event)
 
virtual bool acceptNavigationRequest (WebPage *page, const QUrl &url, QWebEnginePage::NavigationType type, bool isMainFrame)
 

Detailed Description

Definition at line 36 of file plugininterface.h.

Member Enumeration Documentation

◆ InitState

Enumerator
StartupInitState 
LateInitState 

Definition at line 39 of file plugininterface.h.

Constructor & Destructor Documentation

◆ ~PluginInterface()

virtual PluginInterface::~PluginInterface ( )
virtualdefault

Member Function Documentation

◆ acceptNavigationRequest()

virtual bool PluginInterface::acceptNavigationRequest ( WebPage page,
const QUrl &  url,
QWebEnginePage::NavigationType  type,
bool  isMainFrame 
)
inlinevirtual

Reimplemented in QmlPluginInterface, and GM_Plugin.

Definition at line 65 of file plugininterface.h.

◆ init()

◆ keyPress()

virtual bool PluginInterface::keyPress ( Qz::ObjectName  type,
QObject *  obj,
QKeyEvent *  event 
)
inlinevirtual

Reimplemented in QmlPluginInterface, PIM_Plugin, and VerticalTabsPlugin.

Definition at line 62 of file plugininterface.h.

◆ keyRelease()

virtual bool PluginInterface::keyRelease ( Qz::ObjectName  type,
QObject *  obj,
QKeyEvent *  event 
)
inlinevirtual

Reimplemented in QmlPluginInterface.

Definition at line 63 of file plugininterface.h.

◆ mouseDoubleClick()

virtual bool PluginInterface::mouseDoubleClick ( Qz::ObjectName  type,
QObject *  obj,
QMouseEvent *  event 
)
inlinevirtual

Reimplemented in QmlPluginInterface.

Definition at line 55 of file plugininterface.h.

◆ mouseMove()

virtual bool PluginInterface::mouseMove ( Qz::ObjectName  type,
QObject *  obj,
QMouseEvent *  event 
)
inlinevirtual

Reimplemented in QmlPluginInterface, AutoScrollPlugin, and MouseGesturesPlugin.

Definition at line 58 of file plugininterface.h.

◆ mousePress()

virtual bool PluginInterface::mousePress ( Qz::ObjectName  type,
QObject *  obj,
QMouseEvent *  event 
)
inlinevirtual

Reimplemented in QmlPluginInterface, AutoScrollPlugin, MouseGesturesPlugin, and TestPlugin.

Definition at line 56 of file plugininterface.h.

◆ mouseRelease()

virtual bool PluginInterface::mouseRelease ( Qz::ObjectName  type,
QObject *  obj,
QMouseEvent *  event 
)
inlinevirtual

Reimplemented in QmlPluginInterface, AutoScrollPlugin, and MouseGesturesPlugin.

Definition at line 57 of file plugininterface.h.

◆ populateExtensionsMenu()

virtual void PluginInterface::populateExtensionsMenu ( QMenu *  menu)
inlinevirtual

Reimplemented in FCM_Plugin, and TabManagerPlugin.

Definition at line 53 of file plugininterface.h.

◆ populateWebViewMenu()

virtual void PluginInterface::populateWebViewMenu ( QMenu *  menu,
WebView view,
const WebHitTestResult r 
)
inlinevirtual

Reimplemented in KDEFrameworksIntegrationPlugin, PIM_Plugin, TestPlugin, and QmlPluginInterface.

Definition at line 52 of file plugininterface.h.

◆ showSettings()

virtual void PluginInterface::showSettings ( QWidget *  parent = nullptr)
inlinevirtual

◆ testPlugin()

◆ unload()

◆ wheelEvent()

virtual bool PluginInterface::wheelEvent ( Qz::ObjectName  type,
QObject *  obj,
QWheelEvent *  event 
)
inlinevirtual

Reimplemented in QmlPluginInterface, and AutoScrollPlugin.

Definition at line 60 of file plugininterface.h.


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