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

Add missing override

parent d6b3964c
......@@ -29,7 +29,7 @@ class KPIMTEXTEDIT_EXPORT RichTextComposerEmailQuoteDecorator : public Sonnet::S
{
public:
explicit RichTextComposerEmailQuoteDecorator(RichTextComposer *textEdit);
~RichTextComposerEmailQuoteDecorator();
~RichTextComposerEmailQuoteDecorator() override;
protected:
bool isSpellCheckingEnabledForBlock(const QString &blockText) const override;
......
......@@ -36,7 +36,7 @@ public:
explicit RichTextComposerEmailQuoteHighlighter(RichTextComposer *textEdit, const QColor &normalColor = Qt::black, const QColor &quoteDepth1 = QColor(0x00, 0x80, 0x00),
const QColor &quoteDepth2 = QColor(0x00, 0x80, 0x00), const QColor &quoteDepth3 = QColor(0x00, 0x80, 0x00), const QColor &misspelledColor = Qt::red);
~RichTextComposerEmailQuoteHighlighter();
~RichTextComposerEmailQuoteHighlighter() override;
/**
* Sets the colors used for highlighting quoted text and spelling mistakes.
......
......@@ -34,7 +34,7 @@ class InsertHtmlEditor : public KPIMTextEdit::PlainTextEditor
Q_OBJECT
public:
explicit InsertHtmlEditor(QWidget *parent = nullptr);
~InsertHtmlEditor();
~InsertHtmlEditor() override;
protected:
void keyPressEvent(QKeyEvent *e) override;
private:
......
......@@ -33,7 +33,7 @@ class KPIMTEXTEDIT_EXPORT TextEditFindBarBase : public QWidget
public:
explicit TextEditFindBarBase(QWidget *parent = nullptr);
~TextEditFindBarBase();
~TextEditFindBarBase() override;
QString text() const;
void setText(const QString &text);
......
......@@ -30,7 +30,7 @@ class KPIMTEXTEDIT_EXPORT TextGoToLineWidget : public QWidget
Q_OBJECT
public:
explicit TextGoToLineWidget(QWidget *parent = nullptr);
~TextGoToLineWidget();
~TextGoToLineWidget() override;
void goToLine();
......
......@@ -33,7 +33,7 @@ class KPIMTEXTEDIT_EXPORT PlainTextEditFindBar : public TextEditFindBarBase
public:
explicit PlainTextEditFindBar(QPlainTextEdit *view, QWidget *parent = nullptr);
~PlainTextEditFindBar();
~PlainTextEditFindBar() override;
protected:
bool viewIsReadOnly() const override;
......
......@@ -38,7 +38,7 @@ class KPIMTEXTEDIT_EXPORT PlainTextEditor : public QPlainTextEdit
Q_PROPERTY(bool webShortcutSupport READ webShortcutSupport WRITE setWebShortcutSupport)
public:
explicit PlainTextEditor(QWidget *parent = nullptr);
~PlainTextEditor();
~PlainTextEditor() override;
enum SupportFeature {
None = 0,
......
......@@ -37,7 +37,7 @@ class KPIMTEXTEDIT_EXPORT PlainTextSyntaxSpellCheckingHighlighter : public Sonne
{
public:
explicit PlainTextSyntaxSpellCheckingHighlighter(PlainTextEditor *plainText, const QColor &misspelledColor = Qt::red);
~PlainTextSyntaxSpellCheckingHighlighter();
~PlainTextSyntaxSpellCheckingHighlighter() override;
void toggleSpellHighlighting(bool on);
......
......@@ -32,7 +32,7 @@ class KPIMTEXTEDIT_EXPORT RichTextEditFindBar : public TextEditFindBarBase
Q_OBJECT
public:
explicit RichTextEditFindBar(QTextEdit *view, QWidget *parent = nullptr);
~RichTextEditFindBar();
~RichTextEditFindBar() override;
protected:
bool viewIsReadOnly() const override;
......
......@@ -41,7 +41,7 @@ class KPIMTEXTEDIT_EXPORT RichTextEditor : public QTextEdit
Q_PROPERTY(bool webShortcutSupport READ webShortcutSupport WRITE setWebShortcutSupport)
public:
explicit RichTextEditor(QWidget *parent = nullptr);
~RichTextEditor();
~RichTextEditor() override;
enum SupportFeature {
None = 0,
Search = 1,
......
......@@ -32,7 +32,7 @@ class KPIMTEXTEDIT_EXPORT TextToSpeechConfigInterface : public AbstractTextToSpe
Q_OBJECT
public:
explicit TextToSpeechConfigInterface(QObject *parent = nullptr);
~TextToSpeechConfigInterface();
~TextToSpeechConfigInterface() override;
QVector<QLocale> availableLocales() const override;
QLocale locale() const override;
......
......@@ -32,7 +32,7 @@ class KPIMTEXTEDIT_EXPORT TextToSpeechInterface : public AbstractTextToSpeechInt
Q_OBJECT
public:
explicit TextToSpeechInterface(TextToSpeechWidget *textToSpeechWidget, QObject *parent = nullptr);
~TextToSpeechInterface();
~TextToSpeechInterface() override;
bool isReady() const override;
void say(const QString &text) 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