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