From 3a806d425270ddba1638877e132faae6f341c325 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Tue, 26 Mar 2013 15:56:33 +0100 Subject: Clean headers in TextEditor. Change-Id: Ie679e7e9d0d20a0f71dcc1fcf0f7d8305eeeeced Reviewed-by: Fawzi Mohamed --- src/plugins/texteditor/autocompleter.cpp | 1 - src/plugins/texteditor/autocompleter.h | 1 - src/plugins/texteditor/basefilefind.cpp | 11 ----------- src/plugins/texteditor/basehoverhandler.cpp | 5 ----- src/plugins/texteditor/basetextdocument.cpp | 6 ------ src/plugins/texteditor/basetexteditor.cpp | 14 -------------- src/plugins/texteditor/basetexteditor.h | 1 - src/plugins/texteditor/behaviorsettingswidget.cpp | 1 - src/plugins/texteditor/circularclipboardassist.cpp | 1 - .../texteditor/codeassist/defaultassistinterface.cpp | 1 - .../texteditor/codeassist/functionhintproposalwidget.cpp | 2 -- .../texteditor/codeassist/genericproposalwidget.cpp | 2 -- src/plugins/texteditor/codeassist/igenericproposalmodel.h | 2 +- .../texteditor/codeassist/keywordscompletionassist.cpp | 3 --- .../texteditor/codeassist/keywordscompletionassist.h | 3 --- .../texteditor/codeassist/quickfixassistprocessor.cpp | 1 - src/plugins/texteditor/codestyleselectorwidget.cpp | 6 ------ src/plugins/texteditor/displaysettingspage.cpp | 1 - src/plugins/texteditor/findincurrentfile.cpp | 1 + src/plugins/texteditor/findincurrentfile.h | 8 +++++--- src/plugins/texteditor/findinfiles.cpp | 2 -- src/plugins/texteditor/fontsettings.cpp | 2 -- src/plugins/texteditor/fontsettingspage.cpp | 8 -------- .../texteditor/generichighlighter/definitiondownloader.cpp | 1 - .../generichighlighter/highlightdefinitionhandler.cpp | 2 -- .../generichighlighter/highlightdefinitionhandler.h | 1 - src/plugins/texteditor/generichighlighter/highlighter.h | 1 - .../generichighlighter/highlightersettingspage.cpp | 1 - .../generichighlighter/managedefinitionsdialog.cpp | 5 ----- src/plugins/texteditor/generichighlighter/manager.cpp | 4 ---- src/plugins/texteditor/generichighlighter/progressdata.cpp | 2 -- src/plugins/texteditor/generichighlighter/rule.cpp | 3 --- src/plugins/texteditor/helpitem.cpp | 1 - src/plugins/texteditor/icodestylepreferences.cpp | 3 --- src/plugins/texteditor/indenter.h | 2 -- src/plugins/texteditor/itexteditor.h | 2 -- src/plugins/texteditor/itextmark.h | 1 - src/plugins/texteditor/outlinefactory.cpp | 2 -- src/plugins/texteditor/plaintexteditor.cpp | 4 ---- src/plugins/texteditor/plaintexteditorfactory.cpp | 4 ---- src/plugins/texteditor/refactoringchanges.cpp | 5 ----- src/plugins/texteditor/refactoroverlay.cpp | 1 - src/plugins/texteditor/semantichighlighter.h | 2 -- src/plugins/texteditor/simplecodestylepreferences.cpp | 1 - src/plugins/texteditor/simplecodestylepreferences.h | 1 - src/plugins/texteditor/snippets/snippeteditor.cpp | 2 -- src/plugins/texteditor/snippets/snippetssettingspage.cpp | 4 ---- src/plugins/texteditor/syntaxhighlighter.cpp | 7 ------- src/plugins/texteditor/tabsettings.h | 1 - src/plugins/texteditor/texteditoractionhandler.cpp | 5 ----- src/plugins/texteditor/texteditoractionhandler.h | 1 - src/plugins/texteditor/texteditorplugin.cpp | 9 --------- src/plugins/texteditor/texteditorsettings.cpp | 2 -- src/plugins/texteditor/textfilewizard.cpp | 2 -- src/plugins/texteditor/typingsettings.h | 1 - 55 files changed, 7 insertions(+), 159 deletions(-) (limited to 'src/plugins/texteditor') diff --git a/src/plugins/texteditor/autocompleter.cpp b/src/plugins/texteditor/autocompleter.cpp index 25aabaab4d..37d251e536 100644 --- a/src/plugins/texteditor/autocompleter.cpp +++ b/src/plugins/texteditor/autocompleter.cpp @@ -29,7 +29,6 @@ #include "autocompleter.h" #include "basetextdocumentlayout.h" -#include "texteditorsettings.h" #include "tabsettings.h" #include diff --git a/src/plugins/texteditor/autocompleter.h b/src/plugins/texteditor/autocompleter.h index c7923e8618..f18386adb2 100644 --- a/src/plugins/texteditor/autocompleter.h +++ b/src/plugins/texteditor/autocompleter.h @@ -32,7 +32,6 @@ #include "texteditor_global.h" -#include #include QT_BEGIN_NAMESPACE diff --git a/src/plugins/texteditor/basefilefind.cpp b/src/plugins/texteditor/basefilefind.cpp index 34b26dd93f..a29cc38626 100644 --- a/src/plugins/texteditor/basefilefind.cpp +++ b/src/plugins/texteditor/basefilefind.cpp @@ -34,34 +34,23 @@ #include #include #include -#include -#include #include -#include -#include #include #include #include -#include #include #include #include -#include #include #include #include #include #include #include -#include -#include #include #include -#include #include -#include -#include namespace TextEditor { namespace Internal { diff --git a/src/plugins/texteditor/basehoverhandler.cpp b/src/plugins/texteditor/basehoverhandler.cpp index b583e7cd55..e7a37ec0e4 100644 --- a/src/plugins/texteditor/basehoverhandler.cpp +++ b/src/plugins/texteditor/basehoverhandler.cpp @@ -30,13 +30,8 @@ #include "basehoverhandler.h" #include "itexteditor.h" #include "basetexteditor.h" -#include "displaysettings.h" #include -#include -#include -#include -#include #include #include diff --git a/src/plugins/texteditor/basetextdocument.cpp b/src/plugins/texteditor/basetextdocument.cpp index 120bac0670..9959b9b9b0 100644 --- a/src/plugins/texteditor/basetextdocument.cpp +++ b/src/plugins/texteditor/basetextdocument.cpp @@ -40,21 +40,15 @@ #include #include -#include #include #include #include #include -#include #include -#include -#include #include #include #include -#include -#include namespace TextEditor { class BaseTextDocumentPrivate diff --git a/src/plugins/texteditor/basetexteditor.cpp b/src/plugins/texteditor/basetexteditor.cpp index 24486e803b..18523cec0c 100644 --- a/src/plugins/texteditor/basetexteditor.cpp +++ b/src/plugins/texteditor/basetexteditor.cpp @@ -29,7 +29,6 @@ #include "basetexteditor.h" #include "basetexteditor_p.h" -#include "texteditor_global.h" #include "basetextdocument.h" #include "basetextdocumentlayout.h" @@ -39,8 +38,6 @@ #include "tabsettings.h" #include "typingsettings.h" #include "icodestylepreferences.h" -#include "texteditorconstants.h" -#include "texteditorplugin.h" #include "syntaxhighlighter.h" #include "indenter.h" #include "autocompleter.h" @@ -56,14 +53,9 @@ #include #include #include -#include #include -#include -#include #include #include -#include -#include #include #include #include @@ -75,30 +67,24 @@ #include #include -#include #include #include #include -#include #include #include #include #include -#include -#include #include #include #include #include #include #include -#include #include #include #include #include #include -#include #include #include #include diff --git a/src/plugins/texteditor/basetexteditor.h b/src/plugins/texteditor/basetexteditor.h index 730eb7b276..ce8c519cdb 100644 --- a/src/plugins/texteditor/basetexteditor.h +++ b/src/plugins/texteditor/basetexteditor.h @@ -34,7 +34,6 @@ #include "codeassist/assistenums.h" #include -#include #include #include diff --git a/src/plugins/texteditor/behaviorsettingswidget.cpp b/src/plugins/texteditor/behaviorsettingswidget.cpp index 69ee907c27..048eeace21 100644 --- a/src/plugins/texteditor/behaviorsettingswidget.cpp +++ b/src/plugins/texteditor/behaviorsettingswidget.cpp @@ -30,7 +30,6 @@ #include "behaviorsettingswidget.h" #include "ui_behaviorsettingswidget.h" -#include #include #include #include diff --git a/src/plugins/texteditor/circularclipboardassist.cpp b/src/plugins/texteditor/circularclipboardassist.cpp index 5d10d02be5..e742ae01a8 100644 --- a/src/plugins/texteditor/circularclipboardassist.cpp +++ b/src/plugins/texteditor/circularclipboardassist.cpp @@ -28,7 +28,6 @@ ****************************************************************************/ #include "circularclipboardassist.h" -#include "codeassist/iassistprovider.h" #include "codeassist/iassistinterface.h" #include "codeassist/iassistprocessor.h" #include "codeassist/iassistproposal.h" diff --git a/src/plugins/texteditor/codeassist/defaultassistinterface.cpp b/src/plugins/texteditor/codeassist/defaultassistinterface.cpp index d8a376d709..39bf978d27 100644 --- a/src/plugins/texteditor/codeassist/defaultassistinterface.cpp +++ b/src/plugins/texteditor/codeassist/defaultassistinterface.cpp @@ -31,7 +31,6 @@ #include -#include #include #include diff --git a/src/plugins/texteditor/codeassist/functionhintproposalwidget.cpp b/src/plugins/texteditor/codeassist/functionhintproposalwidget.cpp index c708b44947..84bcaa8357 100644 --- a/src/plugins/texteditor/codeassist/functionhintproposalwidget.cpp +++ b/src/plugins/texteditor/codeassist/functionhintproposalwidget.cpp @@ -39,10 +39,8 @@ #include #include #include -#include #include #include -#include namespace TextEditor { diff --git a/src/plugins/texteditor/codeassist/genericproposalwidget.cpp b/src/plugins/texteditor/codeassist/genericproposalwidget.cpp index 6f9571ec54..6422ffb10c 100644 --- a/src/plugins/texteditor/codeassist/genericproposalwidget.cpp +++ b/src/plugins/texteditor/codeassist/genericproposalwidget.cpp @@ -28,10 +28,8 @@ ****************************************************************************/ #include "genericproposalwidget.h" -#include "iassistprovider.h" #include "igenericproposalmodel.h" #include "iassistproposalitem.h" -#include "genericproposal.h" #include "codeassistant.h" #include diff --git a/src/plugins/texteditor/codeassist/igenericproposalmodel.h b/src/plugins/texteditor/codeassist/igenericproposalmodel.h index a2c5fd4652..9a4b60470c 100644 --- a/src/plugins/texteditor/codeassist/igenericproposalmodel.h +++ b/src/plugins/texteditor/codeassist/igenericproposalmodel.h @@ -35,7 +35,7 @@ #include -#include +QT_FORWARD_DECLARE_CLASS(QIcon) namespace TextEditor { diff --git a/src/plugins/texteditor/codeassist/keywordscompletionassist.cpp b/src/plugins/texteditor/codeassist/keywordscompletionassist.cpp index 03e0b1a925..e4b0f4d827 100644 --- a/src/plugins/texteditor/codeassist/keywordscompletionassist.cpp +++ b/src/plugins/texteditor/codeassist/keywordscompletionassist.cpp @@ -31,15 +31,12 @@ #include #include -#include #include #include #include "completionsettings.h" #include "texteditorsettings.h" #include "basetexteditor.h" -#include - using namespace TextEditor; // -------------------------- diff --git a/src/plugins/texteditor/codeassist/keywordscompletionassist.h b/src/plugins/texteditor/codeassist/keywordscompletionassist.h index 76c66c33a5..80aa1c8e04 100644 --- a/src/plugins/texteditor/codeassist/keywordscompletionassist.h +++ b/src/plugins/texteditor/codeassist/keywordscompletionassist.h @@ -34,9 +34,6 @@ #include "basicproposalitem.h" #include "ifunctionhintproposalmodel.h" -#include -#include - namespace TextEditor { class TEXTEDITOR_EXPORT Keywords diff --git a/src/plugins/texteditor/codeassist/quickfixassistprocessor.cpp b/src/plugins/texteditor/codeassist/quickfixassistprocessor.cpp index fa3e64017b..db90f5d4d1 100644 --- a/src/plugins/texteditor/codeassist/quickfixassistprocessor.cpp +++ b/src/plugins/texteditor/codeassist/quickfixassistprocessor.cpp @@ -37,7 +37,6 @@ // @TODO: Move... #include -#include #include using namespace TextEditor; diff --git a/src/plugins/texteditor/codestyleselectorwidget.cpp b/src/plugins/texteditor/codestyleselectorwidget.cpp index 41437c0c39..537fdd07fe 100644 --- a/src/plugins/texteditor/codestyleselectorwidget.cpp +++ b/src/plugins/texteditor/codestyleselectorwidget.cpp @@ -34,19 +34,13 @@ #include "codestylepool.h" #include "tabsettings.h" -#include -#include -#include #include -#include #include #include #include #include #include #include -#include -#include #include diff --git a/src/plugins/texteditor/displaysettingspage.cpp b/src/plugins/texteditor/displaysettingspage.cpp index dddd5e2535..3820f4f913 100644 --- a/src/plugins/texteditor/displaysettingspage.cpp +++ b/src/plugins/texteditor/displaysettingspage.cpp @@ -33,7 +33,6 @@ #include -#include #include using namespace TextEditor; diff --git a/src/plugins/texteditor/findincurrentfile.cpp b/src/plugins/texteditor/findincurrentfile.cpp index 0eb5377ad5..705fa3fcae 100644 --- a/src/plugins/texteditor/findincurrentfile.cpp +++ b/src/plugins/texteditor/findincurrentfile.cpp @@ -32,6 +32,7 @@ #include #include +#include #include #include diff --git a/src/plugins/texteditor/findincurrentfile.h b/src/plugins/texteditor/findincurrentfile.h index 7e369a7ff3..5e1cee5c81 100644 --- a/src/plugins/texteditor/findincurrentfile.h +++ b/src/plugins/texteditor/findincurrentfile.h @@ -32,11 +32,13 @@ #include "basefilefind.h" -#include -#include - #include +namespace Core { +class IEditor; +class IDocument; +} // namespace Core + namespace TextEditor { namespace Internal { diff --git a/src/plugins/texteditor/findinfiles.cpp b/src/plugins/texteditor/findinfiles.cpp index 4ca3a0bf54..f555b6fce3 100644 --- a/src/plugins/texteditor/findinfiles.cpp +++ b/src/plugins/texteditor/findinfiles.cpp @@ -35,13 +35,11 @@ #include #include #include -#include #include #include #include #include #include -#include using namespace Find; using namespace TextEditor; diff --git a/src/plugins/texteditor/fontsettings.cpp b/src/plugins/texteditor/fontsettings.cpp index 521df21d9c..6f9843c5c3 100644 --- a/src/plugins/texteditor/fontsettings.cpp +++ b/src/plugins/texteditor/fontsettings.cpp @@ -29,10 +29,8 @@ #include "fontsettings.h" #include "fontsettingspage.h" -#include "texteditorconstants.h" #include -#include #include #include diff --git a/src/plugins/texteditor/fontsettingspage.cpp b/src/plugins/texteditor/fontsettingspage.cpp index 090d6f72ba..80eb613577 100644 --- a/src/plugins/texteditor/fontsettingspage.cpp +++ b/src/plugins/texteditor/fontsettingspage.cpp @@ -29,9 +29,7 @@ #include "fontsettingspage.h" -#include "colorschemeedit.h" #include "fontsettings.h" -#include "texteditorconstants.h" #include "ui_fontsettingspage.h" #include @@ -41,17 +39,11 @@ #include #include #include -#include -#include #include #include #include -#include #include #include -#include -#include -#include namespace TextEditor { namespace Internal { diff --git a/src/plugins/texteditor/generichighlighter/definitiondownloader.cpp b/src/plugins/texteditor/generichighlighter/definitiondownloader.cpp index a328149018..484d52f4c8 100644 --- a/src/plugins/texteditor/generichighlighter/definitiondownloader.cpp +++ b/src/plugins/texteditor/generichighlighter/definitiondownloader.cpp @@ -33,7 +33,6 @@ #include #include -#include #include #include #include diff --git a/src/plugins/texteditor/generichighlighter/highlightdefinitionhandler.cpp b/src/plugins/texteditor/generichighlighter/highlightdefinitionhandler.cpp index b359240406..aa311b540c 100644 --- a/src/plugins/texteditor/generichighlighter/highlightdefinitionhandler.cpp +++ b/src/plugins/texteditor/generichighlighter/highlightdefinitionhandler.cpp @@ -33,9 +33,7 @@ #include "itemdata.h" #include "keywordlist.h" #include "context.h" -#include "reuse.h" #include "manager.h" -#include "highlighterexception.h" #include diff --git a/src/plugins/texteditor/generichighlighter/highlightdefinitionhandler.h b/src/plugins/texteditor/generichighlighter/highlightdefinitionhandler.h index 9f1c97eb5b..e9cfcd5795 100644 --- a/src/plugins/texteditor/generichighlighter/highlightdefinitionhandler.h +++ b/src/plugins/texteditor/generichighlighter/highlightdefinitionhandler.h @@ -31,7 +31,6 @@ #define HIGHLIGHTDEFINITIONHANDLER_H #include -#include #include #include diff --git a/src/plugins/texteditor/generichighlighter/highlighter.h b/src/plugins/texteditor/generichighlighter/highlighter.h index ad853c2315..dc3445663a 100644 --- a/src/plugins/texteditor/generichighlighter/highlighter.h +++ b/src/plugins/texteditor/generichighlighter/highlighter.h @@ -39,7 +39,6 @@ #include #include -#include #include namespace TextEditor { diff --git a/src/plugins/texteditor/generichighlighter/highlightersettingspage.cpp b/src/plugins/texteditor/generichighlighter/highlightersettingspage.cpp index 49b1f6046b..c04a5d72e9 100644 --- a/src/plugins/texteditor/generichighlighter/highlightersettingspage.cpp +++ b/src/plugins/texteditor/generichighlighter/highlightersettingspage.cpp @@ -34,7 +34,6 @@ #include "ui_highlightersettingspage.h" #include -#include #include diff --git a/src/plugins/texteditor/generichighlighter/managedefinitionsdialog.cpp b/src/plugins/texteditor/generichighlighter/managedefinitionsdialog.cpp index 7de036c564..2267f4e548 100644 --- a/src/plugins/texteditor/generichighlighter/managedefinitionsdialog.cpp +++ b/src/plugins/texteditor/generichighlighter/managedefinitionsdialog.cpp @@ -32,11 +32,6 @@ #include #include -#include -#include -#include -#include -#include #include #include #include diff --git a/src/plugins/texteditor/generichighlighter/manager.cpp b/src/plugins/texteditor/generichighlighter/manager.cpp index 8edb213d6d..1aff2ed287 100644 --- a/src/plugins/texteditor/generichighlighter/manager.cpp +++ b/src/plugins/texteditor/generichighlighter/manager.cpp @@ -39,12 +39,10 @@ #include "texteditorsettings.h" #include -#include #include #include #include -#include #include #include #include @@ -54,13 +52,11 @@ #include #include #include -#include #include #include #include #include #include -#include #include #include #include diff --git a/src/plugins/texteditor/generichighlighter/progressdata.cpp b/src/plugins/texteditor/generichighlighter/progressdata.cpp index a57a8468fe..246d846221 100644 --- a/src/plugins/texteditor/generichighlighter/progressdata.cpp +++ b/src/plugins/texteditor/generichighlighter/progressdata.cpp @@ -30,8 +30,6 @@ #include "progressdata.h" #include "rule.h" -#include - using namespace TextEditor; using namespace Internal; diff --git a/src/plugins/texteditor/generichighlighter/rule.cpp b/src/plugins/texteditor/generichighlighter/rule.cpp index 53cce34bc4..09955f93f4 100644 --- a/src/plugins/texteditor/generichighlighter/rule.cpp +++ b/src/plugins/texteditor/generichighlighter/rule.cpp @@ -28,13 +28,10 @@ ****************************************************************************/ #include "rule.h" -#include "highlighterexception.h" #include "progressdata.h" #include "highlightdefinition.h" #include "reuse.h" -#include - #include using namespace TextEditor; diff --git a/src/plugins/texteditor/helpitem.cpp b/src/plugins/texteditor/helpitem.cpp index b0add0536a..f247acdbab 100644 --- a/src/plugins/texteditor/helpitem.cpp +++ b/src/plugins/texteditor/helpitem.cpp @@ -33,7 +33,6 @@ #include #include -#include #include using namespace TextEditor; diff --git a/src/plugins/texteditor/icodestylepreferences.cpp b/src/plugins/texteditor/icodestylepreferences.cpp index 490877f910..5d7159bf78 100644 --- a/src/plugins/texteditor/icodestylepreferences.cpp +++ b/src/plugins/texteditor/icodestylepreferences.cpp @@ -30,12 +30,9 @@ #include "icodestylepreferences.h" #include "codestylepool.h" #include "tabsettings.h" -#include "texteditorconstants.h" - #include #include -#include using namespace TextEditor; diff --git a/src/plugins/texteditor/indenter.h b/src/plugins/texteditor/indenter.h index ee0fd6c83c..5f364b43d9 100644 --- a/src/plugins/texteditor/indenter.h +++ b/src/plugins/texteditor/indenter.h @@ -32,8 +32,6 @@ #include "texteditor_global.h" -#include - QT_BEGIN_NAMESPACE class QTextDocument; class QTextCursor; diff --git a/src/plugins/texteditor/itexteditor.h b/src/plugins/texteditor/itexteditor.h index 9de25811ab..60b84efe7d 100644 --- a/src/plugins/texteditor/itexteditor.h +++ b/src/plugins/texteditor/itexteditor.h @@ -36,8 +36,6 @@ #include -#include -#include #include #include diff --git a/src/plugins/texteditor/itextmark.h b/src/plugins/texteditor/itextmark.h index eb5a8b81c0..61cf6c1ed6 100644 --- a/src/plugins/texteditor/itextmark.h +++ b/src/plugins/texteditor/itextmark.h @@ -34,7 +34,6 @@ #include #include -#include #include QT_BEGIN_NAMESPACE diff --git a/src/plugins/texteditor/outlinefactory.cpp b/src/plugins/texteditor/outlinefactory.cpp index f8322c5ec3..c2eaad2675 100644 --- a/src/plugins/texteditor/outlinefactory.cpp +++ b/src/plugins/texteditor/outlinefactory.cpp @@ -31,9 +31,7 @@ #include #include #include -#include -#include #include #include #include diff --git a/src/plugins/texteditor/plaintexteditor.cpp b/src/plugins/texteditor/plaintexteditor.cpp index 64770e81c0..c0a8982208 100644 --- a/src/plugins/texteditor/plaintexteditor.cpp +++ b/src/plugins/texteditor/plaintexteditor.cpp @@ -29,13 +29,11 @@ #include "plaintexteditor.h" #include "tabsettings.h" -#include "texteditorconstants.h" #include "texteditorplugin.h" #include "texteditorsettings.h" #include "basetextdocument.h" #include "highlightdefinition.h" #include "highlighter.h" -#include "highlighterexception.h" #include "highlightersettings.h" #include "manager.h" #include "context.h" @@ -44,10 +42,8 @@ #include #include -#include #include -#include #include diff --git a/src/plugins/texteditor/plaintexteditorfactory.cpp b/src/plugins/texteditor/plaintexteditorfactory.cpp index 7609756b3d..d58827e367 100644 --- a/src/plugins/texteditor/plaintexteditorfactory.cpp +++ b/src/plugins/texteditor/plaintexteditorfactory.cpp @@ -33,12 +33,8 @@ #include "texteditorconstants.h" #include "texteditorplugin.h" #include "texteditoractionhandler.h" -#include "texteditorsettings.h" -#include "manager.h" -#include "highlightersettings.h" #include -#include #include #include diff --git a/src/plugins/texteditor/refactoringchanges.cpp b/src/plugins/texteditor/refactoringchanges.cpp index db870ee0e1..a79b31d660 100644 --- a/src/plugins/texteditor/refactoringchanges.cpp +++ b/src/plugins/texteditor/refactoringchanges.cpp @@ -30,14 +30,9 @@ #include "refactoringchanges.h" #include "basetexteditor.h" -#include -#include -#include - #include #include -#include #include #include #include diff --git a/src/plugins/texteditor/refactoroverlay.cpp b/src/plugins/texteditor/refactoroverlay.cpp index e2d729cbf6..0c31724c14 100644 --- a/src/plugins/texteditor/refactoroverlay.cpp +++ b/src/plugins/texteditor/refactoroverlay.cpp @@ -32,7 +32,6 @@ #include "basetexteditor.h" #include -#include #include diff --git a/src/plugins/texteditor/semantichighlighter.h b/src/plugins/texteditor/semantichighlighter.h index e068d3b351..a57de4eedd 100644 --- a/src/plugins/texteditor/semantichighlighter.h +++ b/src/plugins/texteditor/semantichighlighter.h @@ -33,8 +33,6 @@ #include "texteditor_global.h" #include -#include -#include #include #include diff --git a/src/plugins/texteditor/simplecodestylepreferences.cpp b/src/plugins/texteditor/simplecodestylepreferences.cpp index 73ab6341b4..1e183c1123 100644 --- a/src/plugins/texteditor/simplecodestylepreferences.cpp +++ b/src/plugins/texteditor/simplecodestylepreferences.cpp @@ -28,7 +28,6 @@ ****************************************************************************/ #include "simplecodestylepreferences.h" -#include "tabsettings.h" using namespace TextEditor; diff --git a/src/plugins/texteditor/simplecodestylepreferences.h b/src/plugins/texteditor/simplecodestylepreferences.h index 298dad1137..30e9f0d517 100644 --- a/src/plugins/texteditor/simplecodestylepreferences.h +++ b/src/plugins/texteditor/simplecodestylepreferences.h @@ -31,7 +31,6 @@ #define SIMPLECODESTYLEPREFERENCES_H #include "icodestylepreferences.h" -#include "tabsettings.h" namespace TextEditor { diff --git a/src/plugins/texteditor/snippets/snippeteditor.cpp b/src/plugins/texteditor/snippets/snippeteditor.cpp index f6093fb9b3..a179942783 100644 --- a/src/plugins/texteditor/snippets/snippeteditor.cpp +++ b/src/plugins/texteditor/snippets/snippeteditor.cpp @@ -31,9 +31,7 @@ #include #include -#include -#include #include using namespace TextEditor; diff --git a/src/plugins/texteditor/snippets/snippetssettingspage.cpp b/src/plugins/texteditor/snippets/snippetssettingspage.cpp index 724a6948e3..d9d2c72312 100644 --- a/src/plugins/texteditor/snippets/snippetssettingspage.cpp +++ b/src/plugins/texteditor/snippets/snippetssettingspage.cpp @@ -33,20 +33,16 @@ #include "snippet.h" #include "snippetscollection.h" #include "snippetssettings.h" -#include "reuse.h" #include "ui_snippetssettingspage.h" #include #include -#include #include #include #include #include -#include #include -#include #include namespace TextEditor { diff --git a/src/plugins/texteditor/syntaxhighlighter.cpp b/src/plugins/texteditor/syntaxhighlighter.cpp index 1a2776dc76..ed75207816 100644 --- a/src/plugins/texteditor/syntaxhighlighter.cpp +++ b/src/plugins/texteditor/syntaxhighlighter.cpp @@ -31,13 +31,6 @@ #include "basetextdocument.h" #include "basetextdocumentlayout.h" -#include -#include -#include -#include -#include -#include -#include #include #include diff --git a/src/plugins/texteditor/tabsettings.h b/src/plugins/texteditor/tabsettings.h index 312c685ab6..95071667df 100644 --- a/src/plugins/texteditor/tabsettings.h +++ b/src/plugins/texteditor/tabsettings.h @@ -32,7 +32,6 @@ #include "texteditor_global.h" -#include #include QT_BEGIN_NAMESPACE diff --git a/src/plugins/texteditor/texteditoractionhandler.cpp b/src/plugins/texteditor/texteditoractionhandler.cpp index ccfaf0fd7e..ea8a42cb37 100644 --- a/src/plugins/texteditor/texteditoractionhandler.cpp +++ b/src/plugins/texteditor/texteditoractionhandler.cpp @@ -40,15 +40,10 @@ #include #include #include -#include -#include -#include #include -#include #include #include -#include using namespace TextEditor; using namespace TextEditor::Internal; diff --git a/src/plugins/texteditor/texteditoractionhandler.h b/src/plugins/texteditor/texteditoractionhandler.h index 0a8f510b43..964ee91a1f 100644 --- a/src/plugins/texteditor/texteditoractionhandler.h +++ b/src/plugins/texteditor/texteditoractionhandler.h @@ -33,7 +33,6 @@ #include "texteditor_global.h" #include -#include #include #include diff --git a/src/plugins/texteditor/texteditorplugin.cpp b/src/plugins/texteditor/texteditorplugin.cpp index 0384ae2bc7..3ad315773e 100644 --- a/src/plugins/texteditor/texteditorplugin.cpp +++ b/src/plugins/texteditor/texteditorplugin.cpp @@ -34,7 +34,6 @@ #include "findinopenfiles.h" #include "fontsettings.h" #include "linenumberfilter.h" -#include "texteditorconstants.h" #include "texteditorsettings.h" #include "textfilewizard.h" #include "plaintexteditorfactory.h" @@ -42,22 +41,14 @@ #include "manager.h" #include "outlinefactory.h" #include "snippets/plaintextsnippetprovider.h" -#include "codeassist/assistenums.h" -#include "basetextmark.h" #include "basetextmarkregistry.h" #include -#include -#include #include #include -#include -#include -#include #include #include #include -#include #include #include diff --git a/src/plugins/texteditor/texteditorsettings.cpp b/src/plugins/texteditor/texteditorsettings.cpp index 877d337f99..6bbf02464f 100644 --- a/src/plugins/texteditor/texteditorsettings.cpp +++ b/src/plugins/texteditor/texteditorsettings.cpp @@ -28,7 +28,6 @@ ****************************************************************************/ #include "texteditorsettings.h" -#include "texteditorconstants.h" #include "basetexteditor.h" #include "behaviorsettings.h" @@ -41,7 +40,6 @@ #include "storagesettings.h" #include "tabsettings.h" #include "extraencodingsettings.h" -#include "texteditorplugin.h" #include "highlightersettingspage.h" #include "snippetssettingspage.h" #include "icodestylepreferences.h" diff --git a/src/plugins/texteditor/textfilewizard.cpp b/src/plugins/texteditor/textfilewizard.cpp index 7de7f18c1d..a2dbca480f 100644 --- a/src/plugins/texteditor/textfilewizard.cpp +++ b/src/plugins/texteditor/textfilewizard.cpp @@ -28,8 +28,6 @@ ****************************************************************************/ #include "textfilewizard.h" -#include "basetexteditor.h" -#include "texteditorconstants.h" #include using namespace TextEditor; diff --git a/src/plugins/texteditor/typingsettings.h b/src/plugins/texteditor/typingsettings.h index d02118ff55..10c5178188 100644 --- a/src/plugins/texteditor/typingsettings.h +++ b/src/plugins/texteditor/typingsettings.h @@ -32,7 +32,6 @@ #include "texteditor_global.h" -#include #include QT_BEGIN_NAMESPACE -- cgit v1.2.1