Commit b4c6ecee authored by Friedemann Kleint's avatar Friedemann Kleint

ProjectExplorer include file cleaning spree.

parent cca99102
......@@ -37,6 +37,7 @@
#include <QtGui/QIcon>
#include <QtGui/QTextEdit>
#include <QtGui/QScrollBar>
#include <QtGui/QPlainTextEdit>
using namespace ProjectExplorer;
using namespace ProjectExplorer::Internal;
......
......@@ -32,7 +32,9 @@
#include <coreplugin/ioutputpane.h>
#include <QtGui/QPlainTextEdit>
QT_BEGIN_NAMESPACE
class QPlainTextEdit;
QT_END_NAMESPACE
namespace ProjectExplorer {
......
......@@ -35,8 +35,6 @@
#include <QtCore/QString>
#include <QtCore/QByteArray>
#include <QtCore/QFutureInterface>
#include <QtCore/QTimer>
#include <QtGui/QWidget>
namespace ProjectExplorer {
......
......@@ -35,7 +35,10 @@
#include <texteditor/basefilefind.h>
#include <QtCore/QPointer>
#include <QtGui/QWidget>
QT_BEGIN_NAMESPACE
class QWidget;
QT_END_NAMESPACE
namespace ProjectExplorer {
......
......@@ -33,10 +33,13 @@
#include <coreplugin/fileiconprovider.h>
#include <coreplugin/ifile.h>
#include <utils/detailswidget.h>
#include <QtCore/QVector>
#include <QtCore/QDebug>
#include <QtCore/QAbstractListModel>
#include <QtCore/QSize>
#include <QtCore/QCoreApplication>
#include <QtGui/QLabel>
#include <QtGui/QApplication>
#include <QtGui/QHBoxLayout>
......@@ -46,7 +49,8 @@
#include <QtGui/QMessageBox>
#include <QtGui/QPushButton>
#include <QtGui/QToolButton>
#include <QtCore/QCoreApplication>
#include <QtGui/QWidget>
#include <QtGui/QLabel>
namespace ProjectExplorer {
namespace Internal {
......
......@@ -31,13 +31,15 @@
#define DEPENDENCIESDIALOG_H
#include "iprojectproperties.h"
#include <utils/detailswidget.h>
#include <QtCore/QSize>
#include <QtGui/QWidget>
#include <QtGui/QLabel>
#include <QtCore/QAbstractListModel>
#include <QtGui/QTreeView>
namespace Utils {
class DetailsWidget;
}
namespace ProjectExplorer {
class Project;
......
......@@ -38,15 +38,14 @@
#include <utils/pathchooser.h>
#include <QtCore/QDebug>
#include <QtGui/QDirModel>
#include <QtGui/QVBoxLayout>
#include <QtGui/QToolButton>
#include <QtGui/QLabel>
#include <QtGui/QListView>
#include <QtGui/QSortFilterProxyModel>
using namespace ProjectExplorer;
using namespace ProjectExplorer::Internal;
namespace {
bool debug = false;
}
enum { debug = 0 };
namespace ProjectExplorer {
namespace Internal {
......@@ -62,9 +61,6 @@ protected:
}
};
} // namespace Internal
} // namespace ProjectExplorer
/*!
/class FolderNavigationWidget
......@@ -205,7 +201,7 @@ Core::NavigationView FolderNavigationWidgetFactory::createWidget()
FolderNavigationWidget *ptw = new FolderNavigationWidget;
n.widget = ptw;
QToolButton *toggleSync = new QToolButton;
toggleSync->setIcon(QIcon(":/core/images/linkicon.png"));
toggleSync->setIcon(QIcon(QLatin1String(":/core/images/linkicon.png")));
toggleSync->setCheckable(true);
toggleSync->setChecked(ptw->autoSynchronization());
toggleSync->setToolTip(tr("Synchronize with Editor"));
......@@ -214,4 +210,7 @@ Core::NavigationView FolderNavigationWidgetFactory::createWidget()
return n;
}
} // namespace Internal
} // namespace ProjectExplorer
#include "foldernavigationwidget.moc"
......@@ -32,12 +32,17 @@
#include <coreplugin/inavigationwidgetfactory.h>
#include <QtGui/QDirModel>
#include <QtGui/QLabel>
#include <QtGui/QListView>
#include <QtGui/QSortFilterProxyModel>
#include <QtGui/QWidget>
QT_BEGIN_NAMESPACE
class QLabel;
class QListView;
class QSortFilterProxyModel;
class QModelIndex;
class QDirModel;
class QDir;
QT_END_NAMESPACE
namespace ProjectExplorer {
class ProjectExplorerPlugin;
......
......@@ -35,12 +35,14 @@
#include <coreplugin/coreconstants.h>
#include <coreplugin/icore.h>
#include <coreplugin/uniqueidmanager.h>
#include <coreplugin/icontext.h>
#include <find/basetextfind.h>
#include <aggregation/aggregate.h>
#include <QtGui/QIcon>
#include <QtGui/QScrollBar>
#include <QtGui/QTextLayout>
#include <QtGui/QTextBlock>
#include <QtGui/QPainter>
#include <QtGui/QApplication>
#include <QtGui/QClipboard>
......@@ -48,6 +50,7 @@
#include <QtGui/QMessageBox>
#include <QtGui/QVBoxLayout>
#include <QtGui/QTabWidget>
#include <QtGui/QToolButton>
using namespace ProjectExplorer::Internal;
using namespace ProjectExplorer;
......
......@@ -31,19 +31,22 @@
#define OUTPUTWINDOW_H
#include <coreplugin/ioutputpane.h>
#include <texteditor/plaintexteditor.h>
#include <QtCore/QObject>
#include <QtCore/QHash>
#include <QtCore/QBasicTimer>
#include <QtGui/QAbstractScrollArea>
#include <QtGui/QToolButton>
#include <QtGui/QShowEvent>
#include <QtGui/QPlainTextEdit>
QT_BEGIN_NAMESPACE
class QTabWidget;
class QToolButton;
class QAction;
QT_END_NAMESPACE
namespace Core {
class BaseContext;
}
namespace ProjectExplorer {
class RunControl;
......@@ -108,7 +111,6 @@ private:
QTabWidget *m_tabWidget;
QHash<RunControl *, OutputWindow *> m_outputWindows;
QAction *m_stopAction;
// QToolButton *m_insertLineButton;
QToolButton *m_reRunButton;
QToolButton *m_stopButton;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment