forked from qt-creator/qt-creator
Project explorer: Make public headers compile with NO_CAST_FROM_ASCII
.. and purge unneeded includes.
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
#include "cmakeproject.h"
|
||||
#include <projectexplorer/environmenteditmodel.h>
|
||||
#include <QtGui/QVBoxLayout>
|
||||
#include <QtGui/QCheckBox>
|
||||
|
||||
namespace {
|
||||
bool debug = false;
|
||||
|
||||
@@ -30,6 +30,8 @@
|
||||
#include "cmakeprojectconstants.h"
|
||||
#include "cmakeproject.h"
|
||||
|
||||
#include <projectexplorer/projectexplorer.h>
|
||||
|
||||
#include <QtGui/QFormLayout>
|
||||
#include <QtGui/QGroupBox>
|
||||
#include <QtGui/QCheckBox>
|
||||
|
||||
@@ -66,6 +66,7 @@
|
||||
#include <projectexplorer/projectexplorer.h>
|
||||
#include <projectexplorer/projectexplorerconstants.h>
|
||||
#include <projectexplorer/session.h>
|
||||
#include <projectexplorer/project.h>
|
||||
|
||||
#include <texteditor/basetexteditor.h>
|
||||
#include <texteditor/basetextmark.h>
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
|
||||
#include <extensionsystem/pluginmanager.h>
|
||||
#include <projectexplorer/toolchain.h>
|
||||
#include <projectexplorer/projectexplorer.h>
|
||||
#include <utils/qtcassert.h>
|
||||
#include <coreplugin/variablemanager.h>
|
||||
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
|
||||
#include <projectexplorer/toolchain.h>
|
||||
#include <projectexplorer/projectexplorerconstants.h>
|
||||
#include <projectexplorer/persistentsettings.h>
|
||||
#include <cpptools/cppmodelmanagerinterface.h>
|
||||
#include <extensionsystem/pluginmanager.h>
|
||||
#include <utils/pathchooser.h>
|
||||
|
||||
@@ -58,6 +58,7 @@
|
||||
|
||||
#include <projectexplorer/projectexplorer.h>
|
||||
#include <projectexplorer/project.h>
|
||||
#include <projectexplorer/projectnodes.h>
|
||||
|
||||
#include <QtCore/QDebug>
|
||||
#include <QtCore/QDir>
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
#include "abstractmakestep.h"
|
||||
|
||||
#include "projectexplorerconstants.h"
|
||||
#include "project.h"
|
||||
|
||||
#include <extensionsystem/pluginmanager.h>
|
||||
#include <utils/qtcassert.h>
|
||||
|
||||
@@ -30,9 +30,8 @@
|
||||
#ifndef ABSTRACTMAKESTEP_H
|
||||
#define ABSTRACTMAKESTEP_H
|
||||
|
||||
#include "abstractprocessstep.h"
|
||||
#include "projectexplorer.h"
|
||||
#include "projectexplorer_export.h"
|
||||
#include "abstractprocessstep.h"
|
||||
|
||||
namespace ProjectExplorer {
|
||||
class BuildStep;
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
#include "compileoutputwindow.h"
|
||||
#include "projectexplorerconstants.h"
|
||||
#include "projectexplorer.h"
|
||||
#include "project.h"
|
||||
#include "projectexplorersettings.h"
|
||||
#include "taskwindow.h"
|
||||
|
||||
@@ -45,6 +46,9 @@
|
||||
|
||||
#include <QtCore/QDir>
|
||||
#include <QtCore/QTimer>
|
||||
|
||||
#include <qtconcurrent/QtConcurrentTools>
|
||||
|
||||
#include <QtGui/QHeaderView>
|
||||
#include <QtGui/QIcon>
|
||||
#include <QtGui/QLabel>
|
||||
|
||||
@@ -36,9 +36,7 @@
|
||||
#include <QtCore/QStringList>
|
||||
#include <QtCore/QList>
|
||||
#include <QtCore/QHash>
|
||||
#include <QtCore/QtConcurrentRun>
|
||||
#include <QtCore/QFutureWatcher>
|
||||
#include <qtconcurrent/QtConcurrentTools>
|
||||
|
||||
namespace ProjectExplorer {
|
||||
|
||||
|
||||
@@ -40,6 +40,7 @@
|
||||
#include <QtGui/QInputDialog>
|
||||
#include <QtGui/QLabel>
|
||||
#include <QtGui/QVBoxLayout>
|
||||
#include <QtGui/QMenu>
|
||||
|
||||
using namespace ProjectExplorer;
|
||||
using namespace ProjectExplorer::Internal;
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
|
||||
#include "buildstep.h"
|
||||
#include "buildconfiguration.h"
|
||||
#include "project.h"
|
||||
|
||||
#include <utils/qtcassert.h>
|
||||
#include <QtGui/QLayout>
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
#define BUILDSTEP_H
|
||||
|
||||
#include "buildparserinterface.h"
|
||||
#include "project.h"
|
||||
#include "projectexplorer_export.h"
|
||||
|
||||
#include <QtGui/QWidget>
|
||||
@@ -39,6 +38,7 @@
|
||||
|
||||
namespace ProjectExplorer {
|
||||
|
||||
class Project;
|
||||
namespace Internal {
|
||||
class BuildConfiguration;
|
||||
}
|
||||
|
||||
@@ -39,6 +39,7 @@
|
||||
|
||||
#include <QtGui/QLabel>
|
||||
#include <QtGui/QPushButton>
|
||||
#include <QtGui/QMenu>
|
||||
|
||||
using namespace ProjectExplorer;
|
||||
using namespace ProjectExplorer::Internal;
|
||||
|
||||
@@ -30,10 +30,13 @@
|
||||
#include "customexecutablerunconfiguration.h"
|
||||
#include "environment.h"
|
||||
#include "project.h"
|
||||
#include "persistentsettings.h"
|
||||
#include "environmenteditmodel.h"
|
||||
|
||||
#include <coreplugin/icore.h>
|
||||
#include <projectexplorer/debugginghelper.h>
|
||||
#include <utils/detailsbutton.h>
|
||||
#include <utils/pathchooser.h>
|
||||
|
||||
#include <QtGui/QCheckBox>
|
||||
#include <QtGui/QFormLayout>
|
||||
|
||||
@@ -32,19 +32,24 @@
|
||||
|
||||
#include "applicationrunconfiguration.h"
|
||||
|
||||
#include <utils/pathchooser.h>
|
||||
#include <projectexplorer/environmenteditmodel.h>
|
||||
|
||||
#include <QtGui/QToolButton>
|
||||
#include <QtGui/QWidget>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
class QCheckBox;
|
||||
class QLineEdit;
|
||||
class QComboBox;
|
||||
class QLabel;
|
||||
class QAbstractButton;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
namespace Core {
|
||||
namespace Utils {
|
||||
class PathChooser;
|
||||
}
|
||||
}
|
||||
|
||||
namespace ProjectExplorer {
|
||||
|
||||
class EnvironmentWidget;
|
||||
namespace Internal {
|
||||
class CustomExecutableConfigurationWidget;
|
||||
}
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
#include <utils/detailsbutton.h>
|
||||
|
||||
#include <coreplugin/fileiconprovider.h>
|
||||
#include <coreplugin/ifile.h>
|
||||
|
||||
#include <QtCore/QVector>
|
||||
#include <QtCore/QDebug>
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
|
||||
#include "editorsettingspropertiespage.h"
|
||||
#include "editorconfiguration.h"
|
||||
#include "project.h"
|
||||
|
||||
#include <QtCore/QTextCodec>
|
||||
|
||||
|
||||
@@ -72,8 +72,8 @@ public:
|
||||
void unset(const QString &key);
|
||||
void modify(const QList<EnvironmentItem> & list);
|
||||
|
||||
void appendOrSet(const QString &key, const QString &value, const QString &sep = "");
|
||||
void prependOrSet(const QString &key, const QString &value, const QString &sep = "");
|
||||
void appendOrSet(const QString &key, const QString &value, const QString &sep = QString());
|
||||
void prependOrSet(const QString &key, const QString &value, const QString &sep = QString());
|
||||
|
||||
void appendOrSetPath(const QString &value);
|
||||
void prependOrSetPath(const QString &value);
|
||||
|
||||
@@ -34,6 +34,13 @@
|
||||
#include <QtGui/QVBoxLayout>
|
||||
#include <QtGui/QHeaderView>
|
||||
#include <QtGui/QToolButton>
|
||||
#include <QtCore/QDebug>
|
||||
#include <QtGui/QWidget>
|
||||
#include <QtGui/QCheckBox>
|
||||
#include <QtGui/QTreeView>
|
||||
#include <QtGui/QPushButton>
|
||||
#include <QtGui/QLabel>
|
||||
#include <QtGui/QStackedWidget>
|
||||
|
||||
using namespace ProjectExplorer;
|
||||
|
||||
|
||||
@@ -34,13 +34,15 @@
|
||||
|
||||
#include <QtCore/QString>
|
||||
#include <QtCore/QAbstractItemModel>
|
||||
#include <QtCore/QDebug>
|
||||
#include <QtGui/QWidget>
|
||||
#include <QtGui/QCheckBox>
|
||||
#include <QtGui/QTreeView>
|
||||
#include <QtGui/QPushButton>
|
||||
#include <QtGui/QLabel>
|
||||
#include <QtGui/QStackedWidget>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
class QCheckBox;
|
||||
class QTreeView;
|
||||
class QPushButton;
|
||||
class QLabel;
|
||||
class QStackedWidget;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
namespace ProjectExplorer {
|
||||
|
||||
|
||||
@@ -31,12 +31,11 @@
|
||||
#define IPROJECTPROPERTIES_H
|
||||
|
||||
#include "projectexplorer_export.h"
|
||||
#include "project.h"
|
||||
|
||||
#include <coreplugin/icontext.h>
|
||||
|
||||
namespace ProjectExplorer {
|
||||
|
||||
class Project;
|
||||
class PropertiesPanel;
|
||||
|
||||
class PROJECTEXPLORER_EXPORT IPanelFactory : public QObject
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtXml/QDomDocument>
|
||||
#include <QtXml/QDomCDATASection>
|
||||
#include <QtXml/QDomElement>
|
||||
|
||||
|
||||
using namespace ProjectExplorer;
|
||||
|
||||
@@ -34,7 +34,10 @@
|
||||
|
||||
#include <QtCore/QMap>
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtXml/QDomElement>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
class QDomElement;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
namespace ProjectExplorer {
|
||||
|
||||
|
||||
@@ -29,6 +29,10 @@
|
||||
|
||||
#include "project.h"
|
||||
|
||||
#include "persistentsettings.h"
|
||||
#include "buildconfiguration.h"
|
||||
#include "environment.h"
|
||||
#include "projectnodes.h"
|
||||
#include "buildstep.h"
|
||||
#include "projectexplorer.h"
|
||||
#include "runconfiguration.h"
|
||||
|
||||
@@ -30,19 +30,15 @@
|
||||
#ifndef PROJECT_H
|
||||
#define PROJECT_H
|
||||
|
||||
#include "persistentsettings.h"
|
||||
#include "projectexplorer_export.h"
|
||||
#include "buildconfiguration.h"
|
||||
#include "environment.h"
|
||||
#include "projectnodes.h"
|
||||
|
||||
#include <QtCore/QSharedPointer>
|
||||
#include <QtCore/QObject>
|
||||
#include <QtCore/QModelIndex>
|
||||
#include <QtCore/QFileInfo>
|
||||
#include <QtGui/QFileSystemModel>
|
||||
#include <QtGui/QMenu>
|
||||
#include <QtGui/QIcon>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
class QMenu;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
namespace Core {
|
||||
class IFile;
|
||||
@@ -56,6 +52,14 @@ class BuildConfigWidget;
|
||||
class IProjectManager;
|
||||
class RunConfiguration;
|
||||
class EditorConfiguration;
|
||||
class Environment;
|
||||
class ProjectNode;
|
||||
class PersistentSettingsWriter;
|
||||
class PersistentSettingsReader;
|
||||
|
||||
namespace Internal {
|
||||
class BuildConfiguration;
|
||||
}
|
||||
|
||||
class PROJECTEXPLORER_EXPORT Project
|
||||
: public QObject
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
**************************************************************************/
|
||||
|
||||
#include "projectexplorer.h"
|
||||
#include "project.h"
|
||||
#include "projectexplorersettings.h"
|
||||
#include "applicationrunconfiguration.h"
|
||||
#include "allprojectsfilter.h"
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
|
||||
#include "project.h"
|
||||
#include "projectexplorerconstants.h"
|
||||
#include "projectnodes.h"
|
||||
|
||||
#include <coreplugin/fileiconprovider.h>
|
||||
#include <utils/qtcassert.h>
|
||||
|
||||
@@ -48,6 +48,7 @@
|
||||
#include <QtGui/QFocusEvent>
|
||||
#include <QtGui/QAction>
|
||||
#include <QtGui/QPalette>
|
||||
#include <QtGui/QMenu>
|
||||
|
||||
using namespace ProjectExplorer;
|
||||
using namespace ProjectExplorer::Internal;
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
#include "projectwindow.h"
|
||||
|
||||
#include "project.h"
|
||||
#include "environment.h"
|
||||
#include "projectexplorer.h"
|
||||
#include "projectexplorerconstants.h"
|
||||
#include "iprojectproperties.h"
|
||||
@@ -40,6 +41,7 @@
|
||||
#include <coreplugin/minisplitter.h>
|
||||
#include <coreplugin/fileiconprovider.h>
|
||||
#include <coreplugin/icore.h>
|
||||
#include <coreplugin/ifile.h>
|
||||
#include <extensionsystem/pluginmanager.h>
|
||||
#include <utils/styledbar.h>
|
||||
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
|
||||
#include "runconfiguration.h"
|
||||
#include "project.h"
|
||||
#include "persistentsettings.h"
|
||||
|
||||
#include <QtCore/QTimer>
|
||||
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
|
||||
#include "runsettingspropertiespage.h"
|
||||
#include "runconfiguration.h"
|
||||
#include "project.h"
|
||||
|
||||
#include "ui_runsettingspropertiespage.h"
|
||||
|
||||
@@ -38,6 +39,7 @@
|
||||
|
||||
#include <QtCore/QDebug>
|
||||
#include <QtCore/QPair>
|
||||
#include <QtGui/QMenu>
|
||||
|
||||
namespace ProjectExplorer {
|
||||
namespace Internal {
|
||||
|
||||
@@ -34,6 +34,10 @@
|
||||
|
||||
#include <QtGui/QWidget>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
class QMenu;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
namespace ProjectExplorer {
|
||||
namespace Internal {
|
||||
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
#include "projectexplorerconstants.h"
|
||||
#include "nodesvisitor.h"
|
||||
#include "editorconfiguration.h"
|
||||
#include "persistentsettings.h"
|
||||
|
||||
#include <coreplugin/icore.h>
|
||||
#include <coreplugin/imode.h>
|
||||
|
||||
@@ -33,19 +33,20 @@
|
||||
#include "projectexplorer_export.h"
|
||||
#include "projectnodes.h"
|
||||
|
||||
#include <coreplugin/ifile.h>
|
||||
|
||||
#include <QtCore/QObject>
|
||||
#include <QtCore/QAbstractItemModel>
|
||||
#include <QtCore/QHash>
|
||||
#include <QtCore/QList>
|
||||
#include <QtCore/QString>
|
||||
#include <QtCore/QStringList>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
class QAbstractItemModel;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
namespace Core {
|
||||
class ICore;
|
||||
class IMode;
|
||||
class IEditor;
|
||||
class IFile;
|
||||
}
|
||||
|
||||
namespace ProjectExplorer {
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
**************************************************************************/
|
||||
|
||||
#include "toolchain.h"
|
||||
#include "project.h"
|
||||
#include "cesdkhandler.h"
|
||||
#include "projectexplorersettings.h"
|
||||
|
||||
|
||||
@@ -30,13 +30,18 @@
|
||||
#ifndef TOOLCHAIN_H
|
||||
#define TOOLCHAIN_H
|
||||
|
||||
#include "projectexplorer_export.h"
|
||||
#include "environment.h"
|
||||
#include "project.h"
|
||||
|
||||
#include <QtCore/QString>
|
||||
#include <QtCore/QPair>
|
||||
#include <QtCore/QMetaType>
|
||||
|
||||
namespace ProjectExplorer {
|
||||
|
||||
class Environment;
|
||||
class Project;
|
||||
|
||||
class PROJECTEXPLORER_EXPORT HeaderPath
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
#include "qmlmakestep.h"
|
||||
|
||||
#include <projectexplorer/toolchain.h>
|
||||
#include <projectexplorer/persistentsettings.h>
|
||||
#include <projectexplorer/projectexplorerconstants.h>
|
||||
#include <extensionsystem/pluginmanager.h>
|
||||
#include <utils/pathchooser.h>
|
||||
|
||||
@@ -41,6 +41,7 @@
|
||||
#include <utils/qtcassert.h>
|
||||
#include <utils/pathchooser.h>
|
||||
#include <projectexplorer/projectexplorerconstants.h>
|
||||
#include <projectexplorer/persistentsettings.h>
|
||||
#include <projectexplorer/project.h>
|
||||
|
||||
#include <debugger/debuggermanager.h>
|
||||
|
||||
@@ -40,6 +40,7 @@
|
||||
#include <utils/qtcassert.h>
|
||||
#include <projectexplorer/projectexplorerconstants.h>
|
||||
#include <projectexplorer/project.h>
|
||||
#include <projectexplorer/persistentsettings.h>
|
||||
|
||||
using namespace ProjectExplorer;
|
||||
using namespace Qt4ProjectManager::Internal;
|
||||
|
||||
@@ -32,6 +32,8 @@
|
||||
|
||||
#include <projectexplorer/environmenteditmodel.h>
|
||||
|
||||
#include <QtGui/QCheckBox>
|
||||
|
||||
namespace {
|
||||
bool debug = false;
|
||||
}
|
||||
|
||||
@@ -40,6 +40,7 @@
|
||||
#include <coreplugin/ifile.h>
|
||||
#include <projectexplorer/buildstep.h>
|
||||
#include <projectexplorer/environmenteditmodel.h>
|
||||
#include <projectexplorer/persistentsettings.h>
|
||||
#include <utils/qtcassert.h>
|
||||
#include <utils/detailsbutton.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user