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

Add missing override

parent e78c614c
......@@ -30,7 +30,7 @@ class FindBarSourceView : public WebEngineViewer::FindBarBase
public:
explicit FindBarSourceView(QPlainTextEdit *view, QWidget *parent = nullptr);
~FindBarSourceView();
~FindBarSourceView() override;
private:
explicit FindBarSourceView(QWidget *parent)
......
......@@ -42,7 +42,7 @@ class ContactDisplayMessageMemento : public QObject, public MimeTreeParser::Inte
Q_OBJECT
public:
explicit ContactDisplayMessageMemento(const QString &emailAddress);
~ContactDisplayMessageMemento();
~ContactDisplayMessageMemento() override;
void processAddress(const KContacts::Addressee &addressee);
bool allowToRemoteContent() const;
KContacts::Picture photo() const;
......
......@@ -28,7 +28,7 @@ class MESSAGEVIEWER_EXPORT GrantleeHeaderStyle : public HeaderStyle
{
public:
GrantleeHeaderStyle();
~GrantleeHeaderStyle();
~GrantleeHeaderStyle() override;
public:
const char *name() const override;
......
......@@ -30,7 +30,7 @@ class MESSAGEVIEWER_EXPORT GrantleeHeaderTestStyle : public HeaderStyle
friend class GrantleeHeaderStyle;
public:
GrantleeHeaderTestStyle();
~GrantleeHeaderTestStyle();
~GrantleeHeaderTestStyle() override;
public:
const char *name() const override;
......
......@@ -28,7 +28,7 @@ class MESSAGEVIEWER_EXPORT PlainHeaderStyle : public HeaderStyle
{
public:
PlainHeaderStyle();
~PlainHeaderStyle();
~PlainHeaderStyle() override;
public:
const char *name() const override;
......
......@@ -53,7 +53,7 @@ class MESSAGEVIEWER_EXPORT RichHeaderStrategy : public HeaderStrategy
{
public:
RichHeaderStrategy();
~RichHeaderStrategy();
~RichHeaderStrategy() override;
public:
const char *name() const override
......
......@@ -34,7 +34,7 @@ class MESSAGEVIEWER_EXPORT BufferedHtmlWriter : public HtmlWriter
{
public:
BufferedHtmlWriter();
~BufferedHtmlWriter();
~BufferedHtmlWriter() override;
void begin() override;
void end() override;
......
......@@ -42,7 +42,7 @@ class MESSAGEVIEWER_EXPORT FileHtmlWriter : public HtmlWriter
{
public:
explicit FileHtmlWriter(const QString &filename);
~FileHtmlWriter();
~FileHtmlWriter() override;
void begin() override;
void end() override;
......
......@@ -33,7 +33,7 @@ class WebEnginePartHtmlWriter : public QObject, public BufferedHtmlWriter
Q_OBJECT
public:
explicit WebEnginePartHtmlWriter(MailWebEngineView *view, QObject *parent = nullptr);
~WebEnginePartHtmlWriter();
~WebEnginePartHtmlWriter() override;
void begin() override;
void end() override;
......
......@@ -34,7 +34,7 @@ class DefaultRendererPrivate : public RenderContext
{
public:
DefaultRendererPrivate(CSSHelperBase *cssHelper, const MessagePartRendererFactory *rendererFactory);
~DefaultRendererPrivate();
~DefaultRendererPrivate() override;
CSSHelperBase *cssHelper() const override;
......
......@@ -27,7 +27,7 @@ class DefaultGrantleeHeaderStrategy : public HeaderStrategy
{
public:
DefaultGrantleeHeaderStrategy();
~DefaultGrantleeHeaderStrategy();
~DefaultGrantleeHeaderStrategy() override;
public:
const char *name() const override
......
......@@ -29,7 +29,7 @@ class DefaultGrantleeHeaderStyleInterface : public MessageViewer::HeaderStyleInt
Q_OBJECT
public:
explicit DefaultGrantleeHeaderStyleInterface(HeaderStylePlugin *plugin, QObject *parent = nullptr);
~DefaultGrantleeHeaderStyleInterface();
~DefaultGrantleeHeaderStyleInterface() override;
void createAction(KActionMenu *menu, QActionGroup *actionGroup, KActionCollection *ac) override;
void activateAction() override;
......
......@@ -31,7 +31,7 @@ class DefaultGrantleeHeaderStylePlugin : public MessageViewer::HeaderStylePlugin
Q_OBJECT
public:
explicit DefaultGrantleeHeaderStylePlugin(QObject *parent = nullptr, const QList<QVariant> & = QList<QVariant>());
~DefaultGrantleeHeaderStylePlugin();
~DefaultGrantleeHeaderStylePlugin() override;
HeaderStyle *headerStyle() const override;
HeaderStrategy *headerStrategy() const override;
......
......@@ -29,7 +29,7 @@ class ScamAttribute : public Akonadi::Attribute
{
public:
explicit ScamAttribute();
~ScamAttribute();
~ScamAttribute() override;
ScamAttribute *clone() const override;
QByteArray type() const override;
......
......@@ -47,7 +47,7 @@ public:
/**
* Destroys the mark message read handler.
*/
~MarkMessageReadHandler();
~MarkMessageReadHandler() override;
/**
* @copydoc AbstractMessageLoadedHandler::setItem()
......
......@@ -44,7 +44,7 @@ public:
UserRole = Qt::UserRole + 100
};
explicit MimeTreeModel(QObject *parent = nullptr);
~MimeTreeModel();
~MimeTreeModel() override;
void setRoot(KMime::Content *root);
......
......@@ -28,7 +28,7 @@ class BlockExternalResourcesUrlInterceptor : public WebEngineViewer::
Q_OBJECT
public:
explicit BlockExternalResourcesUrlInterceptor(QObject *parent = nullptr);
~BlockExternalResourcesUrlInterceptor();
~BlockExternalResourcesUrlInterceptor() override;
bool interceptRequest(QWebEngineUrlRequestInfo &info) override;
void setAllowExternalContent(bool b);
......
......@@ -29,7 +29,7 @@ class LoadExternalReferencesUrlInterceptor : public WebEngineViewer::
Q_OBJECT
public:
explicit LoadExternalReferencesUrlInterceptor(QObject *parent = nullptr);
~LoadExternalReferencesUrlInterceptor();
~LoadExternalReferencesUrlInterceptor() override;
bool interceptRequest(QWebEngineUrlRequestInfo &info) override;
void setAllowExternalContent(bool b);
......
......@@ -43,7 +43,7 @@ public:
};
explicit BlockMailTrackingUrlInterceptor(QObject *parent = nullptr);
~BlockMailTrackingUrlInterceptor();
~BlockMailTrackingUrlInterceptor() override;
bool interceptRequest(QWebEngineUrlRequestInfo &info) override;
Q_SIGNALS:
......
......@@ -28,7 +28,7 @@ class CidReferencesUrlInterceptor : public WebEngineViewer::NetworkPluginUrlInte
Q_OBJECT
public:
explicit CidReferencesUrlInterceptor(QObject *parent = nullptr);
~CidReferencesUrlInterceptor();
~CidReferencesUrlInterceptor() override;
bool interceptRequest(QWebEngineUrlRequestInfo &info) override;
};
......
......@@ -27,7 +27,7 @@ class LoadExternalReferencesUrlInterceptor : public WebEngineViewer::NetworkPlug
Q_OBJECT
public:
explicit LoadExternalReferencesUrlInterceptor(QObject *parent = nullptr);
~LoadExternalReferencesUrlInterceptor();
~LoadExternalReferencesUrlInterceptor() override;
bool interceptRequest(QWebEngineUrlRequestInfo &info) override;
void setAllowExternalContent(bool b);
......
......@@ -36,7 +36,7 @@ class MESSAGEVIEWER_EXPORT MailWebEngineView : public WebEngineViewer::WebEngine
Q_OBJECT
public:
explicit MailWebEngineView(KActionCollection *ac, QWidget *parent = nullptr);
~MailWebEngineView();
~MailWebEngineView() override;
void scrollUp(int pixels);
void scrollDown(int pixels);
......
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