From 3decb2fc585acebe19657ecf623885f283ad701b Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Thu, 17 Oct 2019 14:28:12 +0200 Subject: [PATCH] texteditor: Remove unused forward declaration Change-Id: I5edbbbecef472230a81827aa0206533918d97230 Reviewed-by: Orgad Shaneh --- src/plugins/texteditor/codeassist/documentcontentcompletion.h | 2 -- src/plugins/texteditor/codeassist/functionhintproposal.h | 2 -- src/plugins/texteditor/highlighter.h | 1 - src/plugins/texteditor/icodestylepreferencesfactory.h | 1 - 4 files changed, 6 deletions(-) diff --git a/src/plugins/texteditor/codeassist/documentcontentcompletion.h b/src/plugins/texteditor/codeassist/documentcontentcompletion.h index ec80140d5e4..3ac3db00c2b 100644 --- a/src/plugins/texteditor/codeassist/documentcontentcompletion.h +++ b/src/plugins/texteditor/codeassist/documentcontentcompletion.h @@ -31,8 +31,6 @@ namespace TextEditor { -class AssistInterface; - class TEXTEDITOR_EXPORT DocumentContentCompletionProvider : public CompletionAssistProvider { Q_OBJECT diff --git a/src/plugins/texteditor/codeassist/functionhintproposal.h b/src/plugins/texteditor/codeassist/functionhintproposal.h index 2f2788aa4ad..255ee2ed318 100644 --- a/src/plugins/texteditor/codeassist/functionhintproposal.h +++ b/src/plugins/texteditor/codeassist/functionhintproposal.h @@ -30,8 +30,6 @@ namespace TextEditor { -class IFunctionHintProposalModel; - class TEXTEDITOR_EXPORT FunctionHintProposal : public IAssistProposal { public: diff --git a/src/plugins/texteditor/highlighter.h b/src/plugins/texteditor/highlighter.h index 33637070af3..e0ddc8132da 100644 --- a/src/plugins/texteditor/highlighter.h +++ b/src/plugins/texteditor/highlighter.h @@ -33,7 +33,6 @@ #include namespace TextEditor { -class FontSettings; class TextDocument; class Highlighter : public SyntaxHighlighter, public KSyntaxHighlighting::AbstractHighlighter diff --git a/src/plugins/texteditor/icodestylepreferencesfactory.h b/src/plugins/texteditor/icodestylepreferencesfactory.h index 07c6e0f308b..f55d5913ab1 100644 --- a/src/plugins/texteditor/icodestylepreferencesfactory.h +++ b/src/plugins/texteditor/icodestylepreferencesfactory.h @@ -35,7 +35,6 @@ namespace Core { class Id; } namespace TextEditor { class ICodeStylePreferences; -class SnippetProvider; class TEXTEDITOR_EXPORT CodeStyleEditorWidget : public QWidget {