Commit 2c9d93a3 authored by Friedemann Kleint's avatar Friedemann Kleint

Qt4ProjectManager: Forward-declare some classes.

Change-Id: Ia05cbfec090bf42d8b9c0475e8904dbad12486d8
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
parent d3c979dc
......@@ -32,7 +32,6 @@
#include "qt4projectmanager_global.h"
#include <coreplugin/featureprovider.h>
#include <qtsupport/baseqtversion.h>
namespace Qt4ProjectManager {
......
......@@ -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>
......
......@@ -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 {
......
......@@ -46,6 +46,7 @@
#include <QFileInfo>
#include <QDir>
#include <QSharedPointer>
#include <QTextBlock>
namespace Qt4ProjectManager {
namespace Internal {
......
......@@ -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 {
......
......@@ -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>
......
......@@ -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;
......
......@@ -35,6 +35,7 @@
#include "qt4nodes.h"
#include "qmakestep.h"
#include "makestep.h"
#include "buildconfigurationinfo.h"
#include <utils/qtcassert.h>
#include <utils/qtcprocess.h>
......
......@@ -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
{
......
......@@ -62,6 +62,7 @@
#include <utils/stringutils.h>
#include <utils/fileutils.h>
#include <proparser/prowriter.h>
#include <utils/fileutils.h>
#include <algorithm>
#include <QDebug>
......
......@@ -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;
}
......
......@@ -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 {
......
......@@ -35,6 +35,7 @@
#include "targetsetuppage.h"
#include "qt4projectmanagerconstants.h"
#include <qtsupport/baseqtversion.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <qtsupport/qtsupportconstants.h>
#include <limits>
......
......@@ -31,6 +31,7 @@
#include <utils/detailswidget.h>
#include <utils/pathchooser.h>
#include <utils/fileutils.h>
#include <QFileInfo>
......
......@@ -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 {
......
......@@ -38,6 +38,7 @@
#include <projectexplorer/task.h>
#include <qtsupport/qtsupportconstants.h>
#include <qtsupport/baseqtversion.h>
#include <QCoreApplication>
#include <QIcon>
......
......@@ -36,6 +36,7 @@
#include "qt4projectmanagerconstants.h"
#include <qtsupport/qtsupportconstants.h>
#include <qtsupport/baseqtversion.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <coreplugin/dialogs/iwizard.h>
......
......@@ -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>
......
......@@ -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;
......
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