Header cleanup in various plugins.

Change-Id: I16b273cc792bfd2035d35e7c67675f039cd387b9
Reviewed-on: http://codereview.qt.nokia.com/3185
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
Friedemann Kleint
2011-08-18 15:04:13 +02:00
parent 610f77ed33
commit 6a6af5a59c
12 changed files with 25 additions and 17 deletions

View File

@@ -53,10 +53,6 @@ namespace ProjectExplorer {
class Project;
}
namespace TextEditor {
class ITextEditor;
}
namespace CppTools {
class AbstractEditorSupport;
}

View File

@@ -36,6 +36,7 @@
#include <AST.h>
#include <Token.h>
#include <cplusplus/Overview.h>
#include <cplusplus/Symbols.h>
#include <cpptools/insertionpointlocator.h>
#include <cpptools/cpprefactoringchanges.h>
#include <cppeditor/cppquickfix.h>

View File

@@ -34,10 +34,6 @@
#define CPPQUICKFIX_H
#include "cppeditor_global.h"
#include "cppsemanticinfo.h"
#include <ASTfwd.h>
#include <cplusplus/CppDocument.h>
#include <texteditor/quickfix.h>
namespace CppTools {

View File

@@ -37,6 +37,7 @@
#include <cplusplus/Overview.h>
#include <cplusplus/CppDocument.h>
#include <cplusplus/ExpressionUnderCursor.h>
#include <cplusplus/ModelManagerInterface.h>
#include <CoreTypes.h>
#include <Names.h>
#include <Symbols.h>

View File

@@ -35,7 +35,11 @@
#include "cpptools_global.h"
#include <cplusplus/ModelManagerInterface.h>
#include <QtCore/QString>
namespace CPlusPlus {
class CppModelManagerInterface;
}
namespace CppTools {

View File

@@ -34,8 +34,8 @@
#define CPPQTSTYLEINDENTER_H
#include "cpptools_global.h"
#include <texteditor/indenter.h>
#include "cppcodestylesettingspage.h"
namespace TextEditor
{
@@ -43,6 +43,8 @@ class IFallbackPreferences;
}
namespace CppTools {
class CppCodeStyleSettings;
class CppCodeStylePreferences;
class CPPTOOLS_EXPORT CppQtStyleIndenter : public TextEditor::Indenter
{

View File

@@ -38,6 +38,7 @@
#include <ASTVisitor.h>
#include <TranslationUnit.h>
#include <Literals.h>
#include <Symbols.h>
#include <coreplugin/icore.h>
#include <coreplugin/mimedatabase.h>

View File

@@ -37,7 +37,6 @@
#include <ASTfwd.h>
#include <CPlusPlusForwardDeclarations.h>
#include <Symbols.h>
#include <cplusplus/CppDocument.h>

View File

@@ -38,8 +38,6 @@
#include <extensionsystem/iplugin.h>
#include <QtGui/QTextDocument>
QT_BEGIN_NAMESPACE
class QStringListModel;
QT_END_NAMESPACE

View File

@@ -43,6 +43,10 @@
#include <QtCore/QScopedPointer>
#include <QtGui/QIcon>
namespace GLSL {
class Function;
}
namespace TextEditor {
class BasicProposalItem;
}

View File

@@ -34,12 +34,8 @@
#define GLSLEDITOR_H
#include "glsleditor_global.h"
#include "glsleditoreditable.h"
#include <glsl/glsl.h>
#include <texteditor/basetexteditor.h>
#include <texteditor/quickfix.h>
#include <QtCore/QSharedPointer>
#include <QtCore/QSet>
@@ -49,12 +45,21 @@ class QComboBox;
class QTimer;
QT_END_NAMESPACE
namespace GLSL {
class Engine;
class TranslationUnitAST;
class Scope;
}
namespace Core {
class ICore;
}
namespace GLSLEditor {
class GLSLTextEditorWidget;
namespace Internal {
class GLSLEditorEditable;
}
class GLSLEDITOR_EXPORT Document
{

View File

@@ -32,6 +32,7 @@
#include "glslhoverhandler.h"
#include "glsleditor.h"
#include "glsleditoreditable.h"
#include <coreplugin/editormanager/ieditor.h>
#include <coreplugin/editormanager/editormanager.h>