Commit 11fc80be authored by Laurent Montel's avatar Laurent Montel 😁

Use override

parent 46d16597
......@@ -58,7 +58,7 @@ public:
/**
* Destroys the ldap client.
*/
virtual ~LdapClient();
~LdapClient() override;
/**
* Returns the number of this client.
......
......@@ -40,7 +40,7 @@ class KDEPIM_EXPORT BroadcastStatus : public QObject
Q_OBJECT
public:
virtual ~BroadcastStatus();
~BroadcastStatus() override;
/** Return the instance of the singleton object for this class */
static BroadcastStatus *instance();
......
......@@ -89,7 +89,7 @@ public:
// We take ownership of factory
explicit MultiplyingLineEditor(MultiplyingLineFactory *factory, QWidget *parent = nullptr);
virtual ~MultiplyingLineEditor();
~MultiplyingLineEditor() override;
/** Get the current line factory for this instance of the widget.
*/
......
......@@ -234,7 +234,7 @@ Q_SIGNALS:
protected:
/* Only to be used by our good friend the ProgressManager */
ProgressItem(ProgressItem *parent, const QString &id, const QString &label, const QString &status, bool isCancellable, CryptoStatus cryptoStatus);
virtual ~ProgressItem();
~ProgressItem() override;
private:
QString mId;
......@@ -283,7 +283,7 @@ class KDEPIM_EXPORT ProgressManager : public QObject
friend struct ProgressManagerPrivate;
public:
virtual ~ProgressManager();
~ProgressManager() override;
/**
* @return The singleton instance of this class.
......
......@@ -58,7 +58,7 @@ public:
/**
* Destroys the time zone combobox.
*/
virtual ~KCheckComboBox();
~KCheckComboBox() override;
/**
* Hides the popup list if it is currently shown.
......
......@@ -45,7 +45,7 @@ public:
* @param first5Checked if true the first 5 weekdays will be checked by default
*/
explicit KWeekdayCheckCombo(QWidget *parent = nullptr, bool first5Checked = false);
virtual ~KWeekdayCheckCombo();
~KWeekdayCheckCombo() override;
/**
* Retrieve the checked days
......
......@@ -76,7 +76,7 @@ public:
/**
* Destroys the widget lister.
*/
virtual ~KWidgetLister();
~KWidgetLister() override;
protected Q_SLOTS:
/**
......
......@@ -70,7 +70,7 @@ public:
/**
* Destroys the addressee line edit.
*/
virtual ~AddresseeLineEdit();
~AddresseeLineEdit() override;
/**
* Sets whether semicolons are allowed as separators.
......
......@@ -37,7 +37,7 @@ class KDEPIMAKONADI_EXPORT PersonSearchJob : public KJob
Q_OBJECT
public:
explicit PersonSearchJob(const QString &searchString, QObject *parent = nullptr);
virtual ~PersonSearchJob();
~PersonSearchJob() override;
void start() override;
......
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