1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 18:56: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(); explicit AutoScrollPlugin();
DesktopFile metaData() const override; 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); bool mouseMove(const Qz::ObjectName &type, QObject *obj, QMouseEvent *event) override;
void unload(); bool mousePress(const Qz::ObjectName &type, QObject *obj, QMouseEvent *event) override;
bool testPlugin(); bool mouseRelease(const Qz::ObjectName &type, QObject *obj, QMouseEvent *event) override;
bool wheelEvent(const Qz::ObjectName &type, QObject *obj, QWheelEvent *event) override;
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);
private: private:
AutoScroller* m_scroller; AutoScroller* m_scroller;

View File

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

View File

@ -34,15 +34,13 @@ public:
explicit ImageFinderPlugin(); explicit ImageFinderPlugin();
DesktopFile metaData() const override; 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 populateWebViewMenu(QMenu *menu, WebView *view, const WebHitTestResult &r) override;
void unload();
bool testPlugin();
QTranslator *getTranslator(const QString &locale);
void showSettings(QWidget *parent = Q_NULLPTR);
void populateWebViewMenu(QMenu *menu, WebView *view, const WebHitTestResult &r);
private: private:
ImageFinder *m_finder; ImageFinder *m_finder;

View File

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

View File

@ -31,17 +31,15 @@ public:
MouseGesturesPlugin(); MouseGesturesPlugin();
DesktopFile metaData() const override; 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); bool mousePress(const Qz::ObjectName &type, QObject *obj, QMouseEvent *event) override;
void unload(); bool mouseRelease(const Qz::ObjectName &type, QObject *obj, QMouseEvent *event) override;
bool testPlugin(); bool mouseMove(const Qz::ObjectName &type, QObject *obj, QMouseEvent *event) override;
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);
private: private:
MouseGestures* m_gestures; MouseGestures* m_gestures;

View File

@ -35,16 +35,14 @@ public:
PIM_Plugin(); PIM_Plugin();
DesktopFile metaData() const override; 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 populateWebViewMenu(QMenu *menu, WebView *view, const WebHitTestResult &r) override;
void unload(); bool keyPress(const Qz::ObjectName &type, QObject *obj, QKeyEvent *event) override;
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);
private: private:
PIM_Handler* m_handler; PIM_Handler* m_handler;

View File

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

View File

@ -40,14 +40,13 @@ public:
explicit TabManagerPlugin(); explicit TabManagerPlugin();
DesktopFile metaData() const override; 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 populateExtensionsMenu(QMenu *menu) override;
void unload();
bool testPlugin();
QTranslator* getTranslator(const QString &locale);
void showSettings(QWidget* parent = 0);
void populateExtensionsMenu(QMenu* menu);
enum ViewType { enum ViewType {
ShowAsSideBar = 0, ShowAsSideBar = 0,

View File

@ -36,17 +36,14 @@ public:
explicit TestPlugin(); explicit TestPlugin();
DesktopFile metaData() const override; 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 populateWebViewMenu(QMenu *menu, WebView *view, const WebHitTestResult &r) override;
void unload(); bool mousePress(const Qz::ObjectName &type, QObject *obj, QMouseEvent *event) override;
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);
private slots: private slots:
void actionSlot(); void actionSlot();