mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-24 04:36:34 +01:00
Add missing override
This commit is contained in:
parent
424340e392
commit
5ce71aa6e1
@ -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);
|
||||
|
@ -36,7 +36,7 @@ class FALKON_EXPORT HistorySideBar : public QWidget
|
||||
|
||||
public:
|
||||
explicit HistorySideBar(BrowserWindow* window, QWidget* parent = nullptr);
|
||||
~HistorySideBar();
|
||||
~HistorySideBar() override;
|
||||
|
||||
private Q_SLOTS:
|
||||
void urlActivated(const QUrl &url);
|
||||
|
@ -32,7 +32,7 @@ class FALKON_EXPORT TabMruModel : public QAbstractProxyModel
|
||||
|
||||
public:
|
||||
explicit TabMruModel(BrowserWindow *window, QObject *parent = nullptr);
|
||||
~TabMruModel();
|
||||
~TabMruModel() override;
|
||||
|
||||
QModelIndex tabIndex(WebTab *tab) const;
|
||||
WebTab *tab(const QModelIndex &index) const;
|
||||
|
@ -34,7 +34,7 @@ class FALKON_EXPORT TabStackedWidget : public QWidget
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit TabStackedWidget(QWidget* parent = nullptr);
|
||||
~TabStackedWidget();
|
||||
~TabStackedWidget() override;
|
||||
|
||||
ComboTabBar* tabBar();
|
||||
void setTabBar(ComboTabBar* tb);
|
||||
|
@ -33,7 +33,7 @@ class FALKON_EXPORT TabTreeModel : public QAbstractProxyModel
|
||||
|
||||
public:
|
||||
explicit TabTreeModel(BrowserWindow *window, QObject *parent = nullptr);
|
||||
~TabTreeModel();
|
||||
~TabTreeModel() override;
|
||||
|
||||
QModelIndex tabIndex(WebTab *tab) const;
|
||||
WebTab *tab(const QModelIndex &index) const;
|
||||
|
@ -67,7 +67,7 @@ class FALKON_EXPORT TabWidget : public TabStackedWidget
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit TabWidget(BrowserWindow *window, QWidget *parent = nullptr);
|
||||
~TabWidget();
|
||||
~TabWidget() override;
|
||||
|
||||
BrowserWindow *browserWindow() const;
|
||||
|
||||
|
@ -54,7 +54,7 @@ public:
|
||||
};
|
||||
|
||||
explicit ButtonWithMenu(QWidget* parent = nullptr);
|
||||
~ButtonWithMenu();
|
||||
~ButtonWithMenu() override;
|
||||
|
||||
void addItem(const Item &item);
|
||||
void addItems(const QVector<Item> &items);
|
||||
|
@ -29,7 +29,7 @@ class FALKON_EXPORT WebInspector : public QWebEngineView
|
||||
|
||||
public:
|
||||
explicit WebInspector(QWidget *parent = nullptr);
|
||||
~WebInspector();
|
||||
~WebInspector() override;
|
||||
|
||||
void setView(WebView *view);
|
||||
void inspectElement();
|
||||
|
@ -44,7 +44,7 @@ public:
|
||||
};
|
||||
|
||||
explicit WebPage(QObject* parent = nullptr);
|
||||
~WebPage();
|
||||
~WebPage() override;
|
||||
|
||||
WebView *view() const;
|
||||
|
||||
|
@ -35,7 +35,7 @@ class FALKON_EXPORT WebView : public QWebEngineView
|
||||
|
||||
public:
|
||||
explicit WebView(QWidget* parent = nullptr);
|
||||
~WebView();
|
||||
~WebView() override;
|
||||
|
||||
QIcon icon(bool allowNull = false) const;
|
||||
QString title(bool allowEmpty = false) const;
|
||||
|
@ -40,7 +40,7 @@ class FALKON_EXPORT SearchToolBar : public QWidget
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit SearchToolBar(WebView* view, QWidget* parent = nullptr);
|
||||
~SearchToolBar();
|
||||
~SearchToolBar() override;
|
||||
|
||||
void showMinimalInPopupWindow();
|
||||
|
||||
|
@ -47,7 +47,7 @@ class AutoScroller : public QObject
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit AutoScroller(const QString &settingsFile, QObject* parent = 0);
|
||||
~AutoScroller();
|
||||
~AutoScroller() override;
|
||||
|
||||
bool mouseMove(QObject* obj, QMouseEvent* event);
|
||||
bool mousePress(QObject* obj, QMouseEvent* event);
|
||||
|
@ -40,7 +40,7 @@ class FCM_Dialog : public QDialog
|
||||
|
||||
public:
|
||||
explicit FCM_Dialog(FCM_Plugin* manager, QWidget* parent = 0);
|
||||
~FCM_Dialog();
|
||||
~FCM_Dialog() override;
|
||||
|
||||
void refreshView(bool forceReload = false);
|
||||
void showPage(int index);
|
||||
|
@ -31,7 +31,7 @@ class FALKON_EXPORT KWalletPasswordBackend : public PasswordBackend
|
||||
{
|
||||
public:
|
||||
explicit KWalletPasswordBackend();
|
||||
~KWalletPasswordBackend();
|
||||
~KWalletPasswordBackend() override;
|
||||
|
||||
QString name() const override;
|
||||
|
||||
|
@ -63,7 +63,7 @@ public:
|
||||
* swallowed by the filter.
|
||||
*/
|
||||
QjtMouseGestureFilter(bool allowDiagonals = false, Qt::MouseButton gestureButton = Qt::RightButton, int minimumMovement = 5, double minimumMatch = 0.9, QObject* parent = 0);
|
||||
~QjtMouseGestureFilter();
|
||||
~QjtMouseGestureFilter() override;
|
||||
|
||||
/*
|
||||
* Adds a gesture to the filter.
|
||||
|
@ -14,7 +14,7 @@ class TabManagerSettings : public QDialog
|
||||
|
||||
public:
|
||||
explicit TabManagerSettings(TabManagerPlugin* plugin, QWidget *parent = 0);
|
||||
~TabManagerSettings();
|
||||
~TabManagerSettings() override;
|
||||
|
||||
public Q_SLOTS:
|
||||
void accept() override;
|
||||
|
@ -66,7 +66,7 @@ public:
|
||||
};
|
||||
|
||||
explicit TabManagerWidget(BrowserWindow* mainClass, QWidget* parent = 0, bool defaultWidget = false);
|
||||
~TabManagerWidget();
|
||||
~TabManagerWidget() override;
|
||||
|
||||
void closeSelectedTabs(const QHash<BrowserWindow*, WebTab*> &tabsHash);
|
||||
void detachSelectedTabs(const QHash<BrowserWindow*, WebTab*> &tabsHash);
|
||||
|
@ -30,7 +30,7 @@ class TabManagerWidgetController : public SideBarInterface
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit TabManagerWidgetController(QObject* parent = 0);
|
||||
~TabManagerWidgetController();
|
||||
~TabManagerWidgetController() override;
|
||||
|
||||
QString title() const override;
|
||||
QAction* createMenuAction() override;
|
||||
|
Loading…
Reference in New Issue
Block a user