mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-24 04:36:34 +01:00
Fix missing override warnings
This commit is contained in:
parent
156865804f
commit
75b072ec88
12
src/lib/3rdparty/lineedit.h
vendored
12
src/lib/3rdparty/lineedit.h
vendored
@ -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…
Reference in New Issue
Block a user