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 "autotoolsbuildconfiguration.h"
#include "autotoolsbuildsettingswidget.h"
#include "makestep.h" #include "makestep.h"
#include "autotoolsproject.h" #include "autotoolsproject.h"
#include "autotoolsprojectconstants.h" #include "autotoolsprojectconstants.h"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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