Commit b8de125d authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add missing override

parent 38340eab
Pipeline #49704 canceled with stage
......@@ -43,7 +43,7 @@ public:
/**
* Destructor
*/
~KLinkDialog();
~KLinkDialog() override;
/**
* Returns the link text shown in the dialog
......
......@@ -25,7 +25,7 @@ class KPIMTEXTEDIT_EXPORT RichTextComposerActions : public QObject
Q_OBJECT
public:
explicit RichTextComposerActions(KPIMTextEdit::RichTextComposerControler *controler, QObject *parent = nullptr);
~RichTextComposerActions();
~RichTextComposerActions() override;
void createActions(KActionCollection *ac);
Q_REQUIRED_RESULT int numberOfActions() const;
......
......@@ -24,7 +24,7 @@ class KPIMTEXTEDIT_EXPORT RichTextComposerControler : public QObject
Q_OBJECT
public:
explicit RichTextComposerControler(RichTextComposer *richtextComposer, QObject *parent = nullptr);
~RichTextComposerControler();
~RichTextComposerControler() override;
Q_REQUIRED_RESULT RichTextComposer *richTextComposer() const;
......
......@@ -46,7 +46,7 @@ class KPIMTEXTEDIT_EXPORT RichTextComposerImages : public QObject
Q_OBJECT
public:
explicit RichTextComposerImages(RichTextComposer *composer, QObject *parent = nullptr);
~RichTextComposerImages();
~RichTextComposerImages() override;
/**
* Adds an image. The image is loaded from file and then pasted to the current
......
......@@ -23,7 +23,7 @@ class KPIMTEXTEDIT_EXPORT RichTextComposerWidget : public QWidget
Q_OBJECT
public:
explicit RichTextComposerWidget(QWidget *parent = nullptr);
~RichTextComposerWidget();
~RichTextComposerWidget() override;
Q_REQUIRED_RESULT KPIMTextEdit::RichTextComposer *richTextComposer() const;
......
......@@ -23,7 +23,7 @@ class KPIMTEXTEDIT_EXPORT RichTextExternalComposer : public QObject
Q_OBJECT
public:
explicit RichTextExternalComposer(RichTextComposer *composer, QObject *parent = nullptr);
~RichTextExternalComposer();
~RichTextExternalComposer() override;
Q_REQUIRED_RESULT bool useExternalEditor() const;
void setUseExternalEditor(bool value);
......
......@@ -27,7 +27,7 @@ class KPIMTEXTEDIT_TESTS_EXPORT EmoticonListWidgetSelector : public QListWidget
Q_OBJECT
public:
explicit EmoticonListWidgetSelector(QWidget *parent = nullptr);
~EmoticonListWidgetSelector();
~EmoticonListWidgetSelector() override;
void setEmoticons(const QList<uint> &lst);
void setEmoticons(const QStringList &lst);
......
......@@ -19,7 +19,7 @@ class EmoticonTextEditAction : public KActionMenu
Q_OBJECT
public:
explicit EmoticonTextEditAction(QObject *parent);
~EmoticonTextEditAction();
~EmoticonTextEditAction() override;
Q_SIGNALS:
void emoticonActivated(const QString &);
......
......@@ -17,7 +17,7 @@ class EmoticonTextEditSelector : public QWidget
Q_OBJECT
public:
explicit EmoticonTextEditSelector(QWidget *parent = nullptr);
~EmoticonTextEditSelector();
~EmoticonTextEditSelector() override;
public Q_SLOTS:
void loadEmoticons();
......
......@@ -23,7 +23,7 @@ class KPIMTEXTEDIT_EXPORT EmoticonUnicodeTab : public QTabWidget
Q_OBJECT
public:
explicit EmoticonUnicodeTab(QWidget *parent = nullptr);
~EmoticonUnicodeTab();
~EmoticonUnicodeTab() override;
void loadEmoticons();
......
......@@ -21,7 +21,7 @@ class KPIMTEXTEDIT_TESTS_EXPORT InsertHtmlDialog : public QDialog
Q_OBJECT
public:
explicit InsertHtmlDialog(QWidget *parent = nullptr);
~InsertHtmlDialog();
~InsertHtmlDialog() override;
Q_REQUIRED_RESULT QString html() const;
void setSelectedText(const QString &str);
......
......@@ -20,7 +20,7 @@ class InsertImageDialog : public QDialog
Q_OBJECT
public:
explicit InsertImageDialog(QWidget *parent = nullptr);
~InsertImageDialog();
~InsertImageDialog() override;
Q_REQUIRED_RESULT int imageWidth() const;
Q_REQUIRED_RESULT int imageHeight() const;
......
......@@ -20,7 +20,7 @@ class InsertImageWidget : public QWidget
Q_OBJECT
public:
explicit InsertImageWidget(QWidget *parent);
~InsertImageWidget();
~InsertImageWidget() override;
void setImageWidth(int value);
Q_REQUIRED_RESULT int imageWidth() const;
......
......@@ -19,7 +19,7 @@ class InsertTableDialog : public QDialog
Q_OBJECT
public:
explicit InsertTableDialog(QWidget *parent);
~InsertTableDialog();
~InsertTableDialog() override;
Q_REQUIRED_RESULT int columns() const;
Q_REQUIRED_RESULT int rows() const;
Q_REQUIRED_RESULT int border() const;
......
......@@ -19,7 +19,7 @@ class InsertTableWidget : public QWidget
Q_OBJECT
public:
explicit InsertTableWidget(QWidget *parent = nullptr);
~InsertTableWidget();
~InsertTableWidget() override;
Q_REQUIRED_RESULT int columns() const;
Q_REQUIRED_RESULT int rows() const;
Q_REQUIRED_RESULT int border() const;
......
......@@ -23,7 +23,7 @@ class KPIMTEXTEDIT_EXPORT SelectSpecialCharDialog : public QDialog
Q_OBJECT
public:
explicit SelectSpecialCharDialog(QWidget *parent);
~SelectSpecialCharDialog();
~SelectSpecialCharDialog() override;
void setCurrentChar(QChar c);
Q_REQUIRED_RESULT QChar currentChar() const;
......
......@@ -19,7 +19,7 @@ class TableActionMenu : public KActionMenu
Q_OBJECT
public:
explicit TableActionMenu(QTextEdit *textEdit);
~TableActionMenu();
~TableActionMenu() override;
void setRichTextMode(bool richTextMode);
......
......@@ -19,7 +19,7 @@ class TableCellFormatDialog : public QDialog
Q_OBJECT
public:
explicit TableCellFormatDialog(QWidget *parent);
~TableCellFormatDialog();
~TableCellFormatDialog() override;
/**
* @brief tableCellBackgroundColor
......
......@@ -19,7 +19,7 @@ class TableFormatDialog : public QDialog
Q_OBJECT
public:
explicit TableFormatDialog(QWidget *parent);
~TableFormatDialog();
~TableFormatDialog() override;
Q_REQUIRED_RESULT int columns() const;
Q_REQUIRED_RESULT int rows() const;
......
......@@ -20,7 +20,7 @@ class TextFindWidget : public QWidget
Q_OBJECT
public:
explicit TextFindWidget(QWidget *parent = nullptr);
~TextFindWidget();
~TextFindWidget() override;
Q_REQUIRED_RESULT QTextDocument::FindFlags searchOptions() const;
......
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