Clean up includes in autotools-plugin.

Fixing an lupdate warning about cyclic dependencies of
autotoolsbuildsettingswidget.h.

Change-Id: I0e1c721df2c5f70ae9de38dd9bc5a34b63622ba7
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
Friedemann Kleint
2012-07-25 09:48:48 +02:00
committed by Eike Ziller
parent 04c97da81e
commit f1e7fcf64a
13 changed files with 34 additions and 19 deletions

View File

@@ -33,6 +33,7 @@
**************************************************************************/
#include "autotoolsbuildconfiguration.h"
#include "autotoolsbuildsettingswidget.h"
#include "makestep.h"
#include "autotoolsproject.h"
#include "autotoolsprojectconstants.h"

View File

@@ -35,8 +35,6 @@
#ifndef AUTOTOOLSBUILDCONFIGURATION_H
#define AUTOTOOLSBUILDCONFIGURATION_H
#include "autotoolsbuildsettingswidget.h"
#include <projectexplorer/buildconfiguration.h>
namespace AutotoolsProjectManager {

View File

@@ -39,6 +39,8 @@
#include <projectexplorer/projectexplorer.h>
#include <projectexplorer/target.h>
#include <utils/pathchooser.h>
#include <QGridLayout>
#include <QLabel>
#include <QLineEdit>

View File

@@ -35,17 +35,16 @@
#ifndef AUTOTOOLSBUILDSETTINGSWIDGET_H
#define AUTOTOOLSBUILDSETTINGSWIDGET_H
#include "autotoolsbuildconfiguration.h"
#include <projectexplorer/buildconfiguration.h>
#include <projectexplorer/project.h>
#include <projectexplorer/buildstep.h>
#include <utils/pathchooser.h>
QT_BEGIN_NAMESPACE
class QComboBox;
QT_END_NAMESPACE
namespace Utils {
class PathChooser;
}
namespace AutotoolsProjectManager {
namespace Internal {

View File

@@ -34,6 +34,8 @@
#include "autotoolsopenprojectwizard.h"
#include <utils/pathchooser.h>
#include <QVBoxLayout>
#include <QFormLayout>
#include <QLabel>

View File

@@ -36,7 +36,10 @@
#define AUTOTOOLSOPENPROJECTWIZARD_H
#include <utils/wizard.h>
#include <utils/pathchooser.h>
namespace Utils {
class PathChooser;
}
namespace AutotoolsProjectManager {
namespace Internal {

View File

@@ -54,6 +54,7 @@
#include <cpptools/ModelManagerInterface.h>
#include <coreplugin/icore.h>
#include <utils/qtcassert.h>
#include <utils/filesystemwatcher.h>
#include <QFileInfo>
#include <QTimer>

View File

@@ -35,14 +35,18 @@
#ifndef AUTOTOOLSPROJECT_H
#define AUTOTOOLSPROJECT_H
#include <coreplugin/editormanager/ieditor.h>
#include <projectexplorer/project.h>
#include <projectexplorer/projectexplorer.h>
#include <projectexplorer/projectnodes.h>
#include <utils/filesystemwatcher.h>
#include <QPointer>
#include <QDir>
QT_FORWARD_DECLARE_CLASS(QDir)
namespace Utils {
class FileSystemWatcher;
}
namespace ProjectExplorer {
class Node;
class FolderNode;
}
namespace AutotoolsProjectManager {
namespace Internal {

View File

@@ -35,6 +35,8 @@
#include "autotoolsprojectnode.h"
#include "autotoolsproject.h"
#include <coreplugin/idocument.h>
using namespace AutotoolsProjectManager;
using namespace AutotoolsProjectManager::Internal;
using namespace ProjectExplorer;

View File

@@ -36,7 +36,10 @@
#define AUTOTOOLSPROJECTNODE_H
#include <projectexplorer/projectnodes.h>
#include <coreplugin/idocument.h>
namespace Core {
class IDocument;
}
namespace AutotoolsProjectManager {
namespace Internal {

View File

@@ -37,6 +37,7 @@
#include <utils/qtcassert.h>
#include <QFile>
#include <QDir>
#include <QFileInfoList>
#include <QMutexLocker>

View File

@@ -36,12 +36,11 @@
#define MAKEFILEPARSER_H
#include <QMutex>
#include <QString>
#include <QStringList>
#include <QTextStream>
#include <QObject>
#include <QDir>
#include <QFileInfo>
QT_FORWARD_DECLARE_CLASS(QDir)
namespace AutotoolsProjectManager {
namespace Internal {

View File

@@ -38,7 +38,7 @@
#include "makefileparser.h"
#include <QMutex>
#include <QString>
#include <QStringList>
#include <QThread>
namespace AutotoolsProjectManager {