mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 18:56:34 +01:00
Add some missing overrides
This commit is contained in:
parent
bf9b7667f7
commit
e4252d56ef
20
src/lib/3rdparty/fancytabwidget.h
vendored
20
src/lib/3rdparty/fancytabwidget.h
vendored
@ -58,13 +58,13 @@ class FALKON_EXPORT FancyTabProxyStyle : public QProxyStyle
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
void drawControl(ControlElement element, const QStyleOption* option,
|
void drawControl(ControlElement element, const QStyleOption* option,
|
||||||
QPainter* painter, const QWidget* widget) const;
|
QPainter* painter, const QWidget* widget) const override;
|
||||||
void polish(QWidget* widget);
|
void polish(QWidget* widget) override;
|
||||||
void polish(QApplication* app);
|
void polish(QApplication* app) override;
|
||||||
void polish(QPalette &palette);
|
void polish(QPalette &palette) override;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
bool eventFilter(QObject* o, QEvent* e);
|
bool eventFilter(QObject* o, QEvent* e) override;
|
||||||
};
|
};
|
||||||
|
|
||||||
class FALKON_EXPORT FancyTab : public QWidget
|
class FALKON_EXPORT FancyTab : public QWidget
|
||||||
@ -77,7 +77,7 @@ public:
|
|||||||
float fader() { return m_fader; }
|
float fader() { return m_fader; }
|
||||||
void setFader(float value);
|
void setFader(float value);
|
||||||
|
|
||||||
QSize sizeHint() const;
|
QSize sizeHint() const override;
|
||||||
|
|
||||||
void fadeIn();
|
void fadeIn();
|
||||||
void fadeOut();
|
void fadeOut();
|
||||||
@ -86,8 +86,8 @@ public:
|
|||||||
QString text;
|
QString text;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void enterEvent(QEvent*);
|
void enterEvent(QEvent*) override;
|
||||||
void leaveEvent(QEvent*);
|
void leaveEvent(QEvent*) override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
QPropertyAnimation animator;
|
QPropertyAnimation animator;
|
||||||
@ -200,8 +200,8 @@ Q_SIGNALS:
|
|||||||
void ModeChanged(FancyTabWidget::Mode mode);
|
void ModeChanged(FancyTabWidget::Mode mode);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void paintEvent(QPaintEvent* event);
|
void paintEvent(QPaintEvent* event) override;
|
||||||
void contextMenuEvent(QContextMenuEvent* e);
|
void contextMenuEvent(QContextMenuEvent* e) override;
|
||||||
|
|
||||||
private Q_SLOTS:
|
private Q_SLOTS:
|
||||||
void ShowWidget(int index);
|
void ShowWidget(int index);
|
||||||
|
2
src/lib/3rdparty/squeezelabelv1.h
vendored
2
src/lib/3rdparty/squeezelabelv1.h
vendored
@ -45,7 +45,7 @@ public:
|
|||||||
SqueezeLabelV1(QWidget* parent = 0);
|
SqueezeLabelV1(QWidget* parent = 0);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void paintEvent(QPaintEvent* event);
|
void paintEvent(QPaintEvent* event) override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
QString m_SqueezedTextCache;
|
QString m_SqueezedTextCache;
|
||||||
|
10
src/lib/3rdparty/squeezelabelv2.h
vendored
10
src/lib/3rdparty/squeezelabelv2.h
vendored
@ -37,12 +37,12 @@ private Q_SLOTS:
|
|||||||
void copy();
|
void copy();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void contextMenuEvent(QContextMenuEvent* event);
|
void contextMenuEvent(QContextMenuEvent* event) override;
|
||||||
void keyPressEvent(QKeyEvent* event);
|
void keyPressEvent(QKeyEvent* event) override;
|
||||||
void resizeEvent(QResizeEvent* event);
|
void resizeEvent(QResizeEvent* event) override;
|
||||||
|
|
||||||
void mousePressEvent(QMouseEvent* event);
|
void mousePressEvent(QMouseEvent* event) override;
|
||||||
void mouseMoveEvent(QMouseEvent* event);
|
void mouseMoveEvent(QMouseEvent* event) override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
QString m_originalText;
|
QString m_originalText;
|
||||||
|
@ -41,7 +41,7 @@ Q_SIGNALS:
|
|||||||
void save();
|
void save();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void timerEvent(QTimerEvent* event);
|
void timerEvent(QTimerEvent* event) override;
|
||||||
|
|
||||||
QBasicTimer m_timer;
|
QBasicTimer m_timer;
|
||||||
};
|
};
|
||||||
|
@ -180,11 +180,11 @@ private Q_SLOTS:
|
|||||||
void hideNavigationSlot();
|
void hideNavigationSlot();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
bool event(QEvent* event);
|
bool event(QEvent* event) override;
|
||||||
void resizeEvent(QResizeEvent* event);
|
void resizeEvent(QResizeEvent* event) override;
|
||||||
void keyPressEvent(QKeyEvent* event);
|
void keyPressEvent(QKeyEvent* event) override;
|
||||||
void keyReleaseEvent(QKeyEvent* event);
|
void keyReleaseEvent(QKeyEvent* event) override;
|
||||||
void closeEvent(QCloseEvent* event);
|
void closeEvent(QCloseEvent* event) override;
|
||||||
|
|
||||||
void setupUi();
|
void setupUi();
|
||||||
void setupMenu();
|
void setupMenu();
|
||||||
|
@ -37,8 +37,8 @@ private Q_SLOTS:
|
|||||||
void iconClicked();
|
void iconClicked();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void contextMenuEvent(QContextMenuEvent* ev);
|
void contextMenuEvent(QContextMenuEvent* ev) override;
|
||||||
void mousePressEvent(QMouseEvent* ev);
|
void mousePressEvent(QMouseEvent* ev) override;
|
||||||
|
|
||||||
WebView* m_view;
|
WebView* m_view;
|
||||||
|
|
||||||
|
@ -42,8 +42,8 @@ private Q_SLOTS:
|
|||||||
void iconClicked();
|
void iconClicked();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void contextMenuEvent(QContextMenuEvent* ev);
|
void contextMenuEvent(QContextMenuEvent* ev) override;
|
||||||
void mousePressEvent(QMouseEvent* ev);
|
void mousePressEvent(QMouseEvent* ev) override;
|
||||||
|
|
||||||
void setBookmarkSaved();
|
void setBookmarkSaved();
|
||||||
void setBookmarkDisabled();
|
void setBookmarkDisabled();
|
||||||
|
@ -31,7 +31,7 @@ class FALKON_EXPORT BookmarksItemDelegate : public QStyledItemDelegate
|
|||||||
public:
|
public:
|
||||||
explicit BookmarksItemDelegate(QTreeView* parent = 0);
|
explicit BookmarksItemDelegate(QTreeView* parent = 0);
|
||||||
|
|
||||||
void paint(QPainter* painter, const QStyleOptionViewItem &option, const QModelIndex &index) const;
|
void paint(QPainter* painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
QTreeView* m_tree;
|
QTreeView* m_tree;
|
||||||
|
@ -75,8 +75,8 @@ private:
|
|||||||
BookmarkItem* parentForNewBookmark() const;
|
BookmarkItem* parentForNewBookmark() const;
|
||||||
BrowserWindow* getWindow();
|
BrowserWindow* getWindow();
|
||||||
|
|
||||||
void showEvent(QShowEvent* event);
|
void showEvent(QShowEvent* event) override;
|
||||||
void keyPressEvent(QKeyEvent* event);
|
void keyPressEvent(QKeyEvent* event) override;
|
||||||
|
|
||||||
Ui::BookmarksManager* ui;
|
Ui::BookmarksManager* ui;
|
||||||
QPointer<BrowserWindow> m_window;
|
QPointer<BrowserWindow> m_window;
|
||||||
|
@ -53,20 +53,20 @@ public:
|
|||||||
void addBookmark(BookmarkItem* parent, int row, BookmarkItem* item);
|
void addBookmark(BookmarkItem* parent, int row, BookmarkItem* item);
|
||||||
void removeBookmark(BookmarkItem* item);
|
void removeBookmark(BookmarkItem* item);
|
||||||
|
|
||||||
Qt::ItemFlags flags(const QModelIndex &index) const;
|
Qt::ItemFlags flags(const QModelIndex &index) const override;
|
||||||
QVariant data(const QModelIndex &index, int role) const;
|
QVariant data(const QModelIndex &index, int role) const override;
|
||||||
QVariant headerData(int section, Qt::Orientation orientation, int role) const;
|
QVariant headerData(int section, Qt::Orientation orientation, int role) const override;
|
||||||
int rowCount(const QModelIndex &parent) const;
|
int rowCount(const QModelIndex &parent) const override;
|
||||||
int columnCount(const QModelIndex &parent) const;
|
int columnCount(const QModelIndex &parent) const override;
|
||||||
bool hasChildren(const QModelIndex &parent) const;
|
bool hasChildren(const QModelIndex &parent) const override;
|
||||||
|
|
||||||
Qt::DropActions supportedDropActions() const;
|
Qt::DropActions supportedDropActions() const override;
|
||||||
QStringList mimeTypes() const;
|
QStringList mimeTypes() const override;
|
||||||
QMimeData* mimeData(const QModelIndexList &indexes) const;
|
QMimeData* mimeData(const QModelIndexList &indexes) const override;
|
||||||
bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex &parent);
|
bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex &parent) override;
|
||||||
|
|
||||||
QModelIndex parent(const QModelIndex &child) const;
|
QModelIndex parent(const QModelIndex &child) const override;
|
||||||
QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const;
|
QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const override;
|
||||||
QModelIndex index(BookmarkItem* item, int column = 0) const;
|
QModelIndex index(BookmarkItem* item, int column = 0) const;
|
||||||
|
|
||||||
BookmarkItem* item(const QModelIndex &index) const;
|
BookmarkItem* item(const QModelIndex &index) const;
|
||||||
@ -90,7 +90,7 @@ public Q_SLOTS:
|
|||||||
void setFilterFixedString(const QString &pattern);
|
void setFilterFixedString(const QString &pattern);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const;
|
bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const override;
|
||||||
|
|
||||||
private Q_SLOTS:
|
private Q_SLOTS:
|
||||||
void startFiltering();
|
void startFiltering();
|
||||||
|
@ -57,11 +57,11 @@ private:
|
|||||||
|
|
||||||
QSize minimumSizeHint() const override;
|
QSize minimumSizeHint() const override;
|
||||||
|
|
||||||
void dropEvent(QDropEvent* e);
|
void dropEvent(QDropEvent* e) override;
|
||||||
void dragEnterEvent(QDragEnterEvent* e);
|
void dragEnterEvent(QDragEnterEvent* e) override;
|
||||||
void dragMoveEvent(QDragMoveEvent* e);
|
void dragMoveEvent(QDragMoveEvent* e) override;
|
||||||
void dragLeaveEvent(QDragLeaveEvent* e);
|
void dragLeaveEvent(QDragLeaveEvent* e) override;
|
||||||
void paintEvent(QPaintEvent* p);
|
void paintEvent(QPaintEvent* p) override;
|
||||||
|
|
||||||
BrowserWindow* m_window;
|
BrowserWindow* m_window;
|
||||||
Bookmarks* m_bookmarks;
|
Bookmarks* m_bookmarks;
|
||||||
|
@ -72,15 +72,15 @@ private Q_SLOTS:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
void restoreExpandedState(const QModelIndex &parent);
|
void restoreExpandedState(const QModelIndex &parent);
|
||||||
void rowsInserted(const QModelIndex &parent, int start, int end);
|
void rowsInserted(const QModelIndex &parent, int start, int end) override;
|
||||||
void selectionChanged(const QItemSelection &selected, const QItemSelection &deselected);
|
void selectionChanged(const QItemSelection &selected, const QItemSelection &deselected) override;
|
||||||
|
|
||||||
void contextMenuEvent(QContextMenuEvent* event);
|
void contextMenuEvent(QContextMenuEvent* event) override;
|
||||||
void mouseMoveEvent(QMouseEvent* event);
|
void mouseMoveEvent(QMouseEvent* event) override;
|
||||||
void mousePressEvent(QMouseEvent* event);
|
void mousePressEvent(QMouseEvent* event) override;
|
||||||
void mouseReleaseEvent(QMouseEvent* event);
|
void mouseReleaseEvent(QMouseEvent* event) override;
|
||||||
void mouseDoubleClickEvent(QMouseEvent* event);
|
void mouseDoubleClickEvent(QMouseEvent* event) override;
|
||||||
void keyPressEvent(QKeyEvent* event);
|
void keyPressEvent(QKeyEvent* event) override;
|
||||||
|
|
||||||
Bookmarks* m_bookmarks;
|
Bookmarks* m_bookmarks;
|
||||||
BookmarksModel* m_model;
|
BookmarksModel* m_model;
|
||||||
|
@ -58,8 +58,8 @@ private Q_SLOTS:
|
|||||||
void removeCookie(const QNetworkCookie &cookie);
|
void removeCookie(const QNetworkCookie &cookie);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void closeEvent(QCloseEvent* e);
|
void closeEvent(QCloseEvent* e) override;
|
||||||
void keyPressEvent(QKeyEvent* e);
|
void keyPressEvent(QKeyEvent* e) override;
|
||||||
|
|
||||||
void addBlacklist(const QString &server);
|
void addBlacklist(const QString &server);
|
||||||
QString cookieDomain(const QNetworkCookie &cookie) const;
|
QString cookieDomain(const QNetworkCookie &cookie) const;
|
||||||
|
@ -74,7 +74,7 @@ private Q_SLOTS:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
void updateDownloadInfo(double currSpeed, qint64 received, qint64 total);
|
void updateDownloadInfo(double currSpeed, qint64 received, qint64 total);
|
||||||
void mouseDoubleClickEvent(QMouseEvent* e);
|
void mouseDoubleClickEvent(QMouseEvent* e) override;
|
||||||
|
|
||||||
Ui::DownloadItem* ui;
|
Ui::DownloadItem* ui;
|
||||||
|
|
||||||
|
@ -47,21 +47,21 @@ public:
|
|||||||
|
|
||||||
explicit HistoryModel(History* history);
|
explicit HistoryModel(History* history);
|
||||||
|
|
||||||
QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const;
|
QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override;
|
||||||
QVariant data(const QModelIndex &index, int role) const;
|
QVariant data(const QModelIndex &index, int role) const override;
|
||||||
bool setData(const QModelIndex &index, const QVariant &value, int role);
|
bool setData(const QModelIndex &index, const QVariant &value, int role) override;
|
||||||
|
|
||||||
QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const;
|
QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const override;
|
||||||
QModelIndex parent(const QModelIndex &child) const;
|
QModelIndex parent(const QModelIndex &child) const override;
|
||||||
Qt::ItemFlags flags(const QModelIndex &index) const;
|
Qt::ItemFlags flags(const QModelIndex &index) const override;
|
||||||
|
|
||||||
int rowCount(const QModelIndex &parent = QModelIndex()) const;
|
int rowCount(const QModelIndex &parent = QModelIndex()) const override;
|
||||||
int columnCount(const QModelIndex &parent = QModelIndex()) const;
|
int columnCount(const QModelIndex &parent = QModelIndex()) const override;
|
||||||
|
|
||||||
bool canFetchMore(const QModelIndex &parent) const;
|
bool canFetchMore(const QModelIndex &parent) const override;
|
||||||
void fetchMore(const QModelIndex &parent);
|
void fetchMore(const QModelIndex &parent) override;
|
||||||
|
|
||||||
bool hasChildren(const QModelIndex &parent) const;
|
bool hasChildren(const QModelIndex &parent) const override;
|
||||||
|
|
||||||
HistoryItem* itemFromIndex(const QModelIndex &index) const;
|
HistoryItem* itemFromIndex(const QModelIndex &index) const;
|
||||||
|
|
||||||
@ -98,7 +98,7 @@ Q_SIGNALS:
|
|||||||
void collapseAllItems();
|
void collapseAllItems();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const;
|
bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const override;
|
||||||
|
|
||||||
private Q_SLOTS:
|
private Q_SLOTS:
|
||||||
void startFiltering();
|
void startFiltering();
|
||||||
|
@ -58,14 +58,14 @@ public Q_SLOTS:
|
|||||||
void removeSelectedItems();
|
void removeSelectedItems();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void contextMenuEvent(QContextMenuEvent* event);
|
void contextMenuEvent(QContextMenuEvent* event) override;
|
||||||
void mouseMoveEvent(QMouseEvent* event);
|
void mouseMoveEvent(QMouseEvent* event) override;
|
||||||
void mousePressEvent(QMouseEvent* event);
|
void mousePressEvent(QMouseEvent* event) override;
|
||||||
void mouseReleaseEvent(QMouseEvent* event);
|
void mouseReleaseEvent(QMouseEvent* event) override;
|
||||||
void mouseDoubleClickEvent(QMouseEvent* event);
|
void mouseDoubleClickEvent(QMouseEvent* event) override;
|
||||||
void keyPressEvent(QKeyEvent* event);
|
void keyPressEvent(QKeyEvent* event) override;
|
||||||
|
|
||||||
void drawRow(QPainter* painter, const QStyleOptionViewItem &options, const QModelIndex &index) const;
|
void drawRow(QPainter* painter, const QStyleOptionViewItem &options, const QModelIndex &index) const override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
History* m_history;
|
History* m_history;
|
||||||
|
@ -27,8 +27,8 @@ public:
|
|||||||
explicit DownIcon(QWidget* parent = 0);
|
explicit DownIcon(QWidget* parent = 0);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void contextMenuEvent(QContextMenuEvent* ev);
|
void contextMenuEvent(QContextMenuEvent* ev) override;
|
||||||
void mousePressEvent(QMouseEvent* ev);
|
void mousePressEvent(QMouseEvent* ev) override;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -27,8 +27,8 @@ public:
|
|||||||
explicit GoIcon(QWidget* parent = 0);
|
explicit GoIcon(QWidget* parent = 0);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void contextMenuEvent(QContextMenuEvent* ev);
|
void contextMenuEvent(QContextMenuEvent* ev) override;
|
||||||
void mousePressEvent(QMouseEvent* ev);
|
void mousePressEvent(QMouseEvent* ev) override;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -100,13 +100,13 @@ private:
|
|||||||
ProgressTop
|
ProgressTop
|
||||||
};
|
};
|
||||||
|
|
||||||
void contextMenuEvent(QContextMenuEvent* event);
|
void contextMenuEvent(QContextMenuEvent* event) override;
|
||||||
void showEvent(QShowEvent* event);
|
void showEvent(QShowEvent* event) override;
|
||||||
void focusInEvent(QFocusEvent* event);
|
void focusInEvent(QFocusEvent* event) override;
|
||||||
void focusOutEvent(QFocusEvent* event);
|
void focusOutEvent(QFocusEvent* event) override;
|
||||||
void keyPressEvent(QKeyEvent* event);
|
void keyPressEvent(QKeyEvent* event) override;
|
||||||
void dropEvent(QDropEvent* event);
|
void dropEvent(QDropEvent* event) override;
|
||||||
void paintEvent(QPaintEvent* event);
|
void paintEvent(QPaintEvent* event) override;
|
||||||
|
|
||||||
void refreshTextFormat();
|
void refreshTextFormat();
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ public:
|
|||||||
void toggleTabsOnTop(bool enable);
|
void toggleTabsOnTop(bool enable);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void paintEvent(QPaintEvent* event);
|
void paintEvent(QPaintEvent* event) override;
|
||||||
|
|
||||||
QVBoxLayout* m_layout;
|
QVBoxLayout* m_layout;
|
||||||
TabBar* m_tabBar;
|
TabBar* m_tabBar;
|
||||||
|
@ -43,10 +43,10 @@ private Q_SLOTS:
|
|||||||
void popupClosed();
|
void popupClosed();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void contextMenuEvent(QContextMenuEvent* e);
|
void contextMenuEvent(QContextMenuEvent* e) override;
|
||||||
void mousePressEvent(QMouseEvent* e);
|
void mousePressEvent(QMouseEvent* e) override;
|
||||||
void mouseReleaseEvent(QMouseEvent* e);
|
void mouseReleaseEvent(QMouseEvent* e) override;
|
||||||
void mouseMoveEvent(QMouseEvent* e);
|
void mouseMoveEvent(QMouseEvent* e) override;
|
||||||
|
|
||||||
bool showPopup();
|
bool showPopup();
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@ public:
|
|||||||
explicit WebSearchBar_Button(QWidget* parent = 0);
|
explicit WebSearchBar_Button(QWidget* parent = 0);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void contextMenuEvent(QContextMenuEvent* event);
|
void contextMenuEvent(QContextMenuEvent* event) override;
|
||||||
};
|
};
|
||||||
|
|
||||||
class FALKON_EXPORT WebSearchBar : public LineEdit
|
class FALKON_EXPORT WebSearchBar : public LineEdit
|
||||||
@ -69,11 +69,11 @@ private Q_SLOTS:
|
|||||||
void instantSearchChanged(bool);
|
void instantSearchChanged(bool);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void focusOutEvent(QFocusEvent* e);
|
void focusOutEvent(QFocusEvent* e) override;
|
||||||
void dropEvent(QDropEvent* event);
|
void dropEvent(QDropEvent* event) override;
|
||||||
void keyPressEvent(QKeyEvent* event);
|
void keyPressEvent(QKeyEvent* event) override;
|
||||||
|
|
||||||
void contextMenuEvent(QContextMenuEvent* event);
|
void contextMenuEvent(QContextMenuEvent* event) override;
|
||||||
|
|
||||||
QCompleter* m_completer;
|
QCompleter* m_completer;
|
||||||
QStringListModel* m_completerModel;
|
QStringListModel* m_completerModel;
|
||||||
|
@ -49,7 +49,7 @@ public:
|
|||||||
void shutdown();
|
void shutdown();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
QNetworkReply *createRequest(Operation op, const QNetworkRequest &request, QIODevice *outgoingData) Q_DECL_OVERRIDE;
|
QNetworkReply *createRequest(Operation op, const QNetworkRequest &request, QIODevice *outgoingData) override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
NetworkUrlInterceptor *m_urlInterceptor;
|
NetworkUrlInterceptor *m_urlInterceptor;
|
||||||
|
@ -42,8 +42,8 @@ public:
|
|||||||
~DesktopNotification();
|
~DesktopNotification();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void mousePressEvent(QMouseEvent* e);
|
void mousePressEvent(QMouseEvent* e) override;
|
||||||
void mouseMoveEvent(QMouseEvent* e);
|
void mouseMoveEvent(QMouseEvent* e) override;
|
||||||
|
|
||||||
Ui::DesktopNotification* ui;
|
Ui::DesktopNotification* ui;
|
||||||
bool m_settingPosition;
|
bool m_settingPosition;
|
||||||
|
@ -53,8 +53,8 @@ private Q_SLOTS:
|
|||||||
void exportBookmarks();
|
void exportBookmarks();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void closeEvent(QCloseEvent* e);
|
void closeEvent(QCloseEvent* e) override;
|
||||||
void keyPressEvent(QKeyEvent* e);
|
void keyPressEvent(QKeyEvent* e) override;
|
||||||
|
|
||||||
Ui::BrowsingLibrary* ui;
|
Ui::BrowsingLibrary* ui;
|
||||||
HistoryManager* m_historyManager;
|
HistoryManager* m_historyManager;
|
||||||
|
@ -44,7 +44,7 @@ private Q_SLOTS:
|
|||||||
void showCookieManager();
|
void showCookieManager();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void closeEvent(QCloseEvent* e);
|
void closeEvent(QCloseEvent* e) override;
|
||||||
|
|
||||||
void restoreState(const QByteArray &state);
|
void restoreState(const QByteArray &state);
|
||||||
QByteArray saveState();
|
QByteArray saveState();
|
||||||
|
@ -53,8 +53,8 @@ class FALKON_EXPORT IconChooserDelegate : public QStyledItemDelegate
|
|||||||
public:
|
public:
|
||||||
explicit IconChooserDelegate(QWidget* parent = 0);
|
explicit IconChooserDelegate(QWidget* parent = 0);
|
||||||
|
|
||||||
void paint(QPainter* painter, const QStyleOptionViewItem &option, const QModelIndex &index) const;
|
void paint(QPainter* painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override;
|
||||||
QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const;
|
QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const override;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // ICONCHOOSER_H
|
#endif // ICONCHOOSER_H
|
||||||
|
@ -38,10 +38,10 @@ public:
|
|||||||
void show(QWidget* widget);
|
void show(QWidget* widget);
|
||||||
void hideDelayed();
|
void hideDelayed();
|
||||||
|
|
||||||
bool eventFilter(QObject* o, QEvent* e);
|
bool eventFilter(QObject* o, QEvent* e) override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void paintEvent(QPaintEvent* ev);
|
void paintEvent(QPaintEvent* ev) override;
|
||||||
|
|
||||||
QTimer* m_timer;
|
QTimer* m_timer;
|
||||||
};
|
};
|
||||||
@ -60,7 +60,7 @@ public:
|
|||||||
void removeButton(AbstractButtonInterface *button);
|
void removeButton(AbstractButtonInterface *button);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void mousePressEvent(QMouseEvent *event);
|
void mousePressEvent(QMouseEvent *event) override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
BrowserWindow *m_window;
|
BrowserWindow *m_window;
|
||||||
|
Loading…
Reference in New Issue
Block a user