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
......@@ -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;
......
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