Commit 74a3828f authored by Friedemann Kleint's avatar Friedemann Kleint

Purge out include files in exported headers

parent df22ae6c
......@@ -29,6 +29,7 @@
#include "plugindetailsview.h"
#include "ui_plugindetailsview.h"
#include "pluginspec.h"
#include <QtCore/QDir>
......
......@@ -31,12 +31,13 @@
#define PLUGINDETAILSVIEW_H_
#include "extensionsystem_global.h"
#include "pluginspec.h"
#include <QtGui/QWidget>
namespace ExtensionSystem {
class PluginSpec;
namespace Internal {
namespace Ui {
class PluginDetailsView;
......
......@@ -29,6 +29,7 @@
#include "pluginerrorview.h"
#include "ui_pluginerrorview.h"
#include "pluginspec.h"
#include <QtCore/QString>
......
......@@ -31,12 +31,12 @@
#define PLUGINERRORVIEW_H
#include "extensionsystem_global.h"
#include "pluginspec.h"
#include <QtGui/QWidget>
namespace ExtensionSystem {
class PluginSpec;
namespace Internal {
namespace Ui {
class PluginErrorView;
......
......@@ -34,10 +34,7 @@
#include <aggregation/aggregate.h>
#include <QtCore/QObject>
#include <QtCore/QList>
#include <QtCore/QSet>
#include <QtCore/QStringList>
#include <QtCore/QWriteLocker>
#include <QtCore/QReadWriteLock>
QT_BEGIN_NAMESPACE
......
......@@ -30,6 +30,10 @@
#include "fancymainwindow.h"
#include <QtGui/QAction>
#include <QtCore/QSettings>
#include <QtGui/QDockWidget>
#include <QtCore/QSettings>
using namespace Core::Utils;
......
......@@ -34,10 +34,12 @@
#include <QtCore/QList>
#include <QtCore/QHash>
#include <QtCore/QSettings>
#include <QtGui/QMainWindow>
#include <QtGui/QDockWidget>
#include <QtCore/QSettings>
QT_BEGIN_NAMESPACE
class QSettings;
QT_END_NAMESPACE
namespace Core {
namespace Utils {
......
......@@ -31,6 +31,10 @@
#include <QtGui/QPixmapCache>
#include <QtGui/QWidget>
#include <QtCore/QRect>
#include <QtGui/QPainter>
#include <QtGui/QApplication>
#include <QtGui/QPalette>
// Clamps float color values within (0, 255)
static int clamp(float x)
......
......@@ -32,12 +32,14 @@
#include "utils_global.h"
#include <QtCore/QRect>
#include <QtGui/QPainter>
#include <QtGui/QApplication>
#include <QtGui/QPalette>
#include <QtGui/QColor>
QT_BEGIN_NAMESPACE
class QPalette;
class QPainter;
class QRect;
QT_END_NAMESPACE
// Helper class holding all custom color values
class QTCREATOR_UTILS_EXPORT StyleHelper
......
......@@ -43,6 +43,7 @@
#include <coreplugin/actionmanager/actionmanager.h>
#include <coreplugin/coreconstants.h>
#include <coreplugin/editormanager/editormanager.h>
#include <coreplugin/editormanager/ieditor.h>
#include <coreplugin/icore.h>
#include <coreplugin/mimedatabase.h>
#include <coreplugin/uniqueidmanager.h>
......
......@@ -32,6 +32,7 @@
#include <extensionsystem/iplugin.h>
#include <coreplugin/editormanager/ieditorfactory.h>
#include <coreplugin/icontext.h>
#include <QtCore/QtPlugin>
#include <QtCore/QPointer>
......
......@@ -32,9 +32,14 @@
#include <coreplugin/core_global.h>
#include <QtGui/QAction>
#include <QtGui/QShortcut>
#include <QtGui/QKeySequence>
#include <QtCore/QObject>
QT_BEGIN_NAMESPACE
class QAction;
class QShortcut;
class QKeySequence;
QT_END_NAMESPACE
namespace Core {
......
......@@ -35,6 +35,7 @@
#include <QtCore/QObject>
#include <QtGui/QWidget>
#include <QtGui/QIcon>
namespace Core {
......
......@@ -33,8 +33,10 @@
#include <coreplugin/core_global.h>
#include <QtCore/QObject>
#include <QtCore/QString>
#include <QtGui/QWidget>
QT_BEGIN_NAMESPACE
class QWidget;
QT_END_NAMESPACE
namespace Core {
......
......@@ -37,6 +37,8 @@
#include "outputpane.h"
#include "navigationwidget.h"
#include "rightpane.h"
#include "ieditor.h"
#include "ifile.h"
#include <QtCore/QLatin1String>
#include <QtGui/QHBoxLayout>
......
......@@ -33,6 +33,7 @@
#include "../core_global.h"
#include <coreplugin/icorelistener.h>
#include <coreplugin/ifile.h>
#include <QtGui/QWidget>
#include <QtCore/QList>
......
......@@ -34,6 +34,7 @@
#include "openeditorsmodel.h"
#include <coreplugin/coreconstants.h>
#include <coreplugin/actionmanager/actionmanager.h>
#include <coreplugin/editormanager/ieditor.h>
#include <coreplugin/findplaceholder.h>
#include <utils/qtcassert.h>
......
......@@ -32,10 +32,11 @@
#include <coreplugin/core_global.h>
#include <coreplugin/icontext.h>
#include <coreplugin/ifile.h>
namespace Core {
class IFile;
class CORE_EXPORT IEditor : public IContext
{
Q_OBJECT
......
......@@ -31,16 +31,11 @@
#define IEDITORFACTORY_H
#include <coreplugin/ifilefactory.h>
#include <coreplugin/editormanager/ieditor.h>
#include <QtCore/QObject>
QT_BEGIN_NAMESPACE
class QWidget;
QT_END_NAMESPACE
namespace Core {
class IEditor;
class CORE_EXPORT IEditorFactory : public Core::IFileFactory
{
Q_OBJECT
......
......@@ -29,6 +29,7 @@
#include "openeditorsmodel.h"
#include "ieditor.h"
#include "ifile.h"
#include <QtCore/QDir>
#include <QtGui/QIcon>
......
......@@ -30,6 +30,7 @@
#include "filemanager.h"
#include "editormanager.h"
#include "ieditor.h"
#include "icore.h"
#include "ifile.h"
#include "iversioncontrol.h"
......
......@@ -31,11 +31,10 @@
#define ICORELISTENER_H
#include "core_global.h"
#include <coreplugin/editormanager/ieditor.h>
#include <QtCore/QObject>
namespace Core {
class IEditor;
/*!
\class Core::ICoreListener
......
......@@ -34,10 +34,9 @@
#include <coreplugin/core_global.h>
#include <QtCore/QObject>
#include <QtGui/QIcon>
#include <QtGui/QKeySequence>
#include <QtGui/QLayout>
QT_BEGIN_NAMESPACE
class QIcon;
QT_END_NAMESPACE
namespace Core {
......
......@@ -35,7 +35,10 @@
#include <QtCore/QObject>
#include <QtCore/QList>
#include <QtCore/QString>
#include <QtGui/QWidget>
QT_BEGIN_NAMESPACE
class QWidget;
QT_END_NAMESPACE
namespace Core {
......
......@@ -85,6 +85,8 @@
#include <QtGui/QShortcut>
#include <QtGui/QStatusBar>
#include <QtGui/QWizard>
#include <QtGui/QPrinter>
#include <QtGui/QToolButton>
/*
#ifdef Q_OS_UNIX
......
......@@ -44,6 +44,8 @@
QT_BEGIN_NAMESPACE
class QSettings;
class QShortcut;
class QPrinter;
class QToolButton;
QT_END_NAMESPACE
namespace Core {
......
......@@ -32,8 +32,7 @@
#include "core_global.h"
#include <QStyle>
#include <QWindowsStyle>
#include <QtGui/QWindowsStyle>
QT_BEGIN_NAMESPACE
class QLinearGradient;
......
......@@ -49,6 +49,7 @@
#include <QtCore/QObject>
#include <QtCore/QDebug>
#include <QtCore/QSignalMapper>
#include <QtGui/QShortcut>
#include <QtGui/QAction>
#include <QtGui/QTabWidget>
......
......@@ -38,6 +38,8 @@
#include <extensionsystem/pluginmanager.h>
#include <utils/styledbar.h>
#include <QtCore/QDebug>
#include <QtCore/QSettings>
......@@ -45,6 +47,7 @@
#include <QtGui/QHBoxLayout>
#include <QtGui/QResizeEvent>
#include <QtGui/QToolButton>
#include <QtGui/QShortcut>
Q_DECLARE_METATYPE(Core::INavigationWidgetFactory *)
......
......@@ -31,20 +31,19 @@
#define NAVIGATIONWIDGET_H
#include <coreplugin/minisplitter.h>
#include <utils/styledbar.h>
#include <QtGui/QWidget>
#include <QtGui/QComboBox>
#include <QtGui/QSplitter>
#include <QtGui/QToolButton>
QT_BEGIN_NAMESPACE
class QSettings;
class QShortcut;
class QToolButton;
QT_END_NAMESPACE
namespace Core {
namespace Utils {
class StyledBar;
}
class INavigationWidgetFactory;
class IMode;
class Command;
......
......@@ -38,6 +38,7 @@
#include <coreplugin/actionmanager/actioncontainer.h>
#include <coreplugin/editormanager/editormanager.h>
#include <coreplugin/findplaceholder.h>
#include <coreplugin/editormanager/ieditor.h>
#include <extensionsystem/pluginmanager.h>
......
......@@ -33,6 +33,9 @@
#include <QtGui/QColor>
#include <QtGui/QVBoxLayout>
#include <QtGui/QMenu>
#include <QtGui/QProgressBar>
#include <QtGui/QHBoxLayout>
using namespace Core;
......
......@@ -36,11 +36,11 @@
#include <QtCore/QFuture>
#include <QtCore/QFutureWatcher>
#include <QtGui/QWidget>
#include <QtGui/QIcon>
#include <QtGui/QAction>
#include <QtGui/QProgressBar>
#include <QtGui/QMouseEvent>
#include <QtGui/QHBoxLayout>
QT_BEGIN_NAMESPACE
class QProgressBar;
class QHBoxLayout;
QT_END_NAMESPACE
class ProgressBar;
......
......@@ -35,7 +35,6 @@
#include <QtCore/QObject>
#include <QtCore/QFuture>
#include <QtGui/QIcon>
namespace Core {
......
......@@ -29,12 +29,16 @@
#include "rightpane.h"
#include <coreplugin/modemanager.h>
#include <extensionsystem/pluginmanager.h>
#include <QtCore/QSettings>
#include <QtGui/QVBoxLayout>
#include <QtGui/QSplitter>
#include <QtGui/QResizeEvent>
#include <QtGui/QTextEdit>
#include <coreplugin/modemanager.h>
#include <extensionsystem/pluginmanager.h>
using namespace Core;
using namespace Core::Internal;
......
......@@ -33,7 +33,10 @@
#include "core_global.h"
#include <QtGui/QWidget>
#include <QtCore/QSettings>
QT_BEGIN_HEADER
class QSettings;
QT_END_HEADER
namespace Core {
......
......@@ -31,6 +31,10 @@
#include <QtCore/QDir>
#include <QtCore/QMap>
#include <QtCore/QString>
#include <QtCore/QStringList>
#include <QtCore/QVariant>
#include <QtSql/QSqlDatabase>
#include <QtSql/QSqlError>
#include <QtSql/QSqlQuery>
......
......@@ -39,7 +39,6 @@
QT_BEGIN_NAMESPACE
class QSettings;
class QComboBox;
class QToolBar;
class QAction;
class QToolButton;
......
......@@ -28,6 +28,9 @@
**************************************************************************/
#include "variablemanager.h"
#include "ifile.h"
#include <QtCore/QFileInfo>
using namespace Core;
......
......@@ -36,7 +36,10 @@
#include <QtCore/QObject>
#include <QtCore/QMap>
#include <QtCore/QString>
#include <QtCore/QFileInfo>
QT_BEGIN_NAMESPACE
class QFileInfo;
QT_END_NAMESPACE
namespace Core {
......
......@@ -30,6 +30,8 @@
#include "cpptoolseditorsupport.h"
#include "cppmodelmanager.h"
#include <coreplugin/ifile.h>
#include <texteditor/itexteditor.h>
#include <texteditor/basetexteditor.h>
......
......@@ -36,6 +36,7 @@
#include <utils/filesearch.h>
#include <QtGui/QTextDocument>
#include <QtGui/QKeySequence>
#include <QtCore/QSharedPointer>
#include <QtCore/QFutureInterface>
#include <QtCore/QPointer>
......
......@@ -88,6 +88,7 @@
#include <QtGui/QPlainTextEdit>
#include <QtGui/QTextBlock>
#include <QtGui/QTextCursor>
#include <QtGui/QToolButton>
#include <QtGui/QMessageBox>
#include <climits>
......
......@@ -32,6 +32,8 @@
#include "gdb/gdbmi.h"
#include <utils/qtcassert.h>
#include <coreplugin/ifile.h>
#include <texteditor/basetexteditor.h>
#include <texteditor/basetextmark.h>
#include <texteditor/itexteditor.h>
......
......@@ -58,6 +58,7 @@
#include <QtCore/QTemporaryFile>
#include <QtCore/QDebug>
#include <QtGui/QToolBar>
#include <QtGui/QDockWidget>
using namespace Designer::Internal;
using namespace Designer::Constants;
......@@ -384,3 +385,18 @@ QString FormWindowEditor::contents() const
*/
return m_formWindow->contents();
}
QDockWidget* const* FormWindowEditor::dockWidgets() const
{
return m_editorWidget->dockWidgets();
}
bool FormWindowEditor::isLocked() const
{
return m_editorWidget->isLocked();
}
void FormWindowEditor::setLocked(bool locked)
{
m_editorWidget->setLocked(locked);
}
......@@ -30,21 +30,18 @@
#ifndef FORMWINDOWEDITOR_H
#define FORMWINDOWEDITOR_H
#include "editorwidget.h"
#include "designer_export.h"
#include <coreplugin/editormanager/ieditor.h>
#include <QtCore/QByteArray>
#include <QtCore/QStringList>
#include <QtGui/QDockWidget>
#include "designer_export.h"
QT_BEGIN_NAMESPACE
class QDesignerFormWindowInterface;
class QDesignerFormWindowManagerInterface;
class QFile;
class QToolBar;
class QDockWidget;
QT_END_NAMESPACE
namespace ProjectExplorer {
......@@ -57,6 +54,7 @@ namespace Internal {
class FormWindowFile;
class FormWindowHost;
class EditorWidget;
// Master class maintaining a form window editor,
// containing file and widget host
......@@ -93,9 +91,9 @@ public:
QWidget *integrationContainer();
void updateFormWindowSelectionHandles(bool state);
void setSuggestedFileName(const QString &fileName);
QDockWidget* const* dockWidgets() const { return m_editorWidget->dockWidgets(); }
bool isLocked() const { return m_editorWidget->isLocked(); }
void setLocked(bool locked) { m_editorWidget->setLocked(locked); }
QDockWidget* const* dockWidgets() const;
bool isLocked() const;
void setLocked(bool locked);
QString contents() const;
......
......@@ -32,6 +32,7 @@
#include <utils/qtcassert.h>
#include <QtGui/QTextBlock>
#include <QtGui/QPlainTextEdit>
using namespace Find;
......
......@@ -34,7 +34,12 @@
#include "ifindsupport.h"
#include <QtCore/QPointer>
#include <QtGui/QPlainTextEdit>
#include <QtGui/QTextCursor>
QT_BEGIN_NAMESPACE
class QPlainTextEdit;
class QTextEdit;
QT_END_NAMESPACE
namespace Find {
......
......@@ -32,6 +32,7 @@
#include <coreplugin/icore.h>
#include <QtCore/QSettings>
#include <QtGui/QMainWindow>
using namespace Find;
......
......@@ -32,12 +32,14 @@
#include "find_global.h"
#include <QtCore/QSettings>
#include <QtGui/QIcon>
#include <QtGui/QKeySequence>
#include <QtGui/QWidget>
#include <QtGui/QTextDocument>
QT_BEGIN_NAMESPACE
class QKeySequence;
class QWidget;
class QSettings;
QT_END_NAMESPACE
namespace Find {
class FIND_EXPORT IFindFilter : public QObject
......
......@@ -39,6 +39,8 @@
#include <QtGui/QListWidget>
#include <QtGui/QToolButton>
#include <QtGui/QLineEdit>
#include <QtGui/QStackedWidget>
#include <QtGui/QLabel>
using namespace Find;
using namespace Find::Internal;
......
......@@ -35,12 +35,13 @@
#include <coreplugin/ioutputpane.h>