Commit 845a9928 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add override

parent 837b17a6
Pipeline #43255 passed with stage
in 11 minutes and 31 seconds
......@@ -18,7 +18,7 @@ class KCMKaddressbookPluginsConfig : public KCModule
{
Q_OBJECT
public:
KCMKaddressbookPluginsConfig(QWidget *parent, const QVariantList &args);
explicit KCMKaddressbookPluginsConfig(QWidget *parent, const QVariantList &args);
void load() override;
void save() override;
void defaults() override;
......
......@@ -19,7 +19,7 @@ class KCMKaddressbookUserFeedBackConfig : public KCModule
{
Q_OBJECT
public:
KCMKaddressbookUserFeedBackConfig(QWidget *parent, const QVariantList &args);
explicit KCMKaddressbookUserFeedBackConfig(QWidget *parent, const QVariantList &args);
void load() override;
void save() override;
void defaults() override;
......
......@@ -22,7 +22,7 @@ class KADDRESSBOOK_IMPORTEXPORT_EXPORT ImportExportEngine : public QObject
Q_OBJECT
public:
explicit ImportExportEngine(QObject *parent = nullptr);
~ImportExportEngine();
~ImportExportEngine() override;
void setContactList(const ContactList &contacts);
void importContacts();
......
......@@ -18,7 +18,7 @@ class KADDRESSBOOK_IMPORTEXPORT_EXPORT Plugin : public PimCommon::AbstractGeneri
Q_OBJECT
public:
explicit Plugin(QObject *parent = nullptr);
~Plugin();
~Plugin() override;
};
}
......
......@@ -60,7 +60,7 @@ class KADDRESSBOOK_EXPORT MainWidget : public QWidget
public:
explicit MainWidget(KXMLGUIClient *guiClient, QWidget *parent = nullptr);
~MainWidget();
~MainWidget() override;
void updateQuickSearchText();
const Akonadi::Item::List collectSelectedAllContactsItem();
......
......@@ -20,7 +20,7 @@ class ManageShowCollectionProperties : public QObject
Q_OBJECT
public:
explicit ManageShowCollectionProperties(MainWidget *mainWidget, QObject *parent = nullptr);
~ManageShowCollectionProperties();
~ManageShowCollectionProperties() override;
public Q_SLOTS:
void showCollectionProperties();
......
......@@ -27,7 +27,7 @@ class PrintProgress : public QWidget
public:
explicit PrintProgress(QWidget *parent);
~PrintProgress();
~PrintProgress() override;
/**
Add a message to the message log. Give the user something to admire :-)
......
......@@ -62,7 +62,7 @@ public:
/**
* Destroys the print style.
*/
virtual ~PrintStyle();
~PrintStyle() override;
/**
* This method must be reimplemented to actually print something.
......
......@@ -23,7 +23,7 @@ class StylePage : public QWidget
public:
explicit StylePage(QWidget *parent = nullptr, const QString &name = QString());
~StylePage();
~StylePage() override;
/**
* Set a preview image. If @p pixmap is 'null' a text will
......
......@@ -15,7 +15,7 @@ class KADDRESSBOOK_EXPORT KAddressBookUserFeedbackProvider : public KUserFeedbac
Q_OBJECT
public:
explicit KAddressBookUserFeedbackProvider(QObject *parent = nullptr);
~KAddressBookUserFeedbackProvider();
~KAddressBookUserFeedbackProvider() override;
};
#endif // KADDRESSBOOKUSERFEEDBACKPROVIDER_H
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