Commit 73585d30 authored by Laurent Montel's avatar Laurent Montel 😁

Add missing override

parent c65b4e0b
......@@ -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.
......
......@@ -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
......
......@@ -44,7 +44,7 @@ class ThemeDelegate : public QStyledItemDelegate
public:
explicit ThemeDelegate(QAbstractItemView *parent);
~ThemeDelegate();
~ThemeDelegate() override;
/**
* Called when the global fonts change (from systemsettings)
*/
......
......@@ -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
......
......@@ -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);
......
......@@ -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;
......
......@@ -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!
......
......@@ -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.
......
......@@ -27,7 +27,8 @@
namespace WebEngineViewer {
struct Addition;
struct Removal;
struct WEBENGINEVIEWER_EXPORT UpdateDataBaseInfo {
struct WEBENGINEVIEWER_EXPORT UpdateDataBaseInfo
{
UpdateDataBaseInfo();
bool isValid() const;
......
......@@ -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;
......
......@@ -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;
......
......@@ -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);
......
......@@ -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();
......
Markdown is supported
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