QtSupport: Forward-declare some classes.

Change-Id: I7f0eb6c4ea8620c8405f6d13c554c0ec913edd63
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
Friedemann Kleint
2013-03-27 09:15:01 +01:00
parent 2fc561ed89
commit dbcf8f4e42
13 changed files with 18 additions and 5 deletions

View File

@@ -36,6 +36,8 @@
#include <projectexplorer/projectexplorerconstants.h> #include <projectexplorer/projectexplorerconstants.h>
#include <QIcon>
using namespace ProjectExplorer; using namespace ProjectExplorer;
namespace Android { namespace Android {

View File

@@ -30,6 +30,7 @@
#define MAEMOQTVERSION_H #define MAEMOQTVERSION_H
#include <qtsupport/baseqtversion.h> #include <qtsupport/baseqtversion.h>
#include <coreplugin/id.h>
namespace Madde { namespace Madde {
namespace Internal { namespace Internal {

View File

@@ -33,6 +33,7 @@
#include "qbsbuildconfiguration.h" #include "qbsbuildconfiguration.h"
#include <projectexplorer/buildstep.h> #include <projectexplorer/buildstep.h>
#include <projectexplorer/task.h>
#include <qbs.h> #include <qbs.h>

View File

@@ -33,6 +33,7 @@
#include "qbsbuildconfiguration.h" #include "qbsbuildconfiguration.h"
#include <projectexplorer/buildstep.h> #include <projectexplorer/buildstep.h>
#include <projectexplorer/task.h>
#include <qbs.h> #include <qbs.h>

View File

@@ -54,6 +54,7 @@
#include <projectexplorer/target.h> #include <projectexplorer/target.h>
#include <projectexplorer/taskhub.h> #include <projectexplorer/taskhub.h>
#include <projectexplorer/toolchain.h> #include <projectexplorer/toolchain.h>
#include <projectexplorer/headerpath.h>
#include <qtsupport/qtkitinformation.h> #include <qtsupport/qtkitinformation.h>
#include <qmljstools/qmljsmodelmanager.h> #include <qmljstools/qmljsmodelmanager.h>

View File

@@ -33,6 +33,7 @@
#include "qbsbuildconfiguration.h" #include "qbsbuildconfiguration.h"
#include <projectexplorer/buildstep.h> #include <projectexplorer/buildstep.h>
#include <projectexplorer/task.h>
#include <qbs.h> #include <qbs.h>

View File

@@ -31,6 +31,7 @@
#include "qt4projectmanagerconstants.h" #include "qt4projectmanagerconstants.h"
#include <qtsupport/qtsupportconstants.h> #include <qtsupport/qtsupportconstants.h>
#include <QCoreApplication> #include <QCoreApplication>
#include <QStringList>
using namespace Qt4ProjectManager; using namespace Qt4ProjectManager;
using namespace Qt4ProjectManager::Internal; using namespace Qt4ProjectManager::Internal;

View File

@@ -42,6 +42,8 @@
#include <projectexplorer/kitinformation.h> #include <projectexplorer/kitinformation.h>
#include <projectexplorer/projectexplorer.h> #include <projectexplorer/projectexplorer.h>
#include <projectexplorer/projectexplorerconstants.h> #include <projectexplorer/projectexplorerconstants.h>
#include <projectexplorer/headerpath.h>
#include <projectexplorer/task.h>
#include <qtsupport/debugginghelper.h> #include <qtsupport/debugginghelper.h>
#include <qtsupport/qtsupportconstants.h> #include <qtsupport/qtsupportconstants.h>
#include <coreplugin/featureprovider.h> #include <coreplugin/featureprovider.h>

View File

@@ -35,8 +35,6 @@
#include <utils/fileutils.h> #include <utils/fileutils.h>
#include <projectexplorer/abi.h> #include <projectexplorer/abi.h>
#include <projectexplorer/headerpath.h>
#include <projectexplorer/task.h>
#include <QVariantMap> #include <QVariantMap>
@@ -52,6 +50,8 @@ namespace ProjectExplorer {
class IOutputParser; class IOutputParser;
class Kit; class Kit;
class ToolChain; class ToolChain;
class HeaderPath;
class Task;
} // namespace ProjectExplorer } // namespace ProjectExplorer
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE

View File

@@ -34,6 +34,7 @@
#include <extensionsystem/pluginmanager.h> #include <extensionsystem/pluginmanager.h>
#include <utils/environment.h> #include <utils/environment.h>
#include <utils/fileutils.h>
#include <QSettings> #include <QSettings>

View File

@@ -32,7 +32,6 @@
#include "qtsupport_global.h" #include "qtsupport_global.h"
#include <utils/fileutils.h>
#include <QObject> #include <QObject>
#include <QVariantMap> #include <QVariantMap>
@@ -41,6 +40,8 @@ class QSettings;
class ProFileEvaluator; class ProFileEvaluator;
QT_END_NAMESPACE QT_END_NAMESPACE
namespace Utils { class FileName; }
namespace QtSupport { namespace QtSupport {
class BaseQtVersion; class BaseQtVersion;

View File

@@ -62,6 +62,7 @@
#include <QFile> #include <QFile>
#include <QSettings> #include <QSettings>
#include <QTextStream> #include <QTextStream>
#include <QStringList>
#include <QTimer> #include <QTimer>
#include <algorithm> #include <algorithm>

View File

@@ -33,8 +33,8 @@
#include "qtsupport_global.h" #include "qtsupport_global.h"
#include "baseqtversion.h" #include "baseqtversion.h"
#include <QSet> QT_FORWARD_DECLARE_CLASS(QStringList)
#include <QStringList> QT_FORWARD_DECLARE_CLASS(QTimer)
namespace Utils { namespace Utils {
class FileSystemWatcher; class FileSystemWatcher;