Commit cf5e615f authored by Friedemann Kleint's avatar Friedemann Kleint Committed by Eike Ziller

Clean headers in Core-plugin.

Change-Id: Ie79d334765ca5c6a034fa2f5eccff5d45b481975
Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
parent 3a806d42
......@@ -28,11 +28,8 @@
****************************************************************************/
#include "actioncontainer_p.h"
#include "actionmanager_p.h"
#include "actionmanager.h"
#include "command_p.h"
#include "coreconstants.h"
#include "id.h"
......
......@@ -30,7 +30,6 @@
#ifndef ACTIONCONTAINER_H
#define ACTIONCONTAINER_H
#include "coreplugin/id.h"
#include "coreplugin/icontext.h"
#include <QObject>
......
......@@ -34,13 +34,10 @@
#include "command_p.h"
#include "id.h"
#include <coreplugin/coreconstants.h>
#include <coreplugin/icore.h>
#include <utils/qtcassert.h>
#include <QDebug>
#include <QSettings>
#include <QDesktopWidget>
#include <QLabel>
#include <QMenu>
#include <QAction>
......
......@@ -33,7 +33,6 @@
#include "coreplugin/core_global.h"
#include "coreplugin/id.h"
#include <coreplugin/actionmanager/command.h>
#include "coreplugin/icontext.h"
#include <QObject>
#include <QList>
......
......@@ -29,7 +29,6 @@
#include "command_p.h"
#include "icore.h"
#include "icontext.h"
#include "id.h"
......
......@@ -30,7 +30,6 @@
#include "commandbutton.h"
#include <coreplugin/actionmanager/actionmanager.h>
#include <coreplugin/actionmanager/command.h>
#include <utils/proxyaction.h>
using namespace Core;
......
......@@ -31,20 +31,11 @@
#include "shortcutsettings.h"
#include "ui_commandmappings.h"
#include "commandsfile.h"
#include "coreconstants.h"
#include "documentmanager.h"
#include "icore.h"
#include "id.h"
#include <utils/hostosinfo.h>
#include <utils/headerviewstretcher.h>
#include <QKeyEvent>
#include <QShortcut>
#include <QHeaderView>
#include <QTreeWidgetItem>
#include <QFileDialog>
#include <QCoreApplication>
#include <QDebug>
Q_DECLARE_METATYPE(Core::Internal::ShortcutItem*)
......
......@@ -33,12 +33,11 @@
#include <app/app_version.h>
#include <coreplugin/id.h>
#include <utils/qtcassert.h>
#include <utils/fileutils.h>
#include <QKeySequence>
#include <QFile>
#include <QXmlStreamAttributes>
#include <QXmlStreamWriter>
......
......@@ -33,7 +33,8 @@
#include <QObject>
#include <QString>
#include <QMap>
#include <QKeySequence>
QT_FORWARD_DECLARE_CLASS(QKeySequence)
namespace Core {
namespace Internal {
......
......@@ -28,8 +28,6 @@
****************************************************************************/
#include "basefilewizard.h"
#include "coreconstants.h"
#include "icore.h"
#include "ifilewizardextension.h"
#include "mimedatabase.h"
......@@ -39,17 +37,13 @@
#include <utils/filewizarddialog.h>
#include <utils/qtcassert.h>
#include <utils/stringutils.h>
#include <utils/fileutils.h>
#include <utils/hostosinfo.h>
#include <QDir>
#include <QFile>
#include <QFileInfo>
#include <QVector>
#include <QDebug>
#include <QSharedData>
#include <QEventLoop>
#include <QSharedPointer>
#include <QScopedPointer>
#include <QMessageBox>
......
......@@ -32,6 +32,7 @@
#include "core_global.h"
#include "generatedfile.h"
#include "featureprovider.h"
#include <coreplugin/dialogs/iwizard.h>
......
......@@ -39,7 +39,6 @@
#include "modemanager.h"
#include "infobar.h"
#include <extensionsystem/pluginmanager.h>
#include <utils/savefile.h>
#include <QtPlugin>
......
......@@ -32,24 +32,15 @@
#include <coreplugin/icore.h>
#include <coreplugin/modemanager.h>
#include <coreplugin/editormanager/editormanager.h>
#include <coreplugin/editormanager/openeditorsmodel.h>
#include <coreplugin/actionmanager/actionmanager.h>
#include <coreplugin/actionmanager/command.h>
#include <coreplugin/coreconstants.h>
#include <coreplugin/mimedatabase.h>
#include <coreplugin/icorelistener.h>
#include <coreplugin/editormanager/ieditor.h>
#include <extensionsystem/pluginmanager.h>
#include <utils/qtcassert.h>
#include <QPair>
#include <QFileInfo>
#include <QPointer>
#include <QStringList>
#include <QDebug>
#include <QAction>
#include <QPlainTextEdit>
#include <QStackedWidget>
static Core::DesignMode *m_instance = 0;
......
......@@ -40,9 +40,7 @@
#include <coreplugin/variablemanager.h>
#include <QTextStream>
#include <QFile>
#include <QMimeData>
#include <QMessageBox>
#include <QMenu>
using namespace Core;
......
......@@ -29,6 +29,7 @@
#include "iwizard.h"
#include "icore.h"
#include "featureprovider.h"
#include <extensionsystem/pluginmanager.h>
......
......@@ -31,7 +31,6 @@
#define IWIZARD_H
#include <coreplugin/core_global.h>
#include <coreplugin/featureprovider.h>
#include <QObject>
#include <QVariantMap>
......@@ -42,6 +41,8 @@ QT_END_NAMESPACE
namespace Core {
class FeatureSet;
class CORE_EXPORT IWizard
: public QObject
{
......
......@@ -29,17 +29,12 @@
#include "newdialog.h"
#include "ui_newdialog.h"
#include "basefilewizard.h"
#include <utils/stylehelper.h>
#include <coreplugin/coreconstants.h>
#include <coreplugin/featureprovider.h>
#include <QModelIndex>
#include <QAbstractProxyModel>
#include <QSortFilterProxyModel>
#include <QItemSelectionModel>
#include <QHeaderView>
#include <QPushButton>
#include <QStandardItem>
#include <QItemDelegate>
......
......@@ -35,10 +35,10 @@
#include <QDialog>
#include <QIcon>
#include <QList>
#include <QModelIndex>
QT_BEGIN_NAMESPACE
class QAbstractProxyModel;
class QModelIndex;
class QSortFilterProxyModel;
class QPushButton;
class QStandardItem;
......
......@@ -29,7 +29,6 @@
#include "openwithdialog.h"
#include <QListWidget>
#include <QPushButton>
#include <QFileInfo>
......
......@@ -28,8 +28,6 @@
****************************************************************************/
#include "saveitemsdialog.h"
#include "mainwindow.h"
#include "vcsmanager.h"
#include <coreplugin/fileiconprovider.h>
#include <coreplugin/idocument.h>
......@@ -38,9 +36,6 @@
#include <QDir>
#include <QFileInfo>
#include <QPushButton>
#include <QTreeWidget>
#include <QHeaderView>
#include <QCheckBox>
#include <QDebug>
Q_DECLARE_METATYPE(Core::IDocument*)
......
......@@ -37,14 +37,10 @@
#include <QApplication>
#include <QDialogButtonBox>
#include <QFrame>
#include <QGridLayout>
#include <QGroupBox>
#include <QHBoxLayout>
#include <QIcon>
#include <QItemSelectionModel>
#include <QLabel>
#include <QLineEdit>
#include <QListView>
#include <QPointer>
#include <QPushButton>
......@@ -55,8 +51,6 @@
#include <QStackedLayout>
#include <QStyle>
#include <QStyledItemDelegate>
#include <QToolBar>
#include <QToolButton>
static const char categoryKeyC[] = "General/LastPreferenceCategory";
static const char pageKeyC[] = "General/LastPreferencePage";
......
......@@ -31,7 +31,6 @@
#define SETTINGSDIALOG_H
#include "coreplugin/dialogs/ioptionspage.h"
#include "coreplugin/id.h"
#include <QList>
#include <QSet>
......
......@@ -37,14 +37,9 @@
#include "icore.h"
#include "id.h"
#include <utils/headerviewstretcher.h>
#include <QKeyEvent>
#include <QShortcut>
#include <QHeaderView>
#include <QFileDialog>
#include <QLineEdit>
#include <QAction>
#include <QTreeWidgetItem>
#include <QCoreApplication>
#include <QDebug>
......
......@@ -38,7 +38,6 @@
#include "iversioncontrol.h"
#include "mimedatabase.h"
#include "saveitemsdialog.h"
#include "vcsmanager.h"
#include "coreconstants.h"
#include <utils/hostosinfo.h>
......@@ -46,12 +45,12 @@
#include <utils/pathchooser.h>
#include <utils/reloadpromptutils.h>
#include <QStringList>
#include <QDateTime>
#include <QDir>
#include <QFile>
#include <QFileInfo>
#include <QFileSystemWatcher>
#include <QPair>
#include <QSettings>
#include <QTimer>
#include <QAction>
......
......@@ -33,11 +33,10 @@
#include <coreplugin/id.h>
#include <QObject>
#include <QStringList>
#include <QPair>
#include <QVariant>
QT_BEGIN_NAMESPACE
class QStringList;
class QAction;
class QMainWindow;
class QMenu;
......
......@@ -32,17 +32,14 @@
#include "coreconstants.h"
#include "modemanager.h"
#include "minisplitter.h"
#include "findplaceholder.h"
#include "outputpane.h"
#include "navigationwidget.h"
#include "rightpane.h"
#include "ieditor.h"
#include "idocument.h"
#include <QLatin1String>
#include <QHBoxLayout>
#include <QWidget>
#include <QSplitter>
#include <QIcon>
using namespace Core;
......
......@@ -38,20 +38,16 @@
#include "ieditor.h"
#include "iversioncontrol.h"
#include "mimedatabase.h"
#include "tabpositionindicator.h"
#include "vcsmanager.h"
#include <coreplugin/actionmanager/actioncontainer.h>
#include <coreplugin/actionmanager/actionmanager.h>
#include <coreplugin/actionmanager/command.h>
#include <coreplugin/coreconstants.h>
#include <coreplugin/editormanager/ieditorfactory.h>
#include <coreplugin/editormanager/iexternaleditor.h>
#include <coreplugin/editortoolbar.h>
#include <coreplugin/fileutils.h>
#include <coreplugin/icorelistener.h>
#include <coreplugin/id.h>
#include <coreplugin/imode.h>
#include <coreplugin/infobar.h>
#include <coreplugin/modemanager.h>
#include <coreplugin/settingsdatabase.h>
......@@ -59,7 +55,6 @@
#include <extensionsystem/pluginmanager.h>
#include <utils/consoleprocess.h>
#include <utils/hostosinfo.h>
#include <utils/qtcassert.h>
......@@ -67,7 +62,6 @@
#include <QDebug>
#include <QFileInfo>
#include <QMap>
#include <QProcess>
#include <QSet>
#include <QSettings>
#include <QTextCodec>
......@@ -77,12 +71,10 @@
#include <QShortcut>
#include <QApplication>
#include <QFileDialog>
#include <QLayout>
#include <QMenu>
#include <QMessageBox>
#include <QPushButton>
#include <QSplitter>
#include <QStackedLayout>
enum { debugEditorManager=0 };
......
......@@ -36,30 +36,19 @@
#include <coreplugin/editortoolbar.h>
#include <coreplugin/coreconstants.h>
#include <coreplugin/infobar.h>
#include <coreplugin/actionmanager/actionmanager.h>
#include <coreplugin/editormanager/ieditor.h>
#include <coreplugin/findplaceholder.h>
#include <utils/qtcassert.h>
#include <QDebug>
#include <QDir>
#include <QFileInfo>
#include <QMimeData>
#include <QApplication>
#include <QComboBox>
#include <QHBoxLayout>
#include <QLabel>
#include <QMouseEvent>
#include <QPainter>
#include <QStackedWidget>
#include <QStyle>
#include <QStyleOption>
#include <QToolButton>
#include <QMenu>
#include <QClipboard>
#include <QAction>
#include <QSplitter>
#include <QStackedLayout>
......
......@@ -32,7 +32,6 @@
#include <coreplugin/core_global.h>
#include <coreplugin/icontext.h>
#include <coreplugin/id.h>
#include <QMetaType>
......
......@@ -29,28 +29,17 @@
#include "openeditorsview.h"
#include "editormanager.h"
#include "editorview.h"
#include "openeditorsmodel.h"
#include "icore.h"
#include <coreplugin/coreconstants.h>
#include <coreplugin/editormanager/ieditor.h>
#include <coreplugin/documentmanager.h>
#include <coreplugin/id.h>
#include <coreplugin/actionmanager/actionmanager.h>
#include <coreplugin/actionmanager/command.h>
#include <utils/qtcassert.h>
#include <QApplication>
#include <QGridLayout>
#include <QTimer>
#include <QMenu>
#include <QPainter>
#include <QStyle>
#include <QStyleOption>
#include <QHeaderView>
#include <QKeyEvent>
#include <QTreeView>
using namespace Core;
using namespace Core::Internal;
......
......@@ -32,36 +32,21 @@
#include <coreplugin/coreconstants.h>
#include <coreplugin/editormanager/ieditor.h>
#include <coreplugin/icore.h>
#include <coreplugin/minisplitter.h>
#include <coreplugin/sidebar.h>
#include <coreplugin/id.h>
#include <coreplugin/editormanager/editorview.h>
#include <coreplugin/editormanager/editormanager.h>
#include <coreplugin/editormanager/openeditorsmodel.h>
#include <coreplugin/actionmanager/actionmanager.h>
#include <coreplugin/actionmanager/command.h>
#include <utils/hostosinfo.h>
#include <utils/parameteraction.h>
#include <utils/qtcassert.h>
#include <utils/styledbar.h>
#include <QSettings>
#include <QEvent>
#include <QDir>
#include <QPointer>
#include <QApplication>
#include <QComboBox>
#include <QPlainTextEdit>
#include <QVBoxLayout>
#include <QScrollArea>
#include <QTabWidget>
#include <QToolButton>
#include <QMenu>
#include <QClipboard>
#include <QLabel>
#include <QToolBar>
enum {
debug = false
......
......@@ -41,8 +41,6 @@
#include <coreplugin/editormanager/editormanager.h>
#include <coreplugin/editormanager/ieditor.h>
#include <utils/qtcassert.h>
#include <utils/stringutils.h>
#include <utils/environment.h>
#include <utils/fileutils.h>
#include <utils/qtcprocess.h>
......@@ -50,9 +48,7 @@
#include <QXmlStreamReader>
#include <QXmlStreamWriter>
#include <QDir>
#include <QFile>
#include <QDateTime>
#include <QMenu>
#include <QAction>
#include <QDebug>
......
......@@ -36,21 +36,13 @@
#include <utils/tooltip/tooltip.h>
#include <utils/tooltip/tipcontents.h>
#include <coreplugin/icore.h>
#include <coreplugin/imode.h>
#include <QHBoxLayout>
#include <QPainter>
#include <QPicture>
#include <QVBoxLayout>
#include <QAction>
#include <QStatusBar>
#include <QStyle>
#include <QStyleOption>
#include <QMouseEvent>
#include <QApplication>
#include <QEvent>
#include <QAnimationGroup>
#include <QPropertyAnimation>
#include <QDebug>
......
......@@ -40,13 +40,9 @@
#include <QMouseEvent>
#include <QStyleFactory>
#include <QPainter>
#include <QSplitter>
#include <QStackedLayout>
#include <QStatusBar>
#include <QToolButton>
#include <QToolTip>
#include <QAnimationGroup>
#include <QPropertyAnimation>
using namespace Core;
using namespace Internal;
......
......@@ -33,10 +33,8 @@
#include <coreplugin/documentmanager.h>
#include <coreplugin/icore.h>
#include <coreplugin/iversioncontrol.h>
#include <coreplugin/removefiledialog.h>
#include <coreplugin/vcsmanager.h>