Qt4ProjectManager: Forward-declare some classes.

Change-Id: Ia05cbfec090bf42d8b9c0475e8904dbad12486d8
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
Friedemann Kleint
2013-03-28 09:01:07 +01:00
parent d3c979dc0f
commit 2c9d93a328
19 changed files with 44 additions and 21 deletions

View File

@@ -32,7 +32,6 @@
#include "qt4projectmanager_global.h"
#include <coreplugin/featureprovider.h>
#include <qtsupport/baseqtversion.h>
namespace Qt4ProjectManager {

View File

@@ -42,6 +42,7 @@
#include <projectexplorer/projectexplorer.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <projectexplorer/kitinformation.h>
#include <projectexplorer/task.h>
#include <extensionsystem/pluginmanager.h>
#include <utils/qtcprocess.h>
#include <qtsupport/qtparser.h>

View File

@@ -34,11 +34,11 @@
#include <projectexplorer/abstractprocessstep.h>
#include <projectexplorer/buildstep.h>
#include <projectexplorer/task.h>
namespace ProjectExplorer {
class BuildStep;
class IBuildStepFactory;
class Task;
}
namespace Qt4ProjectManager {

View File

@@ -46,6 +46,7 @@
#include <QFileInfo>
#include <QDir>
#include <QSharedPointer>
#include <QTextBlock>
namespace Qt4ProjectManager {
namespace Internal {

View File

@@ -32,10 +32,6 @@
#include <texteditor/syntaxhighlighter.h>
#include <texteditor/codeassist/keywordscompletionassist.h>
#include <QtAlgorithms>
#include <QSyntaxHighlighter>
#include <QTextCharFormat>
#include <QVector>
namespace Qt4ProjectManager {
namespace Internal {

View File

@@ -39,6 +39,8 @@
#include "qmakekitinformation.h"
#include "qt4nodes.h"
#include <utils/fileutils.h>
#include <projectexplorer/buildmanager.h>
#include <projectexplorer/buildsteplist.h>
#include <projectexplorer/projectexplorer.h>

View File

@@ -31,11 +31,12 @@
#define QMAKESTEP_H
#include "qt4projectmanager_global.h"
#include <utils/fileutils.h>
#include <projectexplorer/abstractprocessstep.h>
#include <QStringList>
namespace Utils { class FileName; }
namespace ProjectExplorer {
class BuildStep;
class IBuildStepFactory;

View File

@@ -35,6 +35,7 @@
#include "qt4nodes.h"
#include "qmakestep.h"
#include "makestep.h"
#include "buildconfigurationinfo.h"
#include <utils/qtcassert.h>
#include <utils/qtcprocess.h>

View File

@@ -32,8 +32,6 @@
#include "qt4projectmanager_global.h"
#include "buildconfigurationinfo.h"
#include <projectexplorer/buildconfiguration.h>
#include <qtsupport/baseqtversion.h>
@@ -45,6 +43,7 @@ class QMakeStep;
class MakeStep;
class Qt4BuildConfigurationFactory;
class Qt4ProFileNode;
class BuildConfigurationInfo;
class QT4PROJECTMANAGER_EXPORT Qt4BuildConfiguration : public ProjectExplorer::BuildConfiguration
{

View File

@@ -62,6 +62,7 @@
#include <utils/stringutils.h>
#include <utils/fileutils.h>
#include <proparser/prowriter.h>
#include <utils/fileutils.h>
#include <algorithm>
#include <QDebug>

View File

@@ -32,7 +32,6 @@
#include "qt4projectmanager_global.h"
#include <utils/fileutils.h>
#include <coreplugin/idocument.h>
#include <projectexplorer/projectnodes.h>
@@ -47,6 +46,8 @@ QT_BEGIN_NAMESPACE
class ProFile;
QT_END_NAMESPACE
namespace Utils { class FileName; }
namespace Core {
class ICore;
}

View File

@@ -31,10 +31,12 @@
#define ABSTRACTMOBILEAPPWIZARD_H
#include <qt4projectmanager/qt4projectmanager_global.h>
#include <qtsupport/qtversionmanager.h>
#include <coreplugin/basefilewizard.h>
#include <projectexplorer/baseprojectwizarddialog.h>
#include <qt4projectmanager/wizards/abstractmobileapp.h>
namespace QtSupport {
class QtVersionNumber;
class QtVersionManager;
} // QtSupport
namespace Qt4ProjectManager {

View File

@@ -35,6 +35,7 @@
#include "targetsetuppage.h"
#include "qt4projectmanagerconstants.h"
#include <qtsupport/baseqtversion.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <qtsupport/qtsupportconstants.h>
#include <limits>

View File

@@ -31,6 +31,7 @@
#include <utils/detailswidget.h>
#include <utils/pathchooser.h>
#include <utils/fileutils.h>
#include <QFileInfo>

View File

@@ -32,9 +32,10 @@
#include <QWidget>
#include <utils/fileutils.h>
namespace Utils { class PathChooser; }
namespace Utils {
class PathChooser;
class FileName;
} // namespace Utils
namespace Qt4ProjectManager {
namespace Internal {

View File

@@ -38,6 +38,7 @@
#include <projectexplorer/task.h>
#include <qtsupport/qtsupportconstants.h>
#include <qtsupport/baseqtversion.h>
#include <QCoreApplication>
#include <QIcon>

View File

@@ -36,6 +36,7 @@
#include "qt4projectmanagerconstants.h"
#include <qtsupport/qtsupportconstants.h>
#include <qtsupport/baseqtversion.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <coreplugin/dialogs/iwizard.h>

View File

@@ -29,6 +29,7 @@
#include "targetsetuppage.h"
#include "importwidget.h"
#include "../qt4targetsetupwidget.h"
#include "buildconfigurationinfo.h"
#include "qt4buildconfiguration.h"
@@ -43,6 +44,7 @@
#include <qtsupport/qtkitinformation.h>
#include <qtsupport/qtsupportconstants.h>
#include <qtsupport/qtversionfactory.h>
#include <qtsupport/qtversionmanager.h>
#include <utils/qtcprocess.h>
#include <QLabel>

View File

@@ -31,17 +31,29 @@
#define TARGETSETUPPAGE_H
#include "../qt4projectmanager_global.h"
#include "../qt4targetsetupwidget.h"
#include <coreplugin/featureprovider.h>
#include <projectexplorer/kitmanager.h>
#include <qtsupport/qtversionmanager.h>
#include <QString>
#include <QWizardPage>
#include <QMap>
QT_FORWARD_DECLARE_CLASS(QSpacerItem)
namespace Utils { class FileName; }
namespace Core {
class Id;
} // namespace Core
namespace ProjectExplorer {
class Kit;
class KitMatcher;
} // namespace ProjectExplorer
namespace QtSupport { class BaseQtVersion; }
namespace Qt4ProjectManager {
class Qt4Project;
class Qt4TargetSetupWidget;
namespace Internal {
class ImportWidget;