summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Montel <[email protected]>2018-02-26 22:23:28 +0100
committerLaurent Montel <[email protected]>2018-02-26 22:23:28 +0100
commitc0ca7c3b8d6dcf9f81846df4379412addb0fc120 (patch)
treee3f1b704ab4b031857e0ca493b318852ee6c66bb
parentd6b3964c59f77c15886c0774e02efc1d38322ac1 (diff)
Add missing override
-rw-r--r--src/composer-ng/richtextcomposeremailquotedecorator.h2
-rw-r--r--src/composer-ng/richtextcomposeremailquotehighlighter.h2
-rw-r--r--src/inserthtmleditor.h2
-rw-r--r--src/texteditor/commonwidget/texteditfindbarbase.h2
-rw-r--r--src/texteditor/commonwidget/textgotolinewidget.h2
-rw-r--r--src/texteditor/plaintexteditor/plaintexteditfindbar.h2
-rw-r--r--src/texteditor/plaintexteditor/plaintexteditor.h2
-rw-r--r--src/texteditor/plaintexteditor/plaintextsyntaxspellcheckinghighlighter.h2
-rw-r--r--src/texteditor/richtexteditor/richtexteditfindbar.h2
-rw-r--r--src/texteditor/richtexteditor/richtexteditor.h2
-rw-r--r--src/texttospeech/texttospeechconfiginterface.h2
-rw-r--r--src/texttospeech/texttospeechinterface.h2
12 files changed, 12 insertions, 12 deletions
diff --git a/src/composer-ng/richtextcomposeremailquotedecorator.h b/src/composer-ng/richtextcomposeremailquotedecorator.h
index 2b4cf48..dee2f08 100644
--- a/src/composer-ng/richtextcomposeremailquotedecorator.h
+++ b/src/composer-ng/richtextcomposeremailquotedecorator.h
@@ -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;
diff --git a/src/composer-ng/richtextcomposeremailquotehighlighter.h b/src/composer-ng/richtextcomposeremailquotehighlighter.h
index 2305eb3..bc97921 100644
--- a/src/composer-ng/richtextcomposeremailquotehighlighter.h
+++ b/src/composer-ng/richtextcomposeremailquotehighlighter.h
@@ -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.
diff --git a/src/inserthtmleditor.h b/src/inserthtmleditor.h
index 7b35489..f68d0c9 100644
--- a/src/inserthtmleditor.h
+++ b/src/inserthtmleditor.h
@@ -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:
diff --git a/src/texteditor/commonwidget/texteditfindbarbase.h b/src/texteditor/commonwidget/texteditfindbarbase.h
index 7ef973a..d08744e 100644
--- a/src/texteditor/commonwidget/texteditfindbarbase.h
+++ b/src/texteditor/commonwidget/texteditfindbarbase.h
@@ -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);
diff --git a/src/texteditor/commonwidget/textgotolinewidget.h b/src/texteditor/commonwidget/textgotolinewidget.h
index 3058773..7432e80 100644
--- a/src/texteditor/commonwidget/textgotolinewidget.h
+++ b/src/texteditor/commonwidget/textgotolinewidget.h
@@ -30,7 +30,7 @@ class KPIMTEXTEDIT_EXPORT TextGoToLineWidget : public QWidget
Q_OBJECT
public:
explicit TextGoToLineWidget(QWidget *parent = nullptr);
- ~TextGoToLineWidget();
+ ~TextGoToLineWidget() override;
void goToLine();
diff --git a/src/texteditor/plaintexteditor/plaintexteditfindbar.h b/src/texteditor/plaintexteditor/plaintexteditfindbar.h
index 7a8fab2..aa2da20 100644
--- a/src/texteditor/plaintexteditor/plaintexteditfindbar.h
+++ b/src/texteditor/plaintexteditor/plaintexteditfindbar.h
@@ -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;
diff --git a/src/texteditor/plaintexteditor/plaintexteditor.h b/src/texteditor/plaintexteditor/plaintexteditor.h
index c8c4c6a..30a1ec2 100644
--- a/src/texteditor/plaintexteditor/plaintexteditor.h
+++ b/src/texteditor/plaintexteditor/plaintexteditor.h
@@ -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,
diff --git a/src/texteditor/plaintexteditor/plaintextsyntaxspellcheckinghighlighter.h b/src/texteditor/plaintexteditor/plaintextsyntaxspellcheckinghighlighter.h
index 2906814..ec1aa81 100644
--- a/src/texteditor/plaintexteditor/plaintextsyntaxspellcheckinghighlighter.h
+++ b/src/texteditor/plaintexteditor/plaintextsyntaxspellcheckinghighlighter.h
@@ -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);
diff --git a/src/texteditor/richtexteditor/richtexteditfindbar.h b/src/texteditor/richtexteditor/richtexteditfindbar.h
index c56b541..5b0ce55 100644
--- a/src/texteditor/richtexteditor/richtexteditfindbar.h
+++ b/src/texteditor/richtexteditor/richtexteditfindbar.h
@@ -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;
diff --git a/src/texteditor/richtexteditor/richtexteditor.h b/src/texteditor/richtexteditor/richtexteditor.h
index 4514f8d..a41671b 100644
--- a/src/texteditor/richtexteditor/richtexteditor.h
+++ b/src/texteditor/richtexteditor/richtexteditor.h
@@ -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,
diff --git a/src/texttospeech/texttospeechconfiginterface.h b/src/texttospeech/texttospeechconfiginterface.h
index 53178b1..71a7496 100644
--- a/src/texttospeech/texttospeechconfiginterface.h
+++ b/src/texttospeech/texttospeechconfiginterface.h
@@ -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;
diff --git a/src/texttospeech/texttospeechinterface.h b/src/texttospeech/texttospeechinterface.h
index 88bb277..6026150 100644
--- a/src/texttospeech/texttospeechinterface.h
+++ b/src/texttospeech/texttospeechinterface.h
@@ -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;