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

Add some missing override

parent ad2374eb
......@@ -35,7 +35,7 @@ public:
{
}
~ConfigModule()
~ConfigModule() override
{
}
......
......@@ -32,7 +32,7 @@ class ConfigureDialog : public KCMultiDialog
public:
explicit ConfigureDialog(QWidget *parent = nullptr, bool modal = true);
~ConfigureDialog();
~ConfigureDialog() override;
Q_SIGNALS:
void configChanged();
......
......@@ -29,7 +29,7 @@ class KMAIL_EXPORT ConfigurePluginPage : public ConfigModule
Q_OBJECT
public:
explicit ConfigurePluginPage(QWidget *parent);
~ConfigurePluginPage();
~ConfigurePluginPage() override;
QString helpAnchor() const override;
void load() override;
......
......@@ -26,7 +26,7 @@ class ConfigurePluginsListWidget : public PimCommon::ConfigurePluginsListWidget
Q_OBJECT
public:
explicit ConfigurePluginsListWidget(QWidget *parent = nullptr);
~ConfigurePluginsListWidget();
~ConfigurePluginsListWidget() override;
void save() override;
void doLoadFromGlobalSettings() override;
......
......@@ -40,7 +40,7 @@ class AttachmentController : public MessageComposer::AttachmentControllerBase
public:
explicit AttachmentController(MessageComposer::AttachmentModel *model, AttachmentView *view, KMComposerWin *composer);
~AttachmentController();
~AttachmentController() override;
public Q_SLOTS:
/// @reimp
......
......@@ -43,7 +43,7 @@ class AttachmentView : public QTreeView
public:
/// can't change model afterwards.
explicit AttachmentView(MessageComposer::AttachmentModel *model, QWidget *parent = nullptr);
~AttachmentView();
~AttachmentView() override;
QWidget *widget() const;
......
......@@ -22,8 +22,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __KMComposeWin
#define __KMComposeWin
#ifndef KMAIL__KMComposeWin
#define KMAIL__KMComposeWin
// KMail includes
#include "editor/composer.h"
......
......@@ -33,7 +33,7 @@ class SnippetWidget : public QTreeView
Q_OBJECT
public:
explicit SnippetWidget(KMComposerEditorNg *editor, KActionCollection *actionCollection, QWidget *parent = nullptr);
~SnippetWidget();
~SnippetWidget() override;
protected:
void contextMenuEvent(QContextMenuEvent *) override;
......
......@@ -42,7 +42,7 @@ class KMAIL_EXPORT IdentityPage : public ConfigModuleTab
Q_OBJECT
public:
explicit IdentityPage(QWidget *parent = nullptr);
~IdentityPage();
~IdentityPage() override;
QString helpAnchor() const;
......
......@@ -28,7 +28,7 @@ class AddEmailToExistingContactJob : public KJob
Q_OBJECT
public:
explicit AddEmailToExistingContactJob(const Akonadi::Item &item, const QString &email, QObject *parent = nullptr);
~AddEmailToExistingContactJob();
~AddEmailToExistingContactJob() override;
void start() override;
......
......@@ -31,7 +31,7 @@ class AddressValidationJob : public KJob
public:
explicit AddressValidationJob(const QString &emailAddresses, QWidget *parentWidget, QObject *parent = nullptr);
~AddressValidationJob();
~AddressValidationJob() override;
void start() override;
......
......@@ -43,7 +43,7 @@ public:
/**
* Destroys the new contact job
*/
~CreateNewContactJob();
~CreateNewContactJob() override;
/**
* @brief start the job
......
......@@ -29,7 +29,7 @@ class CreateTaskJob : public KJob
Q_OBJECT
public:
explicit CreateTaskJob(const Akonadi::Item::List &items, QObject *parent = nullptr);
~CreateTaskJob();
~CreateTaskJob() override;
void start() override;
private:
......
......@@ -30,7 +30,7 @@ class SaveDraftJob : public KJob
Q_OBJECT
public:
explicit SaveDraftJob(const KMime::Message::Ptr &msg, const Akonadi::Collection &col, QObject *parent = nullptr);
~SaveDraftJob();
~SaveDraftJob() override;
void start() override;
......
......@@ -18,8 +18,8 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef __KMMAINWIDGET
#define __KMMAINWIDGET
#ifndef KMAIL__KMMAINWIDGET
#define KMAIL__KMMAINWIDGET
#include "kmail_export.h"
#include "kmreaderwin.h" //for inline actions
......
......@@ -17,8 +17,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
*/
#ifndef __KMMAINWIN
#define __KMMAINWIN
#ifndef KMAIL_KMMAINWIN_H
#define KMAIL_KMMAINWIN_H
#include "kmail_export.h"
......
......@@ -47,7 +47,7 @@ class SummaryViewPart : public KParts::ReadOnlyPart
public:
SummaryViewPart(KontactInterface::Core *core, const KAboutData &aboutData, QObject *parent = nullptr);
~SummaryViewPart();
~SummaryViewPart() override;
public Q_SLOTS:
void slotTextChanged();
......
......@@ -33,7 +33,7 @@ class SummaryView : public KontactInterface::Plugin
public:
SummaryView(KontactInterface::Core *core, const QVariantList &);
~SummaryView();
~SummaryView() override;
int weight() const override
{
......
......@@ -76,7 +76,7 @@ public:
/**
* Destroys the search window.
*/
~SearchWindow();
~SearchWindow() override;
/**
* Changes the base folder for search operations to a different folder.
......
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