aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/texteditor
diff options
context:
space:
mode:
authorLaurent Montel <laurent.montel@kdab.com>2017-09-25 15:03:13 +0200
committerLaurent Montel <laurent.montel@kdab.com>2017-09-28 09:39:46 +0000
commit227acdea75a0f63e82da95dbdac2e984659a6202 (patch)
tree8ab2790c7dbfd3ce1d43d59e04f409714ace755c /src/plugins/texteditor
parentf7924757394069d47310e6fcf2471f7bdb7a9d96 (diff)
TextEditor: Clean forward declaration
Change-Id: If338617551893e3ce3c7a68ff1abfc60de8cf610 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/texteditor')
-rw-r--r--src/plugins/texteditor/basefilefind.h6
-rw-r--r--src/plugins/texteditor/codeassist/assistproposalitem.h1
-rw-r--r--src/plugins/texteditor/codeassist/assistproposaliteminterface.h2
-rw-r--r--src/plugins/texteditor/codeassist/codeassistant.h1
-rw-r--r--src/plugins/texteditor/codeassist/iassistprocessor.h1
-rw-r--r--src/plugins/texteditor/codeassist/iassistproposalmodel.h1
-rw-r--r--src/plugins/texteditor/codestyleselectorwidget.h8
-rw-r--r--src/plugins/texteditor/findinfiles.h2
-rw-r--r--src/plugins/texteditor/generichighlighter/manager.h1
-rw-r--r--src/plugins/texteditor/icodestylepreferencesfactory.h1
-rw-r--r--src/plugins/texteditor/semantichighlighter.h4
-rw-r--r--src/plugins/texteditor/texteditor.h2
-rw-r--r--src/plugins/texteditor/texteditor_p.h2
-rw-r--r--src/plugins/texteditor/texteditorsettings.h1
-rw-r--r--src/plugins/texteditor/textmark.h1
15 files changed, 1 insertions, 33 deletions
diff --git a/src/plugins/texteditor/basefilefind.h b/src/plugins/texteditor/basefilefind.h
index 56bbb4e5fd..d921b4f2f0 100644
--- a/src/plugins/texteditor/basefilefind.h
+++ b/src/plugins/texteditor/basefilefind.h
@@ -33,15 +33,9 @@
#include <QFuture>
-QT_BEGIN_NAMESPACE
-class QLabel;
-class QComboBox;
-QT_END_NAMESPACE
-
namespace Utils { class FileIterator; }
namespace Core {
class IEditor;
-class IFindSupport;
class SearchResult;
class SearchResultItem;
} // namespace Core
diff --git a/src/plugins/texteditor/codeassist/assistproposalitem.h b/src/plugins/texteditor/codeassist/assistproposalitem.h
index 8d957a2f81..286eef67dc 100644
--- a/src/plugins/texteditor/codeassist/assistproposalitem.h
+++ b/src/plugins/texteditor/codeassist/assistproposalitem.h
@@ -35,7 +35,6 @@
namespace TextEditor {
-class TextEditorWidget;
class TEXTEDITOR_EXPORT AssistProposalItem : public AssistProposalItemInterface
{
diff --git a/src/plugins/texteditor/codeassist/assistproposaliteminterface.h b/src/plugins/texteditor/codeassist/assistproposaliteminterface.h
index 69bc1d91e3..a4f925f4d9 100644
--- a/src/plugins/texteditor/codeassist/assistproposaliteminterface.h
+++ b/src/plugins/texteditor/codeassist/assistproposaliteminterface.h
@@ -32,14 +32,12 @@
QT_BEGIN_NAMESPACE
class QIcon;
class QString;
-class QVariant;
QT_END_NAMESPACE
#include <QString>
namespace TextEditor {
-class TextEditorWidget;
class TEXTEDITOR_EXPORT AssistProposalItemInterface
{
diff --git a/src/plugins/texteditor/codeassist/codeassistant.h b/src/plugins/texteditor/codeassist/codeassistant.h
index 64e507f49b..46ffa9a85c 100644
--- a/src/plugins/texteditor/codeassist/codeassistant.h
+++ b/src/plugins/texteditor/codeassist/codeassistant.h
@@ -34,7 +34,6 @@
namespace TextEditor {
class CodeAssistantPrivate;
-class CompletionSettings;
class IAssistProvider;
class TextEditorWidget;
diff --git a/src/plugins/texteditor/codeassist/iassistprocessor.h b/src/plugins/texteditor/codeassist/iassistprocessor.h
index d2c618ac4b..a05c0bf826 100644
--- a/src/plugins/texteditor/codeassist/iassistprocessor.h
+++ b/src/plugins/texteditor/codeassist/iassistprocessor.h
@@ -31,7 +31,6 @@
namespace TextEditor {
-class IAssistProvider;
class AssistInterface;
class IAssistProposal;
diff --git a/src/plugins/texteditor/codeassist/iassistproposalmodel.h b/src/plugins/texteditor/codeassist/iassistproposalmodel.h
index 7519636393..fdb6289ce1 100644
--- a/src/plugins/texteditor/codeassist/iassistproposalmodel.h
+++ b/src/plugins/texteditor/codeassist/iassistproposalmodel.h
@@ -31,7 +31,6 @@ QT_FORWARD_DECLARE_CLASS(QString)
namespace TextEditor {
-class AssistProposalItem;
class TEXTEDITOR_EXPORT IAssistProposalModel
{
diff --git a/src/plugins/texteditor/codestyleselectorwidget.h b/src/plugins/texteditor/codestyleselectorwidget.h
index 05ae0c41d8..f498ecacd7 100644
--- a/src/plugins/texteditor/codestyleselectorwidget.h
+++ b/src/plugins/texteditor/codestyleselectorwidget.h
@@ -29,14 +29,6 @@
#include <QWidget>
-QT_BEGIN_NAMESPACE
-class QHBoxLayout;
-class QComboBox;
-class QLabel;
-class QCheckBox;
-class QPushButton;
-QT_END_NAMESPACE
-
namespace TextEditor {
namespace Internal { namespace Ui { class CodeStyleSelectorWidget; } }
diff --git a/src/plugins/texteditor/findinfiles.h b/src/plugins/texteditor/findinfiles.h
index ab8d93bad7..f5df340ebd 100644
--- a/src/plugins/texteditor/findinfiles.h
+++ b/src/plugins/texteditor/findinfiles.h
@@ -33,7 +33,7 @@
#include <QStringListModel>
QT_BEGIN_NAMESPACE
-class QLabel;
+class QComboBox;
class QStackedWidget;
QT_END_NAMESPACE
diff --git a/src/plugins/texteditor/generichighlighter/manager.h b/src/plugins/texteditor/generichighlighter/manager.h
index 5b602d2e03..080e649e3a 100644
--- a/src/plugins/texteditor/generichighlighter/manager.h
+++ b/src/plugins/texteditor/generichighlighter/manager.h
@@ -38,7 +38,6 @@
QT_BEGIN_NAMESPACE
class QFileInfo;
-class QStringList;
class QIODevice;
template <class> class QFutureInterface;
QT_END_NAMESPACE
diff --git a/src/plugins/texteditor/icodestylepreferencesfactory.h b/src/plugins/texteditor/icodestylepreferencesfactory.h
index 0e9b1b8d8f..f9d534376f 100644
--- a/src/plugins/texteditor/icodestylepreferencesfactory.h
+++ b/src/plugins/texteditor/icodestylepreferencesfactory.h
@@ -33,7 +33,6 @@ namespace Core { class Id; }
namespace TextEditor {
class ICodeStylePreferences;
-class CodeStylePool;
class Indenter;
class SnippetProvider;
diff --git a/src/plugins/texteditor/semantichighlighter.h b/src/plugins/texteditor/semantichighlighter.h
index 1ffc03d76a..f57b037957 100644
--- a/src/plugins/texteditor/semantichighlighter.h
+++ b/src/plugins/texteditor/semantichighlighter.h
@@ -33,10 +33,6 @@
#include <QFuture>
#include <QTextCharFormat>
-QT_BEGIN_NAMESPACE
-class QTextDocument;
-QT_END_NAMESPACE
-
namespace TextEditor {
class SyntaxHighlighter;
diff --git a/src/plugins/texteditor/texteditor.h b/src/plugins/texteditor/texteditor.h
index b5365ad327..b2f3d0a9fa 100644
--- a/src/plugins/texteditor/texteditor.h
+++ b/src/plugins/texteditor/texteditor.h
@@ -52,11 +52,9 @@ QT_END_NAMESPACE
namespace TextEditor {
class TextDocument;
class BaseHoverHandler;
-class TabSettings;
class RefactorOverlay;
struct RefactorMarker;
class SyntaxHighlighter;
-class IAssistMonitorInterface;
class AssistInterface;
class IAssistProvider;
class ICodeStylePreferences;
diff --git a/src/plugins/texteditor/texteditor_p.h b/src/plugins/texteditor/texteditor_p.h
index ec2ad4ab7f..09a9cf2a12 100644
--- a/src/plugins/texteditor/texteditor_p.h
+++ b/src/plugins/texteditor/texteditor_p.h
@@ -35,8 +35,6 @@ namespace TextEditor {
class TextDocument;
namespace Internal {
-class TextEditorOverlay;
-class ClipboardAssistProvider;
class TEXTEDITOR_EXPORT TextBlockSelection
{
diff --git a/src/plugins/texteditor/texteditorsettings.h b/src/plugins/texteditor/texteditorsettings.h
index 2c0ce20fab..656d585684 100644
--- a/src/plugins/texteditor/texteditorsettings.h
+++ b/src/plugins/texteditor/texteditorsettings.h
@@ -39,7 +39,6 @@ QT_END_NAMESPACE
namespace TextEditor {
class FontSettings;
-class TabSettings;
class TypingSettings;
class StorageSettings;
class BehaviorSettings;
diff --git a/src/plugins/texteditor/textmark.h b/src/plugins/texteditor/textmark.h
index f8cd36b131..d9c09ee513 100644
--- a/src/plugins/texteditor/textmark.h
+++ b/src/plugins/texteditor/textmark.h
@@ -42,7 +42,6 @@ QT_END_NAMESPACE
namespace TextEditor {
-class BaseTextEditor;
class TextDocument;
class TEXTEDITOR_EXPORT TextMark