Commit 5ce71aa6 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add missing override

parent 424340e3
Pipeline #196157 passed with stage
in 6 minutes and 49 seconds
......@@ -71,7 +71,7 @@ public:
QtLockedFile();
QtLockedFile(const QString &name);
~QtLockedFile();
~QtLockedFile() override;
bool open(OpenMode mode) override;
......
......@@ -78,7 +78,7 @@ public:
};
explicit BrowserWindow(Qz::BrowserWindowType type, const QUrl &url = QUrl());
~BrowserWindow();
~BrowserWindow() override;
void setStartTab(WebTab* tab);
void setStartPage(WebPage* page);
......
......@@ -38,7 +38,7 @@ public:
explicit DatabaseEncryptedPasswordBackend();
~DatabaseEncryptedPasswordBackend();
~DatabaseEncryptedPasswordBackend() override;
QStringList getUsernames(const QUrl &url) override;
QVector<PasswordEntry> getEntries(const QUrl &url) override;
......@@ -102,7 +102,7 @@ class MasterPasswordDialog : public QDialog
public:
explicit MasterPasswordDialog(DatabaseEncryptedPasswordBackend* backend, QWidget* parent = nullptr);
~MasterPasswordDialog();
~MasterPasswordDialog() override;
void delayedExec();
......
......@@ -27,7 +27,7 @@ class FALKON_EXPORT FirefoxImporter : public BookmarksImporter
{
public:
explicit FirefoxImporter(QObject* parent = nullptr);
~FirefoxImporter();
~FirefoxImporter() override;
QString description() const override;
QString standardPath() const override;
......
......@@ -40,7 +40,7 @@ class FALKON_EXPORT BookmarksManager : public QWidget
public:
explicit BookmarksManager(BrowserWindow* window, QWidget* parent = nullptr);
~BookmarksManager();
~BookmarksManager() override;
void setMainWindow(BrowserWindow* window);
......
......@@ -38,7 +38,7 @@ class FALKON_EXPORT CookieManager : public QDialog
public:
explicit CookieManager(QWidget *parent = nullptr);
~CookieManager();
~CookieManager() override;
private Q_SLOTS:
void currentItemChanged(QTreeWidgetItem* current, QTreeWidgetItem* parent);
......
......@@ -48,7 +48,7 @@ public:
QTime remainingTime() const { return m_remTime; }
double currentSpeed() const { return m_currSpeed; }
int progress();
~DownloadItem();
~DownloadItem() override;
void setDownTimer(const QTime &timer) { m_downTimer = timer; }
void startDownloading();
......
......@@ -60,7 +60,7 @@ public:
};
explicit DownloadManager(QWidget* parent = nullptr);
~DownloadManager();
~DownloadManager() override;
void loadSettings();
......
......@@ -37,7 +37,7 @@ class FALKON_EXPORT DownloadOptionsDialog : public QDialog
public:
explicit DownloadOptionsDialog(const QString &fileName, QWebEngineDownloadItem *downloadItem, QWidget* parent = nullptr);
~DownloadOptionsDialog();
~DownloadOptionsDialog() override;
void showExternalManagerOption(bool show);
void showFromLine(bool show);
......
......@@ -39,7 +39,7 @@ class FALKON_EXPORT HistoryManager : public QWidget
public:
explicit HistoryManager(BrowserWindow* window, QWidget* parent = nullptr);
~HistoryManager();
~HistoryManager() override;
void setMainWindow(BrowserWindow* window);
......
......@@ -39,7 +39,7 @@ public:
void setText(const QString &text) { m_text = text; }
void setTimeout(int timeout) { m_timeout = timeout; }
void show();
~DesktopNotification();
~DesktopNotification() override;
private:
void mousePressEvent(QMouseEvent* e) override;
......
......@@ -36,7 +36,7 @@ class FALKON_EXPORT SearchEnginesDialog : public QDialog
public:
explicit SearchEnginesDialog(QWidget* parent = nullptr);
~SearchEnginesDialog();
~SearchEnginesDialog() override;
public Q_SLOTS:
void accept() override;
......
......@@ -36,7 +36,7 @@ class FALKON_EXPORT BrowsingLibrary : public QWidget
public:
explicit BrowsingLibrary(BrowserWindow* window, QWidget* parent = nullptr);
~BrowsingLibrary();
~BrowsingLibrary() override;
void showHistory(BrowserWindow* window);
void showBookmarks(BrowserWindow* window);
......
......@@ -74,7 +74,7 @@ public:
Q_ENUM(ScriptWorldId)
explicit QmlUserScript(QObject *parent = nullptr);
~QmlUserScript();
~QmlUserScript() override;
QWebEngineScript webEngineScript() const;
void setWebEngineScript(const QWebEngineScript &script);
Q_SIGNALS:
......
......@@ -34,7 +34,7 @@ class FALKON_EXPORT AcceptLanguage : public QDialog
public:
explicit AcceptLanguage(QWidget* parent = nullptr);
~AcceptLanguage();
~AcceptLanguage() override;
static QStringList defaultLanguage();
static QByteArray generateHeader(const QStringList &langs);
......
......@@ -34,7 +34,7 @@ class FALKON_EXPORT JsOptions : public QDialog
public:
explicit JsOptions(QWidget* parent = nullptr);
~JsOptions();
~JsOptions() override;
public Q_SLOTS:
void accept() override;
......
......@@ -44,7 +44,7 @@ class FALKON_EXPORT Preferences : public QDialog
public:
explicit Preferences(BrowserWindow* window);
~Preferences();
~Preferences() override;
private Q_SLOTS:
void saveSettings();
......
......@@ -36,7 +36,7 @@ class FALKON_EXPORT UserAgentDialog : public QDialog
public:
explicit UserAgentDialog(QWidget* parent = nullptr);
~UserAgentDialog();
~UserAgentDialog() override;
private Q_SLOTS:
void addSite();
......
......@@ -32,7 +32,7 @@ class SessionManagerDialog : public QDialog
public:
explicit SessionManagerDialog(QWidget *parent = 0);
~SessionManagerDialog();
~SessionManagerDialog() override;
private:
enum Roles {
......
......@@ -37,7 +37,7 @@ class FALKON_EXPORT BookmarksSidebar : public QWidget
public:
explicit BookmarksSidebar(BrowserWindow* window, QWidget* parent = nullptr);
~BookmarksSidebar();
~BookmarksSidebar() override;
private Q_SLOTS:
void bookmarkActivated(BookmarkItem* item);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment