Falkon Develop
Cross-platform Qt-based web browser
AdBlockPlugin Class Reference

#include <adblockplugin.h>

Inheritance diagram for AdBlockPlugin:
PluginInterface

Public Member Functions

 AdBlockPlugin ()
 
void init (InitState state, const QString &settingsPath) override
 
void unload () override
 
bool testPlugin () override
 
void showSettings (QWidget *parent=nullptr) override
 
- Public Member Functions inherited from PluginInterface
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)
 

Additional Inherited Members

- Public Types inherited from PluginInterface
enum  InitState { StartupInitState , LateInitState }
 

Detailed Description

Definition at line 27 of file adblockplugin.h.

Constructor & Destructor Documentation

◆ AdBlockPlugin()

AdBlockPlugin::AdBlockPlugin ( )
explicit

Definition at line 32 of file adblockplugin.cpp.

Member Function Documentation

◆ init()

void AdBlockPlugin::init ( InitState  state,
const QString &  settingsPath 
)
overridevirtual

Implements PluginInterface.

Definition at line 37 of file adblockplugin.cpp.

◆ showSettings()

void AdBlockPlugin::showSettings ( QWidget *  parent = nullptr)
overridevirtual

Reimplemented from PluginInterface.

Definition at line 68 of file adblockplugin.cpp.

◆ testPlugin()

bool AdBlockPlugin::testPlugin ( )
overridevirtual

Implements PluginInterface.

Definition at line 63 of file adblockplugin.cpp.

◆ unload()

void AdBlockPlugin::unload ( )
overridevirtual

Implements PluginInterface.

Definition at line 55 of file adblockplugin.cpp.


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