1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 02:36:34 +01:00

Fix missing override warnings

This commit is contained in:
David Rosca 2018-02-11 20:36:06 +01:00
parent ef1f0256d3
commit 28d78cdcca
No known key found for this signature in database
GPG Key ID: EBC3FC294452C6D8
9 changed files with 58 additions and 75 deletions

View File

@ -33,18 +33,16 @@ public:
explicit AutoScrollPlugin();
DesktopFile metaData() const override;
void init(InitState state, const QString &settingsPath) override;
void unload() override;
bool testPlugin() override;
QTranslator *getTranslator(const QString &locale) override;
void showSettings(QWidget *parent) override;
void init(InitState state, const QString &settingsPath);
void unload();
bool testPlugin();
QTranslator* getTranslator(const QString &locale);
void showSettings(QWidget* parent);
bool mouseMove(const Qz::ObjectName &type, QObject* obj, QMouseEvent* event);
bool mousePress(const Qz::ObjectName &type, QObject* obj, QMouseEvent* event);
bool mouseRelease(const Qz::ObjectName &type, QObject* obj, QMouseEvent* event);
bool wheelEvent(const Qz::ObjectName &type, QObject *obj, QWheelEvent *event);
bool mouseMove(const Qz::ObjectName &type, QObject *obj, QMouseEvent *event) override;
bool mousePress(const Qz::ObjectName &type, QObject *obj, QMouseEvent *event) override;
bool mouseRelease(const Qz::ObjectName &type, QObject *obj, QMouseEvent *event) override;
bool wheelEvent(const Qz::ObjectName &type, QObject *obj, QWheelEvent *event) override;
private:
AutoScroller* m_scroller;

View File

@ -52,14 +52,13 @@ public:
explicit FCM_Plugin();
DesktopFile metaData() const override;
void init(InitState state, const QString &settingsPath) override;
void unload() override;
bool testPlugin() override;
QTranslator *getTranslator(const QString &locale) override;
void showSettings(QWidget *parent) override;
void init(InitState state, const QString &settingsPath);
void unload();
bool testPlugin();
QTranslator* getTranslator(const QString &locale);
void showSettings(QWidget* parent = 0);
void populateExtensionsMenu(QMenu* menu);
void populateExtensionsMenu(QMenu *menu) override;
void setFlashCookies(const QList<FlashCookie> &flashCookies);
QList<FlashCookie> flashCookies();

View File

@ -34,15 +34,13 @@ public:
explicit ImageFinderPlugin();
DesktopFile metaData() const override;
void init(InitState state, const QString &settingsPath) override;
void unload() override;
bool testPlugin() override;
QTranslator *getTranslator(const QString &locale) override;
void showSettings(QWidget *parent) override;
void init(InitState state, const QString &settingsPath);
void unload();
bool testPlugin();
QTranslator *getTranslator(const QString &locale);
void showSettings(QWidget *parent = Q_NULLPTR);
void populateWebViewMenu(QMenu *menu, WebView *view, const WebHitTestResult &r);
void populateWebViewMenu(QMenu *menu, WebView *view, const WebHitTestResult &r) override;
private:
ImageFinder *m_finder;

View File

@ -32,12 +32,10 @@ public:
explicit KWalletPlugin();
DesktopFile metaData() const override;
void init(InitState state, const QString &settingsPath);
void unload();
bool testPlugin();
QTranslator* getTranslator(const QString &locale);
void init(InitState state, const QString &settingsPath) override;
void unload() override;
bool testPlugin() override;
QTranslator *getTranslator(const QString &locale) override;
private:
KWalletPasswordBackend* m_backend;

View File

