Commit f6017b8d authored by Friedemann Kleint's avatar Friedemann Kleint

Clean headers in QmlJsTools.

Ran script to remove inludes on a trial-and-error basis and
manually corrected it.

Change-Id: I22fb33b8589dcd2f4b880eb320d7fa86de8a6f67
Reviewed-by: default avatarAurindam Jana <aurindam.jana@digia.com>
parent c46395f3
......@@ -30,7 +30,6 @@
#include "qmlconsoleedit.h"
#include "qmlconsoleitemmodel.h"
#include "qmlconsolemodel.h"
#include "qmlconsolemanager.h"
#include <utils/qtcassert.h>
......
......@@ -32,7 +32,6 @@
#include "qmlconsoleitemmodel.h"
#include "qmlconsolemodel.h"
#include "qmlconsolemanager.h"
#include <QStyledItemDelegate>
......
......@@ -29,8 +29,6 @@
#include "qmlconsoleitemmodel.h"
#include <utils/qtcassert.h>
#include <QFontMetrics>
#include <QFont>
......
......@@ -30,12 +30,9 @@
#include "qmlconsolepane.h"
#include "qmlconsoleview.h"
#include "qmlconsoleproxymodel.h"
#include "qmlconsoleitemmodel.h"
#include "qmlconsolemanager.h"
#include "qmlconsoleitemdelegate.h"
#include <coreplugin/icore.h>
#include <coreplugin/icontext.h>
#include <coreplugin/findplaceholder.h>
#include <utils/savedaction.h>
#include <aggregation/aggregate.h>
......
......@@ -41,7 +41,6 @@
#include <QClipboard>
#include <QAbstractProxyModel>
#include <QFileInfo>
#include <QUrl>
#include <QScrollBar>
#include <QStyleFactory>
#include <QString>
......
......@@ -30,25 +30,11 @@
#include "qmljsbundleprovider.h"
#include <coreplugin/icore.h>
#include <extensionsystem/pluginmanager.h>
#include <projectexplorer/kit.h>
#include <projectexplorer/kitmanager.h>
#include <projectexplorer/project.h>
#include <projectexplorer/projectexplorer.h>
#include <projectexplorer/target.h>
#include <qmljs/qmljsbundle.h>
#include <qmljs/qmljsdocument.h>
#include <qtsupport/qtkitinformation.h>
#include <qtsupport/qtsupportconstants.h>
#include <QDir>
#include <QFile>
#include <QHash>
#include <QHashIterator>
#include <QList>
#include <QMutex>
#include <QMutexLocker>
#include <QtAlgorithms>
namespace QmlJSTools {
......
......@@ -32,7 +32,6 @@
#include "qmljstoolsconstants.h"
#include "qmljsindenter.h"
#include <texteditor/simplecodestylepreferences.h>
#include <texteditor/tabsettings.h>
#include <texteditor/snippets/isnippetprovider.h>
#include <extensionsystem/pluginmanager.h>
#include <qmljseditor/qmljseditorconstants.h>
......
......@@ -35,7 +35,6 @@
#include "qmljsqtstylecodeformatter.h"
#include <texteditor/snippets/isnippetprovider.h>
#include <texteditor/fontsettings.h>
#include <texteditor/tabsettings.h>
#include <texteditor/simplecodestylepreferences.h>
#include <texteditor/displaysettings.h>
......
......@@ -30,20 +30,9 @@
#include "qmljsfindexportedcpptypes.h"
#include <qmljs/qmljsinterpreter.h>
#include <cplusplus/AST.h>
#include <cplusplus/TranslationUnit.h>
#include <cplusplus/ASTVisitor.h>
#include <cplusplus/ASTMatcher.h>
#include <cplusplus/ASTPatternBuilder.h>
#include <cplusplus/Overview.h>
#include <cplusplus/TypeOfExpression.h>
#include <cplusplus/Names.h>
#include <cplusplus/Literals.h>
#include <cplusplus/CoreTypes.h>
#include <cplusplus/Symbols.h>
#include <cplusplus/SimpleLexer.h>
#include <cpptools/ModelManagerInterface.h>
#include <utils/qtcassert.h>
#include <QDebug>
......
......@@ -30,7 +30,6 @@
#include "qmljsfunctionfilter.h"
#include "qmljslocatordata.h"
#include <texteditor/itexteditor.h>
#include <texteditor/basetexteditor.h>
#include <QStringMatcher>
......
......@@ -35,7 +35,6 @@
#include <QChar>
#include <QTextDocument>
#include <QTextBlock>
#include <QTextCursor>
using namespace QmlJSEditor;
using namespace Internal;
......
......@@ -35,28 +35,16 @@
#include "qmljsbundleprovider.h"
#include <coreplugin/icore.h>
#include <coreplugin/editormanager/editormanager.h>
#include <coreplugin/progressmanager/progressmanager.h>
#include <coreplugin/mimedatabase.h>
#include <coreplugin/messagemanager.h>
#include <cpptools/ModelManagerInterface.h>
#include <cplusplus/CppDocument.h>
#include <qmljs/qmljscontext.h>
#include <qmljs/qmljsbind.h>
#include <qmljs/qmljsbundle.h>
#include <qmljs/parser/qmldirparser_p.h>
#include <texteditor/itexteditor.h>
#include <texteditor/basetexteditor.h>
#include <projectexplorer/buildconfiguration.h>
#include <projectexplorer/kit.h>
#include <projectexplorer/kitinformation.h>
#include <projectexplorer/project.h>
#include <projectexplorer/projectexplorer.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <projectexplorer/session.h>
#include <projectexplorer/target.h>
#include <projectexplorer/toolchain.h>
#include <qtsupport/baseqtversion.h>
#include <qtsupport/qtkitinformation.h>
#include <qtsupport/qmldumptool.h>
#include <qtsupport/qtsupportconstants.h>
......@@ -66,11 +54,8 @@
#include <QDir>
#include <QFile>
#include <QFileInfo>
#include <QLibraryInfo>
#include <QtConcurrentRun>
#include <utils/runextensions.h>
#include <QTextStream>
#include <QCoreApplication>
#include <QTimer>
#include <QRegExp>
......
......@@ -30,14 +30,12 @@
#include "qmljsplugindumper.h"
#include "qmljsmodelmanager.h"
#include <qmljs/qmljsdocument.h>
#include <qmljs/qmljsinterpreter.h>
#include <projectexplorer/projectexplorer.h>
#include <coreplugin/messagemanager.h>
#include <utils/filesystemwatcher.h>
#include <utils/fileutils.h>
#include <QMetaType>
#include <QDir>
using namespace LanguageUtils;
......
......@@ -29,13 +29,10 @@
#include "qmljsrefactoringchanges.h"
#include "qmljsqtstylecodeformatter.h"
#include "qmljstoolsconstants.h"
#include "qmljsmodelmanager.h"
#include "qmljsindenter.h"
#include <qmljs/parser/qmljsast_p.h>
#include <qmljs/qmljsmodelmanagerinterface.h>
#include <texteditor/texteditorsettings.h>
#include <texteditor/tabsettings.h>
#include <projectexplorer/editorconfiguration.h>
......
......@@ -29,21 +29,10 @@
#include "qmljstoolsplugin.h"
#include <QScopedPointer>
#include <QLatin1String>
#include <QGraphicsObject>
#include <QApplication>
#include <QSettings>
#include <QFileInfo>
#include <coreplugin/icore.h>
#include <qmljs/qmljsinterpreter.h>
#include <qmljs/qmljsdocument.h>
#include <qmljs/qmljsbind.h>
#include <qmljs/qmljscontext.h>
#include <qmljs/qmljslink.h>
#include <qmljs/parser/qmljsast_p.h>
#include <qmljstools/qmljsrefactoringchanges.h>
#include <qmljstools/qmljsmodelmanager.h>
#include <QtTest>
......
......@@ -37,20 +37,14 @@
#include "qmlconsolemanager.h"
#include "qmljsbundleprovider.h"
#include <extensionsystem/pluginmanager.h>
#include <coreplugin/icore.h>
#include <coreplugin/coreconstants.h>
#include <coreplugin/actionmanager/actionmanager.h>
#include <coreplugin/actionmanager/actioncontainer.h>
#include <coreplugin/actionmanager/command.h>
#include <coreplugin/progressmanager/progressmanager.h>
#include <QtPlugin>
#include <QFileInfo>
#include <QDir>
#include <QDebug>
#include <QSettings>
#include <QMenu>
using namespace QmlJSTools;
......
......@@ -31,10 +31,6 @@
#define QMLJSTOOLS_H
#include <extensionsystem/iplugin.h>
#include <projectexplorer/projectexplorer.h>
#include <QTextDocument>
#include <QSharedPointer>
QT_BEGIN_NAMESPACE
class QFileInfo;
......
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