Commit 8312be23 authored by Laurent Montel's avatar Laurent Montel 😁

Add missing override

parent f2e4cd22
......@@ -40,7 +40,7 @@ class MAILCOMMON_EXPORT CollectionExpiryPage : public Akonadi::CollectionPropert
public:
explicit CollectionExpiryPage(QWidget *parent = nullptr);
~CollectionExpiryPage();
~CollectionExpiryPage() override;
bool canHandle(const Akonadi::Collection &col) const override;
void load(const Akonadi::Collection &collection) override;
......
......@@ -43,7 +43,7 @@ class MAILCOMMON_EXPORT CollectionGeneralPage : public Akonadi::CollectionProper
public:
explicit CollectionGeneralPage(QWidget *parent = nullptr);
~CollectionGeneralPage();
~CollectionGeneralPage() override;
void load(const Akonadi::Collection &collection) override;
void save(Akonadi::Collection &collection) override;
......
......@@ -120,7 +120,7 @@ public:
/**
* Destroys the filter action widget lister.
*/
virtual ~FilterActionWidgetLister();
~FilterActionWidgetLister() override;
/**
* Sets the @p list of filter actions, the lister will create FilterActionWidgets for.
......
......@@ -36,7 +36,7 @@ class FilterSelectionDialog : public QDialog
public:
explicit FilterSelectionDialog(QWidget *parent = nullptr);
virtual ~FilterSelectionDialog();
~FilterSelectionDialog() override;
void setFilters(const QList<MailFilter *> &filters);
QList<MailFilter *> selectedFilters() const;
......
......@@ -32,7 +32,7 @@ public:
};
explicit InvalidFilterListModel(QObject *parent = nullptr);
virtual ~InvalidFilterListModel();
~InvalidFilterListModel() override;
bool insertRows(int row, int count, const QModelIndex &parent = QModelIndex()) override;
bool setData(const QModelIndex &index, const QVariant &value, int role = Qt::EditRole) override;
......
......@@ -77,7 +77,7 @@ public:
/**
* Destructor.
*/
~KMFilterListBox();
~KMFilterListBox() override;
/**
* Called from KMFilterDialog. Creates a new filter and presets
......
......@@ -42,7 +42,7 @@ class MAILCOMMON_EXPORT EntityCollectionOrderProxyModel : public Akonadi::Entity
public:
explicit EntityCollectionOrderProxyModel(QObject *parent = nullptr);
virtual ~EntityCollectionOrderProxyModel();
~EntityCollectionOrderProxyModel() override;
bool lessThan(const QModelIndex &left, const QModelIndex &right) const override;
......
......@@ -31,7 +31,7 @@ class MAILCOMMON_EXPORT FavoriteCollectionOrderProxyModel : public Akonadi::Enti
Q_OBJECT
public:
explicit FavoriteCollectionOrderProxyModel(QObject *parent = nullptr);
virtual ~FavoriteCollectionOrderProxyModel();
~FavoriteCollectionOrderProxyModel() override;
protected:
Akonadi::Collection parentCollection(const QModelIndex &index) const override;
......
......@@ -66,7 +66,7 @@ public:
* @param parent the parent widget
*/
explicit FolderRequester(QWidget *parent = nullptr);
virtual ~FolderRequester();
~FolderRequester() override;
/**
* Returns the selected collection.
......
......@@ -51,7 +51,7 @@ public:
Q_DECLARE_FLAGS(SelectionFolderOptions, SelectionFolderOption)
FolderSelectionDialog(QWidget *parent, FolderSelectionDialog::SelectionFolderOptions options);
~FolderSelectionDialog();
~FolderSelectionDialog() override;
void setSelectionMode(QAbstractItemView::SelectionMode mode);
QAbstractItemView::SelectionMode selectionMode() const;
......
......@@ -46,7 +46,7 @@ public:
explicit FolderTreeView(KXMLGUIClient *xmlGuiClient, QWidget *parent = nullptr, bool showUnreadCount = true);
virtual ~FolderTreeView();
~FolderTreeView() override;
void selectNextUnreadFolder(bool confirm = false);
void selectPrevUnreadFolder(bool confirm = false);
......
......@@ -40,7 +40,7 @@ public:
explicit FolderTreeWidgetProxyModel(
QObject *parent = nullptr, FolderTreeWidgetProxyModelOptions = FolderTreeWidgetProxyModel::None);
virtual ~FolderTreeWidgetProxyModel();
~FolderTreeWidgetProxyModel() override;
Qt::ItemFlags flags(const QModelIndex &index) const override;
......
......@@ -41,7 +41,7 @@ class ExpireJob : public ScheduledJob
Q_OBJECT
public:
explicit ExpireJob(const Akonadi::Collection &folder, bool immediate);
virtual ~ExpireJob();
~ExpireJob() override;
void execute() override;
void kill() override;
......
......@@ -73,7 +73,7 @@ public:
/**
* Destroys the MDN state attribute.
*/
~MDNStateAttribute();
~MDNStateAttribute() override;
/**
* Reimplemented from Attribute
......
......@@ -49,7 +49,7 @@ public:
/**
* Destroys the send mdn handler.
*/
~SendMdnHandler();
~SendMdnHandler() override;
/**
* @copydoc AbstractMessageLoadedHandler::setItem()
......
......@@ -285,7 +285,7 @@ public:
explicit SearchRuleWidgetLister(QWidget *parent = nullptr, SearchPatternEdit::SearchPatternEditOptions opt = (SearchPatternEdit::SearchPatternEditOptions)(SearchPatternEdit::None),
SearchPatternEdit::SearchModeType modeType = SearchPatternEdit::StandardMode);
virtual ~SearchRuleWidgetLister();
~SearchRuleWidgetLister() override;
void setRuleList(QList<MailCommon::SearchRule::Ptr> *aList);
......
......@@ -27,7 +27,7 @@ public:
explicit SearchRuleEncryption(const QByteArray &field =
{
}, Function func = FuncEquals, const QString &contents = {});
~SearchRuleEncryption();
~SearchRuleEncryption() override;
bool isEmpty() const override;
bool matches(const Akonadi::Item &item) const override;
......
......@@ -28,7 +28,7 @@ public:
{
}
~DateRuleWidgetHandler()
~DateRuleWidgetHandler() override
{
}
......
......@@ -25,7 +25,7 @@ class EncryptionWidgetHandler : public RuleWidgetHandler
{
public:
explicit EncryptionWidgetHandler();
~EncryptionWidgetHandler();
~EncryptionWidgetHandler() override;
QWidget *createFunctionWidget(int number, QStackedWidget *functionStack, const QObject *receiver, bool isBalooSearch) const override;
QWidget *createValueWidget(int number, QStackedWidget *valueStack, const QObject *receiver) const override;
......
......@@ -28,7 +28,7 @@ public:
{
}
~HeadersRuleWidgetHandler()
~HeadersRuleWidgetHandler() override
{
}
......
......@@ -28,7 +28,7 @@ public:
{
}
~NumericDoubleRuleWidgetHandler()
~NumericDoubleRuleWidgetHandler() override
{
}
......
......@@ -11,7 +11,7 @@ public:
{
}
~NumericRuleWidgetHandler()
~NumericRuleWidgetHandler() override
{
}
......
......@@ -28,7 +28,7 @@ public:
{
}
~StatusRuleWidgetHandler()
~StatusRuleWidgetHandler() override
{
}
......
......@@ -28,7 +28,7 @@ public:
{
}
~TagRuleWidgetHandler()
~TagRuleWidgetHandler() override
{
}
......
......@@ -28,7 +28,7 @@ public:
{
}
~TextRuleWidgetHandler()
~TextRuleWidgetHandler() override
{
}
......
......@@ -38,7 +38,7 @@ public:
};
explicit SnippetsModel(QObject *parent = nullptr);
~SnippetsModel();
~SnippetsModel() override;
bool setData(const QModelIndex &index, const QVariant &value, int role = Qt::EditRole) override;
......
......@@ -33,7 +33,7 @@ class MAILCOMMON_EXPORT FavoriteCollectionWidget : public Akonadi::EntityListVie
Q_OBJECT
public:
explicit FavoriteCollectionWidget(MailCommon::MailCommonSettings *settings, KXMLGUIClient *xmlGuiClient, QWidget *parent = nullptr);
~FavoriteCollectionWidget();
~FavoriteCollectionWidget() override;
void readConfig();
void updateMode();
......
......@@ -68,7 +68,7 @@ public:
/**
* Destroys the redirect dialog.
*/
~RedirectDialog();
~RedirectDialog() override;
/**
* Returns the addresses for the redirection.
......
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