Fix missing override warnings

remotes/origin/Falkon/3.0
David Rosca 8 years ago
parent 156865804f
commit 75b072ec88
No known key found for this signature in database
GPG Key ID: EBC3FC294452C6D8
  1. 12
      src/lib/3rdparty/lineedit.h
  2. 8
      src/lib/adblock/adblockplugin.h
  3. 10
      src/lib/bookmarks/bookmarkstoolbarbutton.h
  4. 8
      src/lib/downloads/downloadmanager.h
  5. 2
      src/lib/opensearch/searchenginesdialog.h
  6. 2
      src/lib/popupwindow/popupwindow.h
  7. 14
      src/plugins/GreaseMonkey/gm_plugin.h
  8. 2
      src/plugins/VerticalTabs/tabfiltermodel.h

@ -106,7 +106,7 @@ public:
int minHeight() const;
void setMinHeight(int height);
QSize sizeHint() const;
QSize sizeHint() const override;
QAction* editAction(EditAction action) const;
public slots:
@ -114,12 +114,12 @@ public slots:
void updateTextMargins();
protected:
void focusInEvent(QFocusEvent* event);
void mousePressEvent(QMouseEvent* event);
void mouseReleaseEvent(QMouseEvent* event);
void mouseDoubleClickEvent(QMouseEvent* event);
void focusInEvent(QFocusEvent* event) override;
void mousePressEvent(QMouseEvent* event) override;
void mouseReleaseEvent(QMouseEvent* event) override;
void mouseDoubleClickEvent(QMouseEvent* event) override;
void resizeEvent(QResizeEvent *event) override;
bool event(QEvent* event);
bool event(QEvent* event) override;
QMenu* createContextMenu();

@ -28,10 +28,10 @@ class AdBlockPlugin : public QObject, public PluginInterface
public:
explicit AdBlockPlugin();
PluginSpec pluginSpec();
void init(InitState state, const QString &settingsPath);
void unload();
bool testPlugin();
PluginSpec pluginSpec() override;
void init(InitState state, const QString &settingsPath) override;
void unload() override;
bool testPlugin() override;
private:
void webPageCreated(WebPage *page);

@ -63,11 +63,11 @@ private:
void init();
QString createTooltip() const;
void enterEvent(QEvent* event);
void leaveEvent(QEvent* event);
void mousePressEvent(QMouseEvent* event);
void mouseReleaseEvent(QMouseEvent* event);
void paintEvent(QPaintEvent* event);
void enterEvent(QEvent* event) override;
void leaveEvent(QEvent* event) override;
void mousePressEvent(QMouseEvent* event) override;
void mouseReleaseEvent(QMouseEvent* event) override;
void paintEvent(QPaintEvent* event) override;
BookmarkItem* m_bookmark;
BrowserWindow* m_window;

@ -90,10 +90,10 @@ signals:
private:
void showEvent(QShowEvent *event) override;
void timerEvent(QTimerEvent* e);
void closeEvent(QCloseEvent* e);
void resizeEvent(QResizeEvent* e);
void keyPressEvent(QKeyEvent* e);
void timerEvent(QTimerEvent* e) override;
void closeEvent(QCloseEvent* e) override;
void resizeEvent(QResizeEvent* e) override;
void keyPressEvent(QKeyEvent* e) override;
void closeDownloadTab(const QUrl &url) const;

@ -39,7 +39,7 @@ public:
~SearchEnginesDialog();
public slots:
void accept();
void accept() override;
private slots:
void addEngine();

@ -59,7 +59,7 @@ private slots:
void searchOnPage();
private:
void closeEvent(QCloseEvent* event);
void closeEvent(QCloseEvent *event) override;
void resizeEvent(QResizeEvent *event) override;
PopupWebView* m_view;

@ -31,14 +31,12 @@ class GM_Plugin : public QObject, public PluginInterface
public:
explicit GM_Plugin();
PluginSpec pluginSpec();
void init(InitState state, const QString &settingsPath);
void unload();
bool testPlugin();
QTranslator* getTranslator(const QString &locale);
void showSettings(QWidget* parent = 0);
PluginSpec pluginSpec() 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 = 0) override;
bool acceptNavigationRequest(WebPage *page, const QUrl &url, QWebEnginePage::NavigationType type, bool isMainFrame) override;

@ -33,7 +33,7 @@ public:
void setRejectDropOnLastIndex(bool reject);
private:
bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const;
bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const override;
bool canDropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) const override;
enum Mode {

Loading…
Cancel
Save