summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Montel <[email protected]>2018-02-26 08:16:27 +0100
committerLaurent Montel <[email protected]>2018-02-26 08:16:27 +0100
commit73585d30eb873596acdd7bbf6d3a7688cb6a9842 (patch)
treeaf03d9cd18c0c9df3d494e07877a253ba66ca98b
parentc65b4e0b2f8b71c90c6a0c3c0d31fdd768a50a9a (diff)
Add missing override
-rw-r--r--messagelist/src/core/model.h2
-rw-r--r--messagelist/src/core/sortorder.h2
-rw-r--r--messagelist/src/core/themedelegate.h2
-rw-r--r--messagelist/src/core/view.h2
-rw-r--r--messagelist/src/pane.h2
-rw-r--r--messagelist/src/storagemodel.h2
-rw-r--r--messagelist/src/utils/aggregationeditor.h2
-rw-r--r--messagelist/src/widget.h2
-rw-r--r--webengineviewer/src/checkphishingurl/updatedatabaseinfo.h3
-rw-r--r--webengineviewer/src/urlinterceptor/networkurlinterceptor.h2
-rw-r--r--webengineviewer/src/webenginenavigationrequestinterceptor.h2
-rw-r--r--webengineviewer/src/webenginepage.h2
-rw-r--r--webengineviewer/src/webengineview.h2
13 files changed, 14 insertions, 13 deletions
diff --git a/messagelist/src/core/model.h b/messagelist/src/core/model.h
index 0a0b44c..274559a 100644
--- a/messagelist/src/core/model.h
+++ b/messagelist/src/core/model.h
@@ -77,7 +77,7 @@ public:
/**
* Destroys the mighty model along with the tree of items it manages.
*/
- ~Model();
+ ~Model() override;
/**
* Returns the StorageModel currently set.
diff --git a/messagelist/src/core/sortorder.h b/messagelist/src/core/sortorder.h
index a1a9add..a812eae 100644
--- a/messagelist/src/core/sortorder.h
+++ b/messagelist/src/core/sortorder.h
@@ -85,7 +85,7 @@ public:
// Warning: Never add enum entries in the middle: always add them at the end (numeric values are stored in configuration)
};
- explicit SortOrder();
+ SortOrder();
/**
* Returns the GroupSorting
diff --git a/messagelist/src/core/themedelegate.h b/messagelist/src/core/themedelegate.h
index 5c7563e..829cb45 100644
--- a/messagelist/src/core/themedelegate.h
+++ b/messagelist/src/core/themedelegate.h
@@ -44,7 +44,7 @@ class ThemeDelegate : public QStyledItemDelegate
public:
explicit ThemeDelegate(QAbstractItemView *parent);
- ~ThemeDelegate();
+ ~ThemeDelegate() override;
/**
* Called when the global fonts change (from systemsettings)
*/
diff --git a/messagelist/src/core/view.h b/messagelist/src/core/view.h
index 5957b91..5aa8b38 100644
--- a/messagelist/src/core/view.h
+++ b/messagelist/src/core/view.h
@@ -60,7 +60,7 @@ class View : public QTreeView
Q_OBJECT
public:
explicit View(Widget *parent);
- ~View();
+ ~View() override;
/**
* Returns the Model attacched to this View. You probably never need to manipulate
diff --git a/messagelist/src/pane.h b/messagelist/src/pane.h
index a002f16..aa45cd4 100644
--- a/messagelist/src/pane.h
+++ b/messagelist/src/pane.h
@@ -61,7 +61,7 @@ public:
* Create a Pane wrapping the specified model and selection.
*/
explicit Pane(bool restoreSession, QAbstractItemModel *model, QItemSelectionModel *selectionModel, QWidget *parent = nullptr);
- ~Pane();
+ ~Pane() override;
virtual MessageList::StorageModel *createStorageModel(QAbstractItemModel *model, QItemSelectionModel *selectionModel, QObject *parent);
diff --git a/messagelist/src/storagemodel.h b/messagelist/src/storagemodel.h
index 70c93c5..ecd6b79 100644
--- a/messagelist/src/storagemodel.h
+++ b/messagelist/src/storagemodel.h
@@ -51,7 +51,7 @@ public:
* Create a StorageModel wrapping the specified folder.
*/
explicit StorageModel(QAbstractItemModel *model, QItemSelectionModel *selectionModel, QObject *parent = nullptr);
- ~StorageModel();
+ ~StorageModel() override;
Akonadi::Collection::List displayedCollections() const;
diff --git a/messagelist/src/utils/aggregationeditor.h b/messagelist/src/utils/aggregationeditor.h
index adf7304..33a283c 100644
--- a/messagelist/src/utils/aggregationeditor.h
+++ b/messagelist/src/utils/aggregationeditor.h
@@ -41,7 +41,7 @@ class AggregationEditor : public OptionSetEditor
Q_OBJECT
public:
explicit AggregationEditor(QWidget *parent);
- ~AggregationEditor();
+ ~AggregationEditor() override;
private:
Core::Aggregation *mCurrentAggregation = nullptr; // shallow, may be null!
diff --git a/messagelist/src/widget.h b/messagelist/src/widget.h
index 9343c2a..153471d 100644
--- a/messagelist/src/widget.h
+++ b/messagelist/src/widget.h
@@ -51,7 +51,7 @@ public:
* Create a new message list widget.
*/
explicit Widget(QWidget *parent);
- ~Widget();
+ ~Widget() override;
/**
* Sets the XML GUI client which the view is used in.
diff --git a/webengineviewer/src/checkphishingurl/updatedatabaseinfo.h b/webengineviewer/src/checkphishingurl/updatedatabaseinfo.h
index ea01f58..5f0a7a0 100644
--- a/webengineviewer/src/checkphishingurl/updatedatabaseinfo.h
+++ b/webengineviewer/src/checkphishingurl/updatedatabaseinfo.h
@@ -27,7 +27,8 @@
namespace WebEngineViewer {
struct Addition;
struct Removal;
-struct WEBENGINEVIEWER_EXPORT UpdateDataBaseInfo {
+struct WEBENGINEVIEWER_EXPORT UpdateDataBaseInfo
+{
UpdateDataBaseInfo();
bool isValid() const;
diff --git a/webengineviewer/src/urlinterceptor/networkurlinterceptor.h b/webengineviewer/src/urlinterceptor/networkurlinterceptor.h
index 90e71b1..1b93e4f 100644
--- a/webengineviewer/src/urlinterceptor/networkurlinterceptor.h
+++ b/webengineviewer/src/urlinterceptor/networkurlinterceptor.h
@@ -31,7 +31,7 @@ class WEBENGINEVIEWER_EXPORT NetworkUrlInterceptor : public QWebEngineUrlRequest
Q_OBJECT
public:
explicit NetworkUrlInterceptor(QObject *parent = nullptr);
- ~NetworkUrlInterceptor();
+ ~NetworkUrlInterceptor() override;
void interceptRequest(QWebEngineUrlRequestInfo &info) override;
diff --git a/webengineviewer/src/webenginenavigationrequestinterceptor.h b/webengineviewer/src/webenginenavigationrequestinterceptor.h
index 74ece92..a973bb5 100644
--- a/webengineviewer/src/webenginenavigationrequestinterceptor.h
+++ b/webengineviewer/src/webenginenavigationrequestinterceptor.h
@@ -29,7 +29,7 @@ class WebEngineNavigationRequestInterceptor : public QWebEnginePage
Q_OBJECT
public:
explicit WebEngineNavigationRequestInterceptor(QWebEnginePage *page);
- ~WebEngineNavigationRequestInterceptor();
+ ~WebEngineNavigationRequestInterceptor() override;
protected:
bool acceptNavigationRequest(const QUrl &url, NavigationType type, bool isMainFrame) override;
diff --git a/webengineviewer/src/webenginepage.h b/webengineviewer/src/webenginepage.h
index 12e7ab5..0a3c587 100644
--- a/webengineviewer/src/webenginepage.h
+++ b/webengineviewer/src/webenginepage.h
@@ -34,7 +34,7 @@ public:
explicit WebEnginePage(QObject *parent = nullptr);
explicit WebEnginePage(QWebEngineProfile *profile, QObject *parent = nullptr);
- ~WebEnginePage();
+ ~WebEnginePage() override;
WebEngineViewer::WebHitTest *hitTestContent(const QPoint &pos);
void saveHtml(QWebEngineDownloadItem *download);
diff --git a/webengineviewer/src/webengineview.h b/webengineviewer/src/webengineview.h
index 1a543ec..67b56d2 100644
--- a/webengineviewer/src/webengineview.h
+++ b/webengineviewer/src/webengineview.h
@@ -33,7 +33,7 @@ class WEBENGINEVIEWER_EXPORT WebEngineView : public QWebEngineView
Q_OBJECT
public:
explicit WebEngineView(QWidget *parent = nullptr);
- ~WebEngineView();
+ ~WebEngineView() override;
void clearRelativePosition();
void saveRelativePosition();