Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 6c27a02c authored by Laurent Montel's avatar Laurent Montel 😁

Use override keyword

parent f73b115e
......@@ -49,7 +49,7 @@ public:
/**
* Destructor.
**/
virtual ~CategoryFilterProxyModel();
~CategoryFilterProxyModel() override;
public Q_SLOTS:
/**
......
......@@ -48,7 +48,7 @@ public:
/**
* Destructor.
**/
virtual ~CategorySelectWidget();
~CategorySelectWidget() override;
/**
* Special @c Akonadi::Tag::Id values for filtering.
......
......@@ -28,7 +28,7 @@ class KADDRESSBOOKDOMAIN_EXPORT ContactGroupRepository
{
public:
ContactGroupRepository();
virtual ~ContactGroupRepository();
~ContactGroupRepository() override;
virtual KJob *createContactGroup(Domain::ContactGroup *contactGroup) = 0;
virtual KJob *removeContactGroup(Domain::ContactGroup *contactGroup) = 0;
virtual KJob *updateContactGroup(Domain::ContactGroup *contactGroup) = 0;
......
......@@ -29,7 +29,7 @@ class KADDRESSBOOKDOMAIN_EXPORT ContactRepository
{
public:
ContactRepository();
virtual ~ContactRepository();
~ContactRepository() override;
virtual KJob *createContact(Domain::Contact *contact) = 0;
virtual KJob *removeContact(Domain::Contact *contact) = 0;
virtual KJob *updateContact(Domain::Contact *contact) = 0;
......
......@@ -33,7 +33,7 @@ class KAddressBookPart : public KParts::ReadOnlyPart
public:
KAddressBookPart(QWidget *parentWidget, QObject *parent, const QVariantList &);
virtual ~KAddressBookPart();
~KAddressBookPart() override;
public Q_SLOTS:
void newContact();
......
......@@ -51,7 +51,7 @@ public:
/**
* Destroys the quick search widget.
*/
virtual ~QuickSearchWidget();
~QuickSearchWidget() override;
/**
* Returns the size hint of the quick search widget.
......
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