mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +01:00
Add missing override
This commit is contained in:
parent
424340e392
commit
5ce71aa6e1
|
@ -71,7 +71,7 @@ public:
|
||||||
|
|
||||||
QtLockedFile();
|
QtLockedFile();
|
||||||
QtLockedFile(const QString &name);
|
QtLockedFile(const QString &name);
|
||||||
~QtLockedFile();
|
~QtLockedFile() override;
|
||||||
|
|
||||||
bool open(OpenMode mode) override;
|
bool open(OpenMode mode) override;
|
||||||
|
|
||||||
|
|
|
@ -78,7 +78,7 @@ public:
|
||||||
};
|
};
|
||||||
|
|
||||||
explicit BrowserWindow(Qz::BrowserWindowType type, const QUrl &url = QUrl());
|
explicit BrowserWindow(Qz::BrowserWindowType type, const QUrl &url = QUrl());
|
||||||
~BrowserWindow();
|
~BrowserWindow() override;
|
||||||
|
|
||||||
void setStartTab(WebTab* tab);
|
void setStartTab(WebTab* tab);
|
||||||
void setStartPage(WebPage* page);
|
void setStartPage(WebPage* page);
|
||||||
|
|
|
@ -38,7 +38,7 @@ public:
|
||||||
|
|
||||||
explicit DatabaseEncryptedPasswordBackend();
|
explicit DatabaseEncryptedPasswordBackend();
|
||||||
|
|
||||||
~DatabaseEncryptedPasswordBackend();
|
~DatabaseEncryptedPasswordBackend() override;
|
||||||
|
|
||||||
QStringList getUsernames(const QUrl &url) override;
|
QStringList getUsernames(const QUrl &url) override;
|
||||||
QVector<PasswordEntry> getEntries(const QUrl &url) override;
|
QVector<PasswordEntry> getEntries(const QUrl &url) override;
|
||||||
|
@ -102,7 +102,7 @@ class MasterPasswordDialog : public QDialog
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit MasterPasswordDialog(DatabaseEncryptedPasswordBackend* backend, QWidget* parent = nullptr);
|
explicit MasterPasswordDialog(DatabaseEncryptedPasswordBackend* backend, QWidget* parent = nullptr);
|
||||||
~MasterPasswordDialog();
|
~MasterPasswordDialog() override;
|
||||||
|
|
||||||
void delayedExec();
|
void delayedExec();
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ class FALKON_EXPORT FirefoxImporter : public BookmarksImporter
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit FirefoxImporter(QObject* parent = nullptr);
|
explicit FirefoxImporter(QObject* parent = nullptr);
|
||||||
~FirefoxImporter();
|
~FirefoxImporter() override;
|
||||||
|
|
||||||
QString description() const override;
|
QString description() const override;
|
||||||
QString standardPath() const override;
|
QString standardPath() const override;
|
||||||
|
|
|
@ -40,7 +40,7 @@ class FALKON_EXPORT BookmarksManager : public QWidget
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit BookmarksManager(BrowserWindow* window, QWidget* parent = nullptr);
|
explicit BookmarksManager(BrowserWindow* window, QWidget* parent = nullptr);
|
||||||
~BookmarksManager();
|
~BookmarksManager() override;
|
||||||
|
|
||||||
void setMainWindow(BrowserWindow* window);
|
void setMainWindow(BrowserWindow* window);
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,7 @@ class FALKON_EXPORT CookieManager : public QDialog
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit CookieManager(QWidget *parent = nullptr);
|
explicit CookieManager(QWidget *parent = nullptr);
|
||||||
~CookieManager();
|
~CookieManager() override;
|
||||||
|
|
||||||
private Q_SLOTS:
|
private Q_SLOTS:
|
||||||
void currentItemChanged(QTreeWidgetItem* current, QTreeWidgetItem* parent);
|
void currentItemChanged(QTreeWidgetItem* current, QTreeWidgetItem* parent);
|
||||||
|
|
|
@ -48,7 +48,7 @@ public:
|
||||||
QTime remainingTime() const { return m_remTime; }
|
QTime remainingTime() const { return m_remTime; }
|
||||||
double currentSpeed() const { return m_currSpeed; }
|
double currentSpeed() const { return m_currSpeed; }
|
||||||
int progress();
|
int progress();
|
||||||
~DownloadItem();
|
~DownloadItem() override;
|
||||||
void setDownTimer(const QTime &timer) { m_downTimer = timer; }
|
void setDownTimer(const QTime &timer) { m_downTimer = timer; }
|
||||||
|
|
||||||
void startDownloading();
|
void startDownloading();
|
||||||
|
|
|
@ -60,7 +60,7 @@ public:
|
||||||
};
|
};
|
||||||
|
|
||||||
explicit DownloadManager(QWidget* parent = nullptr);
|
explicit DownloadManager(QWidget* parent = nullptr);
|
||||||
~DownloadManager();
|
~DownloadManager() override;
|
||||||
|
|
||||||
void loadSettings();
|
void loadSettings();
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,7 @@ class FALKON_EXPORT DownloadOptionsDialog : public QDialog
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit DownloadOptionsDialog(const QString &fileName, QWebEngineDownloadItem *downloadItem, QWidget* parent = nullptr);
|
explicit DownloadOptionsDialog(const QString &fileName, QWebEngineDownloadItem *downloadItem, QWidget* parent = nullptr);
|
||||||
~DownloadOptionsDialog();
|
~DownloadOptionsDialog() override;
|
||||||
|
|
||||||
void showExternalManagerOption(bool show);
|
void showExternalManagerOption(bool show);
|
||||||
void showFromLine(bool show);
|
void showFromLine(bool show);
|
||||||
|
|
|
@ -39,7 +39,7 @@ class FALKON_EXPORT HistoryManager : public QWidget
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit HistoryManager(BrowserWindow* window, QWidget* parent = nullptr);
|
explicit HistoryManager(BrowserWindow* window, QWidget* parent = nullptr);
|
||||||
~HistoryManager();
|
~HistoryManager() override;
|
||||||
|
|
||||||
void setMainWindow(BrowserWindow* window);
|
void setMainWindow(BrowserWindow* window);
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,7 @@ public:
|
||||||
void setText(const QString &text) { m_text = text; }
|
void setText(const QString &text) { m_text = text; }
|
||||||
void setTimeout(int timeout) { m_timeout = timeout; }
|
void setTimeout(int timeout) { m_timeout = timeout; }
|
||||||
void show();
|
void show();
|
||||||
~DesktopNotification();
|
~DesktopNotification() override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void mousePressEvent(QMouseEvent* e) override;
|
void mousePressEvent(QMouseEvent* e) override;
|
||||||
|
|
|
@ -36,7 +36,7 @@ class FALKON_EXPORT SearchEnginesDialog : public QDialog
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit SearchEnginesDialog(QWidget* parent = nullptr);
|
explicit SearchEnginesDialog(QWidget* parent = nullptr);
|
||||||
~SearchEnginesDialog();
|
~SearchEnginesDialog() override;
|
||||||
|
|
||||||
public Q_SLOTS:
|
public Q_SLOTS:
|
||||||
void accept() override;
|
void accept() override;
|
||||||
|
|
|
@ -36,7 +36,7 @@ class FALKON_EXPORT BrowsingLibrary : public QWidget
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit BrowsingLibrary(BrowserWindow* window, QWidget* parent = nullptr);
|
explicit BrowsingLibrary(BrowserWindow* window, QWidget* parent = nullptr);
|
||||||
~BrowsingLibrary();
|
~BrowsingLibrary() override;
|
||||||
|
|
||||||
void showHistory(BrowserWindow* window);
|
void showHistory(BrowserWindow* window);
|
||||||
void showBookmarks(BrowserWindow* window);
|
void showBookmarks(BrowserWindow* window);
|
||||||
|
|
|
@ -74,7 +74,7 @@ public:
|
||||||
Q_ENUM(ScriptWorldId)
|
Q_ENUM(ScriptWorldId)
|
||||||
|
|
||||||
explicit QmlUserScript(QObject *parent = nullptr);
|
explicit QmlUserScript(QObject *parent = nullptr);
|
||||||
~QmlUserScript();
|
~QmlUserScript() override;
|
||||||
QWebEngineScript webEngineScript() const;
|
QWebEngineScript webEngineScript() const;
|
||||||
void setWebEngineScript(const QWebEngineScript &script);
|
void setWebEngineScript(const QWebEngineScript &script);
|
||||||
Q_SIGNALS:
|
Q_SIGNALS:
|
||||||
|
|
|
@ -34,7 +34,7 @@ class FALKON_EXPORT AcceptLanguage : public QDialog
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit AcceptLanguage(QWidget* parent = nullptr);
|
explicit AcceptLanguage(QWidget* parent = nullptr);
|
||||||
~AcceptLanguage();
|
~AcceptLanguage() override;
|
||||||
|
|
||||||
static QStringList defaultLanguage();
|
static QStringList defaultLanguage();
|
||||||
static QByteArray generateHeader(const QStringList &langs);
|
static QByteArray generateHeader(const QStringList &langs);
|
||||||
|
|
|
@ -34,7 +34,7 @@ class FALKON_EXPORT JsOptions : public QDialog
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit JsOptions(QWidget* parent = nullptr);
|
explicit JsOptions(QWidget* parent = nullptr);
|
||||||
~JsOptions();
|
~JsOptions() override;
|
||||||
|
|
||||||
public Q_SLOTS:
|
public Q_SLOTS:
|
||||||
void accept() override;
|
void accept() override;
|
||||||
|
|
|
@ -44,7 +44,7 @@ class FALKON_EXPORT Preferences : public QDialog
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit Preferences(BrowserWindow* window);
|
explicit Preferences(BrowserWindow* window);
|
||||||
~Preferences();
|
~Preferences() override;
|
||||||
|
|
||||||
private Q_SLOTS:
|
private Q_SLOTS:
|
||||||
void saveSettings();
|
void saveSettings();
|
||||||
|
|
|
@ -36,7 +36,7 @@ class FALKON_EXPORT UserAgentDialog : public QDialog
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit UserAgentDialog(QWidget* parent = nullptr);
|
explicit UserAgentDialog(QWidget* parent = nullptr);
|
||||||
~UserAgentDialog();
|
~UserAgentDialog() override;
|
||||||
|
|
||||||
private Q_SLOTS:
|
private Q_SLOTS:
|
||||||
void addSite();
|
void addSite();
|
||||||
|
|
|
@ -32,7 +32,7 @@ class SessionManagerDialog : public QDialog
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit SessionManagerDialog(QWidget *parent = 0);
|
explicit SessionManagerDialog(QWidget *parent = 0);
|
||||||
~SessionManagerDialog();
|
~SessionManagerDialog() override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
enum Roles {
|
enum Roles {
|
||||||
|
|
|
@ -37,7 +37,7 @@ class FALKON_EXPORT BookmarksSidebar : public QWidget
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit BookmarksSidebar(BrowserWindow* window, QWidget* parent = nullptr);
|
explicit BookmarksSidebar(BrowserWindow* window, QWidget* parent = nullptr);
|
||||||
~BookmarksSidebar();
|
~BookmarksSidebar() override;
|
||||||
|
|
||||||
private Q_SLOTS:
|
private Q_SLOTS:
|
||||||
void bookmarkActivated(BookmarkItem* item);
|
void bookmarkActivated(BookmarkItem* item);
|
||||||
|
|
|
@ -36,7 +36,7 @@ class FALKON_EXPORT HistorySideBar : public QWidget
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit HistorySideBar(BrowserWindow* window, QWidget* parent = nullptr);
|
explicit HistorySideBar(BrowserWindow* window, QWidget* parent = nullptr);
|
||||||
~HistorySideBar();
|
~HistorySideBar() override;
|
||||||
|
|
||||||
private Q_SLOTS:
|
private Q_SLOTS:
|
||||||
void urlActivated(const QUrl &url);
|
void urlActivated(const QUrl &url);
|
||||||
|
|
|
@ -32,7 +32,7 @@ class FALKON_EXPORT TabMruModel : public QAbstractProxyModel
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit TabMruModel(BrowserWindow *window, QObject *parent = nullptr);
|
explicit TabMruModel(BrowserWindow *window, QObject *parent = nullptr);
|
||||||
~TabMruModel();
|
~TabMruModel() override;
|
||||||
|
|
||||||
QModelIndex tabIndex(WebTab *tab) const;
|
QModelIndex tabIndex(WebTab *tab) const;
|
||||||
WebTab *tab(const QModelIndex &index) const;
|
WebTab *tab(const QModelIndex &index) const;
|
||||||
|
|
|
@ -34,7 +34,7 @@ class FALKON_EXPORT TabStackedWidget : public QWidget
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
explicit TabStackedWidget(QWidget* parent = nullptr);
|
explicit TabStackedWidget(QWidget* parent = nullptr);
|
||||||
~TabStackedWidget();
|
~TabStackedWidget() override;
|
||||||
|
|
||||||
ComboTabBar* tabBar();
|
ComboTabBar* tabBar();
|
||||||
void setTabBar(ComboTabBar* tb);
|
void setTabBar(ComboTabBar* tb);
|
||||||
|
|
|
@ -33,7 +33,7 @@ class FALKON_EXPORT TabTreeModel : public QAbstractProxyModel
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit TabTreeModel(BrowserWindow *window, QObject *parent = nullptr);
|
explicit TabTreeModel(BrowserWindow *window, QObject *parent = nullptr);
|
||||||
~TabTreeModel();
|
~TabTreeModel() override;
|
||||||
|
|
||||||
QModelIndex tabIndex(WebTab *tab) const;
|
QModelIndex tabIndex(WebTab *tab) const;
|
||||||
WebTab *tab(const QModelIndex &index) const;
|
WebTab *tab(const QModelIndex &index) const;
|
||||||
|
|
|
@ -67,7 +67,7 @@ class FALKON_EXPORT TabWidget : public TabStackedWidget
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
explicit TabWidget(BrowserWindow *window, QWidget *parent = nullptr);
|
explicit TabWidget(BrowserWindow *window, QWidget *parent = nullptr);
|
||||||
~TabWidget();
|
~TabWidget() override;
|
||||||
|
|
||||||
BrowserWindow *browserWindow() const;
|
BrowserWindow *browserWindow() const;
|
||||||
|
|
||||||
|
|
|
@ -54,7 +54,7 @@ public:
|
||||||
};
|
};
|
||||||
|
|
||||||
explicit ButtonWithMenu(QWidget* parent = nullptr);
|
explicit ButtonWithMenu(QWidget* parent = nullptr);
|
||||||
~ButtonWithMenu();
|
~ButtonWithMenu() override;
|
||||||
|
|
||||||
void addItem(const Item &item);
|
void addItem(const Item &item);
|
||||||
void addItems(const QVector<Item> &items);
|
void addItems(const QVector<Item> &items);
|
||||||
|
|
|
@ -29,7 +29,7 @@ class FALKON_EXPORT WebInspector : public QWebEngineView
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit WebInspector(QWidget *parent = nullptr);
|
explicit WebInspector(QWidget *parent = nullptr);
|
||||||
~WebInspector();
|
~WebInspector() override;
|
||||||
|
|
||||||
void setView(WebView *view);
|
void setView(WebView *view);
|
||||||
void inspectElement();
|
void inspectElement();
|
||||||
|
|
|
@ -44,7 +44,7 @@ public:
|
||||||
};
|
};
|
||||||
|
|
||||||
explicit WebPage(QObject* parent = nullptr);
|
explicit WebPage(QObject* parent = nullptr);
|
||||||
~WebPage();
|
~WebPage() override;
|
||||||
|
|
||||||
WebView *view() const;
|
WebView *view() const;
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,7 @@ class FALKON_EXPORT WebView : public QWebEngineView
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit WebView(QWidget* parent = nullptr);
|
explicit WebView(QWidget* parent = nullptr);
|
||||||
~WebView();
|
~WebView() override;
|
||||||
|
|
||||||
QIcon icon(bool allowNull = false) const;
|
QIcon icon(bool allowNull = false) const;
|
||||||
QString title(bool allowEmpty = false) const;
|
QString title(bool allowEmpty = false) const;
|
||||||
|
|
|
@ -40,7 +40,7 @@ class FALKON_EXPORT SearchToolBar : public QWidget
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
explicit SearchToolBar(WebView* view, QWidget* parent = nullptr);
|
explicit SearchToolBar(WebView* view, QWidget* parent = nullptr);
|
||||||
~SearchToolBar();
|
~SearchToolBar() override;
|
||||||
|
|
||||||
void showMinimalInPopupWindow();
|
void showMinimalInPopupWindow();
|
||||||
|
|
||||||
|
|
|
@ -47,7 +47,7 @@ class AutoScroller : public QObject
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
explicit AutoScroller(const QString &settingsFile, QObject* parent = 0);
|
explicit AutoScroller(const QString &settingsFile, QObject* parent = 0);
|
||||||
~AutoScroller();
|
~AutoScroller() override;
|
||||||
|
|
||||||
bool mouseMove(QObject* obj, QMouseEvent* event);
|
bool mouseMove(QObject* obj, QMouseEvent* event);
|
||||||
bool mousePress(QObject* obj, QMouseEvent* event);
|
bool mousePress(QObject* obj, QMouseEvent* event);
|
||||||
|
|
|
@ -40,7 +40,7 @@ class FCM_Dialog : public QDialog
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit FCM_Dialog(FCM_Plugin* manager, QWidget* parent = 0);
|
explicit FCM_Dialog(FCM_Plugin* manager, QWidget* parent = 0);
|
||||||
~FCM_Dialog();
|
~FCM_Dialog() override;
|
||||||
|
|
||||||
void refreshView(bool forceReload = false);
|
void refreshView(bool forceReload = false);
|
||||||
void showPage(int index);
|
void showPage(int index);
|
||||||
|
|
|
@ -31,7 +31,7 @@ class FALKON_EXPORT KWalletPasswordBackend : public PasswordBackend
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit KWalletPasswordBackend();
|
explicit KWalletPasswordBackend();
|
||||||
~KWalletPasswordBackend();
|
~KWalletPasswordBackend() override;
|
||||||
|
|
||||||
QString name() const override;
|
QString name() const override;
|
||||||
|
|
||||||
|
|
|
@ -63,7 +63,7 @@ public:
|
||||||
* swallowed by the filter.
|
* swallowed by the filter.
|
||||||
*/
|
*/
|
||||||
QjtMouseGestureFilter(bool allowDiagonals = false, Qt::MouseButton gestureButton = Qt::RightButton, int minimumMovement = 5, double minimumMatch = 0.9, QObject* parent = 0);
|
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.
|
* Adds a gesture to the filter.
|
||||||
|
|
|
@ -14,7 +14,7 @@ class TabManagerSettings : public QDialog
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit TabManagerSettings(TabManagerPlugin* plugin, QWidget *parent = 0);
|
explicit TabManagerSettings(TabManagerPlugin* plugin, QWidget *parent = 0);
|
||||||
~TabManagerSettings();
|
~TabManagerSettings() override;
|
||||||
|
|
||||||
public Q_SLOTS:
|
public Q_SLOTS:
|
||||||
void accept() override;
|
void accept() override;
|
||||||
|
|
|
@ -66,7 +66,7 @@ public:
|
||||||
};
|
};
|
||||||
|
|
||||||
explicit TabManagerWidget(BrowserWindow* mainClass, QWidget* parent = 0, bool defaultWidget = false);
|
explicit TabManagerWidget(BrowserWindow* mainClass, QWidget* parent = 0, bool defaultWidget = false);
|
||||||
~TabManagerWidget();
|
~TabManagerWidget() override;
|
||||||
|
|
||||||
void closeSelectedTabs(const QHash<BrowserWindow*, WebTab*> &tabsHash);
|
void closeSelectedTabs(const QHash<BrowserWindow*, WebTab*> &tabsHash);
|
||||||
void detachSelectedTabs(const QHash<BrowserWindow*, WebTab*> &tabsHash);
|
void detachSelectedTabs(const QHash<BrowserWindow*, WebTab*> &tabsHash);
|
||||||
|
|
|
@ -30,7 +30,7 @@ class TabManagerWidgetController : public SideBarInterface
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
explicit TabManagerWidgetController(QObject* parent = 0);
|
explicit TabManagerWidgetController(QObject* parent = 0);
|
||||||
~TabManagerWidgetController();
|
~TabManagerWidgetController() override;
|
||||||
|
|
||||||
QString title() const override;
|
QString title() const override;
|
||||||
QAction* createMenuAction() override;
|
QAction* createMenuAction() override;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user