Commit e59ad83d authored by Friedemann Kleint's avatar Friedemann Kleint

Clean headers in Designer.

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

Change-Id: Ia97b5bd9e4496cd824f35c5fda8ccf0db9af471c
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@digia.com>
parent 5b1812ee
......@@ -30,20 +30,10 @@
#include "codemodelhelpers.h"
#include <cpptools/ModelManagerInterface.h>
#include <cplusplus/Symbols.h>
#include <cplusplus/CoreTypes.h>
#include <cplusplus/Name.h>
#include <cplusplus/Names.h>
#include <cplusplus/Literals.h>
#include <cplusplus/Scope.h>
#include <cplusplus/Control.h>
#include <cplusplus/SymbolVisitor.h>
#include <coreplugin/icore.h>
#include <projectexplorer/projectexplorer.h>
#include <projectexplorer/project.h>
#include <projectexplorer/session.h>
#include <utils/qtcassert.h>
#include <QCoreApplication>
#include <QDebug>
......
......@@ -30,15 +30,12 @@
#include "formclasswizard.h"
#include "formclasswizarddialog.h"
#include "designerconstants.h"
#include "formwindoweditor.h"
#include "qtdesignerformclasscodegenerator.h"
#include <qtsupport/qtsupportconstants.h>
#include <coreplugin/icore.h>
#include <cppeditor/cppeditorconstants.h>
#include <QDebug>
#include <QSettings>
namespace Designer {
namespace Internal {
......
......@@ -35,7 +35,6 @@
#include <coreplugin/basefilewizard.h>
#include <QDebug>
#include <QAbstractButton>
enum { FormPageId, ClassPageId };
......
......@@ -33,13 +33,10 @@
#include <coreplugin/icore.h>
#include <coreplugin/mimedatabase.h>
#include <cppeditor/cppeditorconstants.h>
#include <cpptools/cpptoolsconstants.h>
#include <QDebug>
#include <QSettings>
#include <QAbstractButton>
#include <QMessageBox>
namespace Designer {
......
......@@ -28,7 +28,6 @@
****************************************************************************/
#include "designercontext.h"
#include "designerconstants.h"
#include "formeditorw.h"
#include <QDesignerFormEditorInterface>
......@@ -41,7 +40,6 @@
#include <QWidget>
#include <QDebug>
#include <QSettings>
enum { debug = 0 };
......
......@@ -32,8 +32,6 @@
#include <coreplugin/icontext.h>
#include <QList>
namespace Designer {
namespace Internal {
......
......@@ -33,9 +33,6 @@
#include <coreplugin/editormanager/ieditor.h>
#include <utils/qtcassert.h>
#include <QVBoxLayout>
#include <QDockWidget>
#include <QAbstractItemView>
......
......@@ -31,18 +31,15 @@
#include "formeditorw.h"
#include "formwindoweditor.h"
#include "editordata.h"
#include "designerconstants.h"
#include "designerxmleditor.h"
#include <coreplugin/coreconstants.h>
#include <coreplugin/icore.h>
#include <coreplugin/infobar.h>
#include <coreplugin/fileiconprovider.h>
#include <coreplugin/editormanager/editormanager.h>
#include <coreplugin/modemanager.h>
#include <QCoreApplication>
#include <QFileInfo>
#include <QDebug>
using namespace Designer::Constants;
......
......@@ -38,26 +38,18 @@
#endif
#include "settingspage.h"
#include "designerconstants.h"
#include "qtdesignerformclasscodegenerator.h"
#include <coreplugin/icore.h>
#include <coreplugin/mimedatabase.h>
#include <coreplugin/coreconstants.h>
#include <coreplugin/designmode.h>
#include <coreplugin/id.h>
#include <extensionsystem/pluginmanager.h>
#include <QDebug>
#include <QLibraryInfo>
#include <QTranslator>
#include <QtPlugin>
#ifdef CPP_ENABLED
# include <QWizard>
# include <QMainWindow>
#endif
using namespace Designer::Internal;
using namespace Designer::Constants;
......
......@@ -30,7 +30,6 @@
#include "formeditorstack.h"
#include "formwindoweditor.h"
#include "formeditorw.h"
#include "designerconstants.h"
#include <widgethost.h>
......@@ -46,7 +45,6 @@
#include <QDesignerPropertyEditorInterface>
#include <QDebug>
#include <QVariant>
#include <QRect>
namespace Designer {
......
......@@ -34,7 +34,6 @@
#include <QStackedWidget>
#include <QList>
#include <QString>
QT_BEGIN_NAMESPACE
class QDesignerFormWindowInterface;
......
......@@ -29,7 +29,6 @@
#include "formeditorw.h"
#include "formwindoweditor.h"
#include "designerconstants.h"
#include "settingsmanager.h"
#include "settingspage.h"
#include "editorwidget.h"
......@@ -47,14 +46,10 @@
#include <coreplugin/helpmanager.h>
#include <coreplugin/actionmanager/actionmanager.h>
#include <coreplugin/actionmanager/actioncontainer.h>
#include <coreplugin/actionmanager/command.h>
#include <coreplugin/id.h>
#include <coreplugin/editormanager/editormanager.h>
#include <coreplugin/minisplitter.h>
#include <coreplugin/mimedatabase.h>
#include <coreplugin/outputpane.h>
#include <texteditor/texteditorsettings.h>
#include <extensionsystem/pluginmanager.h>
#include <cpptools/cpptoolsconstants.h>
#include <utils/qtcassert.h>
......@@ -81,7 +76,6 @@
#include <QApplication>
#include <QCursor>
#include <QDockWidget>
#include <QMenu>
#include <QMessageBox>
#include <QKeySequence>
#include <QPrintDialog>
......
......@@ -37,7 +37,6 @@
#include <QMap>
#include <QObject>
#include <QStringList>
QT_BEGIN_NAMESPACE
......
......@@ -29,7 +29,6 @@
#include "formtemplatewizardpage.h"
#include "formeditorw.h"
#include "designerconstants.h"
#if QT_VERSION >= 0x050000
# include <QDesignerNewFormWidgetInterface>
......@@ -45,7 +44,6 @@
#include <QVBoxLayout>
#include <QMessageBox>
#include <QAbstractButton>
#ifdef USE_XSLT
# include <QXmlQuery>
......
......@@ -32,17 +32,11 @@
#include "designerconstants.h"
#include "resourcehandler.h"
#include "designerxmleditor.h"
#include <widgethost.h>
#include <coreplugin/editormanager/editormanager.h>
#include <coreplugin/icore.h>
#include <coreplugin/coreconstants.h>
#include <coreplugin/mimedatabase.h>
#include <texteditor/basetextdocument.h>
#include <texteditor/plaintexteditor.h>
#include <utils/qtcassert.h>
#include <utils/fileutils.h>
#if QT_VERSION >= 0x050000
# include <QDesignerFormWindowInterface>
......@@ -53,7 +47,6 @@
#include <QDebug>
#include <QFileInfo>
#include <QFile>
#include <QApplication>
namespace Designer {
......
......@@ -30,9 +30,6 @@
#include "formwindowfile.h"
#include "designerconstants.h"
#include <coreplugin/icore.h>
#include <utils/reloadpromptutils.h>
#include <utils/fileutils.h>
#include <utils/qtcassert.h>
#include <QDesignerFormWindowInterface>
......@@ -42,12 +39,9 @@
# include "qt_private/qsimpleresource_p.h"
#endif
#include <QMessageBox>
#include <QUndoStack>
#include <QFile>
#include <QFileInfo>
#include <QByteArray>
#include <QDebug>
#include <QTextCodec>
......
......@@ -29,7 +29,6 @@
#include "formwizard.h"
#include "formwizarddialog.h"
#include "formwindoweditor.h"
#include "designerconstants.h"
#include <qtsupport/qtsupportconstants.h>
......
......@@ -29,9 +29,7 @@
#include "formwizarddialog.h"
#include "formtemplatewizardpage.h"
#include "formeditorw.h"
#include <coreplugin/icore.h>
#include <coreplugin/basefilewizard.h>
#include <utils/filewizardpage.h>
......
......@@ -28,37 +28,21 @@
****************************************************************************/
#include "qtcreatorintegration.h"
#include "formeditorplugin.h"
#include "formwindoweditor.h"
#include "formclasswizardpage.h"
#include "formeditorw.h"
#include "editordata.h"
#include "codemodelhelpers.h"
#include <widgethost.h>
#include <cpptools/cpprefactoringchanges.h>
#include <cpptools/cpptoolsconstants.h>
#include <cpptools/insertionpointlocator.h>
#include <cpptools/symbolfinder.h>
#include <cpptools/ModelManagerInterface.h>
#include <cplusplus/Symbols.h>
#include <cplusplus/Overview.h>
#include <cplusplus/CoreTypes.h>
#include <cplusplus/Name.h>
#include <cplusplus/Names.h>
#include <cplusplus/Literals.h>
#include <cplusplus/Scope.h>
#include <cplusplus/Control.h>
#include <cplusplus/TranslationUnit.h>
#include <coreplugin/icore.h>
#include <coreplugin/mimedatabase.h>
#include <coreplugin/editormanager/editormanager.h>
#include <extensionsystem/pluginmanager.h>
#include <texteditor/basetexteditor.h>
#include <projectexplorer/projectexplorer.h>
#include <projectexplorer/session.h>
#include <utils/qtcassert.h>
#include <utils/fileutils.h>
#include <QDesignerFormWindowInterface>
#include <QDesignerFormEditorInterface>
......
......@@ -30,7 +30,7 @@
#ifndef QTCREATORINTEGRATION_H
#define QTCREATORINTEGRATION_H
#include <cpptools/ModelManagerInterface.h>
#include <QtGlobal>
#if QT_VERSION >= 0x050000
# include <QDesignerIntegration>
......
......@@ -39,7 +39,6 @@
#include <QSettings>
#include <QFileInfo>
#include <QDebug>
#include <QSharedData>
static const char uiMemberC[] = "ui";
static const char uiNamespaceC[] = "Ui";
......
......@@ -28,7 +28,6 @@
****************************************************************************/
#include "settingsmanager.h"
#include "designerconstants.h"
#include <coreplugin/icore.h>
#include <utils/qtcassert.h>
......
......@@ -28,10 +28,8 @@
****************************************************************************/
#include "settingspage.h"
#include "designerconstants.h"
#include "formeditorw.h"
#include <extensionsystem/pluginmanager.h>
#if QT_VERSION >= 0x050000
# include <QDesignerOptionsPageInterface>
#else
......@@ -39,7 +37,6 @@
#endif
#include <QCoreApplication>
#include <QIcon>
using namespace Designer::Internal;
......
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