@ -31,17 +31,15 @@ public:
MouseGesturesPlugin();
DesktopFile metaData() const override;
void init(InitState state, const QString &settingsPath) override;
void unload() override;
bool testPlugin() override;
QTranslator *getTranslator(const QString &locale) override;
void showSettings(QWidget *parent) override;
void init(InitState state, const QString &settingsPath);
void unload();
bool testPlugin();
QTranslator* getTranslator(const QString &locale);
void showSettings(QWidget* parent = 0);
bool mousePress(const Qz::ObjectName &type, QObject* obj, QMouseEvent* event);
bool mouseRelease(const Qz::ObjectName &type, QObject* obj, QMouseEvent* event);
bool mouseMove(const Qz::ObjectName &type, QObject* obj, QMouseEvent* event);
bool mousePress(const Qz::ObjectName &type, QObject *obj, QMouseEvent *event) override;
bool mouseRelease(const Qz::ObjectName &type, QObject *obj, QMouseEvent *event) override;
bool mouseMove(const Qz::ObjectName &type, QObject *obj, QMouseEvent *event) override;
private:
MouseGestures* m_gestures;

View File

@ -35,16 +35,14 @@ public:
PIM_Plugin();
DesktopFile metaData() const override;
void init(InitState state, const QString &settingsPath) override;
void unload() override;
bool testPlugin() override;
QTranslator *getTranslator(const QString &locale) override;
void showSettings(QWidget *parent) override;
void init(InitState state, const QString &settingsPath);
void unload();
bool testPlugin();
QTranslator* getTranslator(const QString &locale);
void showSettings(QWidget* parent = 0);
void populateWebViewMenu(QMenu* menu, WebView* view, const WebHitTestResult &r);
bool keyPress(const Qz::ObjectName &type, QObject* obj, QKeyEvent* event);
void populateWebViewMenu(QMenu *menu, WebView *view, const WebHitTestResult &r) override;
bool keyPress(const Qz::ObjectName &type, QObject *obj, QKeyEvent *event) override;
private:
PIM_Handler* m_handler;

View File

@ -32,13 +32,11 @@ public:
explicit StatusBarIconsPlugin();
DesktopFile metaData() const override;
void init(InitState state, const QString &settingsPath);
void unload();
bool testPlugin();
QTranslator* getTranslator(const QString &locale);
void showSettings(QWidget* parent = 0);
void init(InitState state, const QString &settingsPath) override;
void unload() override;
bool testPlugin() override;
QTranslator *getTranslator(const QString &locale) override;
void showSettings(QWidget *parent) override;
private:
SBI_IconsManager* m_manager;

View File

@ -40,14 +40,13 @@ public:
explicit TabManagerPlugin();
DesktopFile metaData() const override;
void init(InitState state, const QString &settingsPath) override;
void unload() override;
bool testPlugin() override;
QTranslator *getTranslator(const QString &locale) override;
void showSettings(QWidget *parent) override;
void init(InitState state, const QString &settingsPath);
void unload();
bool testPlugin();
QTranslator* getTranslator(const QString &locale);
void showSettings(QWidget* parent = 0);
void populateExtensionsMenu(QMenu* menu);
void populateExtensionsMenu(QMenu *menu) override;
enum ViewType {
ShowAsSideBar = 0,

View File

@ -36,17 +36,14 @@ public:
explicit TestPlugin();
DesktopFile metaData() const override;
void init(InitState state, const QString &settingsPath) override;
void unload() override;
bool testPlugin() override;
QTranslator *getTranslator(const QString &locale) override;
void showSettings(QWidget *parent) override;
void init(InitState state, const QString &settingsPath);
void unload();
bool testPlugin();
QTranslator* getTranslator(const QString &locale);
void showSettings(QWidget* parent = 0);
void populateWebViewMenu(QMenu* menu, WebView* view, const WebHitTestResult &r);
bool mousePress(const Qz::ObjectName &type, QObject* obj, QMouseEvent* event);
void populateWebViewMenu(QMenu *menu, WebView *view, const WebHitTestResult &r) override;
bool mousePress(const Qz::ObjectName &type, QObject *obj, QMouseEvent *event) override;
private slots:
void actionSlot();