Commit 38f045e5 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add missing override on destructor

parent 6c5d68ba
Pipeline #43285 skipped
......@@ -32,7 +32,7 @@ public:
/**
* Destroys the contact meta data attribute.
*/
~ContactMetaDataAttribute();
~ContactMetaDataAttribute() override;
/**
* Sets the meta @p data.
......
......@@ -43,7 +43,7 @@ class ContactGroupEditorDelegate : public QStyledItemDelegate
public:
explicit ContactGroupEditorDelegate(QAbstractItemView *view, QObject *parent = nullptr);
~ContactGroupEditorDelegate();
~ContactGroupEditorDelegate() override;
QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const override;
......
......@@ -80,7 +80,7 @@ public:
/**
* Destroys the contact group editor dialog.
*/
~ContactGroupEditorDialog();
~ContactGroupEditorDialog() override;
/**
* Sets the contact @p group to edit when in EditMode.
......
......@@ -25,7 +25,7 @@ public:
};
explicit ContactGroupModel(QObject *parent = nullptr);
~ContactGroupModel();
~ContactGroupModel() override;
void loadContactGroup(const KContacts::ContactGroup &contactGroup);
bool storeContactGroup(KContacts::ContactGroup &contactGroup) const;
......
......@@ -19,7 +19,7 @@ class LeafExtensionProxyModel : public QSortFilterProxyModel
public:
explicit LeafExtensionProxyModel(QObject *parent = nullptr);
~LeafExtensionProxyModel();
~LeafExtensionProxyModel() override;
QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const override;
QModelIndex parent(const QModelIndex &index) const override;
......
......@@ -28,7 +28,7 @@ public:
* @param parent must not be equal to baseWidget
*/
explicit WaitingOverlay(KJob *job, QWidget *baseWidget, QWidget *parent = nullptr);
~WaitingOverlay();
~WaitingOverlay() override;
protected:
bool eventFilter(QObject *object, QEvent *event) override;
......
......@@ -20,7 +20,7 @@ class AddressModel : public QAbstractListModel
Q_OBJECT
public:
explicit AddressModel(QObject *parent = nullptr);
~AddressModel();
~AddressModel() override;
KContacts::Address::List addresses() const;
void setAddresses(const KContacts::Address::List &addresses);
......
......@@ -18,7 +18,7 @@ class CustomFieldsListDelegate : public QStyledItemDelegate
Q_OBJECT
public:
explicit CustomFieldsListDelegate(QAbstractItemView *view, QObject *parent = nullptr);
~CustomFieldsListDelegate();
~CustomFieldsListDelegate() override;
QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const override;
......
......@@ -23,7 +23,7 @@ public:
};
explicit CustomFieldsModel(QObject *parent = nullptr);
~CustomFieldsModel();
~CustomFieldsModel() override;
void setCustomFields(const CustomField::List &addresses);
CustomField::List customFields() const;
......
......@@ -24,7 +24,7 @@ class CategoriesEditWidget : public ContactEditor::CategoriesEditAbstractWidget
public:
explicit CategoriesEditWidget(QWidget *parent = nullptr);
~CategoriesEditWidget();
~CategoriesEditWidget() override;
void loadContact(const KContacts::Addressee &contact) override;
void storeContact(KContacts::Addressee &contact) const override;
......
......@@ -21,7 +21,7 @@ class MailWidgetLister : public KWidgetLister
Q_OBJECT
public:
explicit MailWidgetLister(QWidget *parent = nullptr);
~MailWidgetLister();
~MailWidgetLister() override;
void loadContact(const KContacts::Addressee &contact);
void storeContact(KContacts::Addressee &contact) const;
......
......@@ -21,7 +21,7 @@ class MessagingWidgetLister : public KWidgetLister
Q_OBJECT
public:
explicit MessagingWidgetLister(QWidget *parent = nullptr);
~MessagingWidgetLister();
~MessagingWidgetLister() override;
void loadContact(const KContacts::Addressee &contact);
void storeContact(KContacts::Addressee &contact) const;
......
......@@ -22,7 +22,7 @@ class CONTACTEDITOR_TESTS_EXPORT PhoneWidgetLister : public KWidgetLister
Q_OBJECT
public:
explicit PhoneWidgetLister(QWidget *parent = nullptr);
~PhoneWidgetLister();
~PhoneWidgetLister() override;
void loadContact(const KContacts::Addressee &contact);
void storeContact(KContacts::Addressee &contact) const;
......
......@@ -21,7 +21,7 @@ class WebWidgetLister : public KWidgetLister
Q_OBJECT
public:
explicit WebWidgetLister(QWidget *parent = nullptr);
~WebWidgetLister();
~WebWidgetLister() override;
void loadContact(const KContacts::Addressee &contact);
void storeContact(KContacts::Addressee &contact) const;
......
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