Commit ad294f84 authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Project explorer: Make public headers compile with NO_CAST_FROM_ASCII

.. and purge unneeded includes.
parent 1ce92c0e
......@@ -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;
......
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