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 49833b4f authored by Laurent Montel's avatar Laurent Montel 😁

Add missing override

parent 35a46f48
......@@ -36,7 +36,7 @@ class KDEPIM_EXPORT RecentAddressWidget : public QWidget
Q_OBJECT
public:
explicit RecentAddressWidget(QWidget *parent = nullptr);
~RecentAddressWidget();
~RecentAddressWidget() override;
void setAddresses(const QStringList &addrs);
void storeAddresses(KConfig *config);
......
......@@ -40,7 +40,7 @@ class KCMLdap : public KCModule
public:
explicit KCMLdap(QWidget *parent, const QVariantList &args);
~KCMLdap();
~KCMLdap() override;
void load() override;
void save() override;
......
......@@ -66,7 +66,7 @@ public:
/**
* Destroys the ldap search dialog.
*/
~LdapSearchDialog();
~LdapSearchDialog() override;
/**
* Sets the @p text in the search line edit.
......
......@@ -37,7 +37,7 @@ class MultiplyingLineView : public QScrollArea
Q_OBJECT
public:
MultiplyingLineView(MultiplyingLineFactory *factory, MultiplyingLineEditor *parent);
~MultiplyingLineView()
~MultiplyingLineView() override
{
}
......
......@@ -56,7 +56,7 @@ class TransactionItemView : public QScrollArea
public:
explicit TransactionItemView(QWidget *parent = nullptr, const QString &name = QString());
virtual ~TransactionItemView()
~TransactionItemView() override
{
}
......
......@@ -59,7 +59,7 @@ class KDEPIM_EXPORT StatusbarProgressWidget : public QFrame
public:
StatusbarProgressWidget(ProgressDialog *progressDialog, QWidget *parent, bool button = true);
explicit StatusbarProgressWidget(ProgressDialog *progressDialog, QWidget *parent, bool button = true);
void setShowTypeProgressItem(unsigned int type);
public Q_SLOTS:
......
......@@ -31,7 +31,7 @@ class LogItemDelegate : public QStyledItemDelegate
Q_OBJECT
public:
explicit LogItemDelegate(QObject *parent);
~LogItemDelegate();
~LogItemDelegate() override;
QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const override;
void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override;
......
......@@ -51,7 +51,7 @@ class KDEPIM_EXPORT OverlayWidget : public QFrame
public:
OverlayWidget(QWidget *alignWidget, QWidget *parent);
~OverlayWidget();
~OverlayWidget() override;
QWidget *alignWidget() const;
void setAlignWidget(QWidget *alignWidget);
......
......@@ -45,7 +45,7 @@ class LIBKDEPIMAKONADI_TESTS_EXPORT BlackListBalooEmailList : public QListWidget
Q_OBJECT
public:
explicit BlackListBalooEmailList(QWidget *parent = nullptr);
~BlackListBalooEmailList();
~BlackListBalooEmailList() override;
void setEmailBlackList(const QStringList &list);
......
......@@ -68,7 +68,7 @@ public:
/**
* Destroys the add email address job.
*/
~AddContactJob();
~AddContactJob() override;
/**
* Starts the job.
......
......@@ -53,7 +53,7 @@ public:
/**
* Destroys the add email address job.
*/
~AddEmailAddressJob();
~AddEmailAddressJob() override;
/**
* Starts the job.
......
......@@ -36,7 +36,7 @@ class KDEPIMAKONADI_EXPORT AddEmailDiplayJob : public KJob
public:
explicit AddEmailDiplayJob(const QString &email, QWidget *parentWidget, QObject *parent = nullptr);
~AddEmailDiplayJob();
~AddEmailDiplayJob() override;
void setShowAsHTML(bool html);
void setRemoteContent(bool b);
void setContact(const Akonadi::Item &contact);
......
......@@ -36,7 +36,7 @@ class KDEPIMAKONADI_EXPORT CollectionSearchJob : public KJob
Q_OBJECT
public:
explicit CollectionSearchJob(const QString &searchString, const QStringList &mimetypeFilter, QObject *parent = nullptr);
~CollectionSearchJob();
~CollectionSearchJob() override;
void start() override;
Akonadi::Collection::List matchingCollections() const;
......
......@@ -52,7 +52,7 @@ public:
/**
* Destroys the open email address job.
*/
~OpenEmailAddressJob();
~OpenEmailAddressJob() override;
/**
* Starts the job.
......
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