Commit 85d12bb4 authored by Friedemann Kleint's avatar Friedemann Kleint Committed by hjk

Clean headers in debugger plugin.

Change-Id: Ia50e61a82101b699390b23b4f1ea9509619314bb
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent 090638c2
......@@ -28,14 +28,12 @@
****************************************************************************/
#include "breakhandler.h"
#include "debuggerinternalconstants.h"
#include "breakpointmarker.h"
#include "debuggeractions.h"
#include "debuggercore.h"
#include "debuggerengine.h"
#include "debuggerstringutils.h"
#include "stackframe.h"
#include <extensionsystem/invoker.h>
#include <utils/hostosinfo.h>
......@@ -46,8 +44,7 @@
#endif
#include <QDir>
#include <QFileInfo>
#include <QTimerEvent>
#include <QDebug>
#define BREAK_ASSERT(cond, action) if (cond) {} else { action; }
//#define BREAK_ASSERT(cond, action) QTC_ASSERT(cond, action)
......
......@@ -32,11 +32,8 @@
#include "breakpoint.h"
#include <QObject>
#include <QAbstractTableModel>
#include <QIcon>
//////////////////////////////////////////////////////////////////
//
// BreakHandler
......
......@@ -31,7 +31,6 @@
#include "utils/qtcassert.h"
#include <QByteArray>
#include <QDebug>
#include <QFileInfo>
......
......@@ -30,8 +30,6 @@
#ifndef DEBUGGER_BREAKPOINT_H
#define DEBUGGER_BREAKPOINT_H
#include <QDebug>
#include <QList>
#include <QMetaType>
#include <QString>
......
......@@ -31,8 +31,6 @@
#include "breakhandler.h"
#include "debuggercore.h"
#include <QIcon>
//////////////////////////////////////////////////////////////////
//
// BreakpointMarker
......
......@@ -28,7 +28,6 @@
****************************************************************************/
#include "breakwindow.h"
#include "debuggerinternalconstants.h"
#include "breakhandler.h"
#include "debuggerengine.h"
#include "debuggeractions.h"
......@@ -38,28 +37,18 @@
#include <utils/qtcassert.h>
#include <utils/savedaction.h>
#include <QAction>
#include <QApplication>
#include <QButtonGroup>
#include <QCheckBox>
#include <QComboBox>
#include <QDebug>
#include <QDialog>
#include <QDialogButtonBox>
#include <QFormLayout>
#include <QGroupBox>
#include <QHBoxLayout>
#include <QHeaderView>
#include <QIntValidator>
#include <QKeyEvent>
#include <QLabel>
#include <QLineEdit>
#include <QMenu>
#include <QSpacerItem>
#include <QSpinBox>
#include <QTextEdit>
#include <QVariant>
#include <QVBoxLayout>
namespace Debugger {
namespace Internal {
......
......@@ -30,7 +30,6 @@
#ifndef BYTEARRAYINPUTSTREAM_H
#define BYTEARRAYINPUTSTREAM_H
#include <QByteArray>
#include <QString>
namespace Debugger {
......
......@@ -30,16 +30,12 @@
#include "cdbengine.h"
#include "breakhandler.h"
#include "breakpoint.h"
#include "bytearrayinputstream.h"
#include "cdboptions.h"
#include "cdboptionspage.h"
#include "cdbparsehelpers.h"
#include "debuggeractions.h"
#include "debuggercore.h"
#include "debuggerinternalconstants.h"
#include "debuggerprotocol.h"
#include "debuggerrunner.h"
#include "debuggerstartparameters.h"
#include "debuggertooltipmanager.h"
#include "disassembleragent.h"
......@@ -47,23 +43,15 @@
#include "memoryagent.h"
#include "moduleshandler.h"
#include "registerhandler.h"
#include "stackframe.h"
#include "stackhandler.h"
#include "threadshandler.h"
#include "watchhandler.h"
#include "watchutils.h"
#include "shared/cdbsymbolpathlisteditor.h"
#include "shared/hostutils.h"
#include "procinterrupt.h"
#include "sourceutils.h"
#include <TranslationUnit.h>
#include <coreplugin/icore.h>
#include <texteditor/itexteditor.h>
#include <projectexplorer/abi.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <projectexplorer/task.h>
#include <projectexplorer/taskhub.h>
#include <utils/synchronousprocess.h>
......@@ -76,17 +64,9 @@
#include <utils/hostosinfo.h>
#include <cplusplus/findcdbbreakpoint.h>
#include <cplusplus/CppDocument.h>
#include <cpptools/ModelManagerInterface.h>
#include <QCoreApplication>
#include <QFileInfo>
#include <QDir>
#include <QDebug>
#include <QTextStream>
#include <QDateTime>
#include <QToolTip>
#include <QMainWindow>
#include <QMessageBox>
#include <cctype>
......
......@@ -31,17 +31,12 @@
#define DEBUGGER_CDBENGINE_H
#include "debuggerengine.h"
#include "breakpoint.h"
#include "threaddata.h"
#include <QSharedPointer>
#include <QProcess>
#include <QVariantList>
#include <QMap>
#include <QMultiHash>
#include <QVariant>
#include <QTime>
#include <QPair>
#include <QList>
namespace Utils {
class ConsoleProcess;
......
......@@ -28,22 +28,15 @@
****************************************************************************/
#include "cdboptionspage.h"
#include "cdboptions.h"
#include "commonoptionspage.h"
#include "debuggerinternalconstants.h"
#include "cdbengine.h"
#include "cdbsymbolpathlisteditor.h"
#include <utils/synchronousprocess.h>
#include <coreplugin/icore.h>
#include <QTextStream>
#include <QLineEdit>
#include <QDialogButtonBox>
#include <QPushButton>
#include <QCheckBox>
#include <QVBoxLayout>
#include <QTextStream>
namespace Debugger {
namespace Internal {
......
......@@ -35,7 +35,6 @@
#include <coreplugin/dialogs/ioptionspage.h>
#include "ui_cdboptionspagewidget.h"
#include <QWidget>
#include <QPointer>
#include <QSharedPointer>
#include <QDialog>
......
......@@ -29,20 +29,16 @@
#include "cdbparsehelpers.h"
#include "breakpoint.h"
#include "bytearrayinputstream.h"
#include "debuggerprotocol.h"
#include "disassemblerlines.h"
#include "registerhandler.h"
#include "shared/hostutils.h"
#include "threadshandler.h"
#include "threaddata.h"
#include <utils/qtcassert.h>
#include <QByteArray>
#include <QVariant>
#include <QString>
#include <QDir>
#include <QTextStream>
#include <QDebug>
#include <cctype>
......
......@@ -32,11 +32,7 @@
#include "breakpoint.h"
#include <QtGlobal>
#include <QList>
#include <QVector>
#include <QPair>
#include <QByteArray>
QT_BEGIN_NAMESPACE
class QVariant;
......
......@@ -32,16 +32,12 @@
#include "debuggeractions.h"
#include "debuggerinternalconstants.h"
#include "debuggercore.h"
#include "debuggerstringutils.h"
#include <coreplugin/icore.h>
#include <coreplugin/manhattanstyle.h>
#include <utils/hostosinfo.h>
#include <utils/qtcassert.h>
#include <projectexplorer/projectexplorer.h>
#include <QLabel>
#include <QSpinBox>
#include <QTextStream>
using namespace Core;
......
......@@ -36,11 +36,10 @@
#include <coreplugin/dialogs/ioptionspage.h>
#include <utils/savedaction.h>
#include <QCheckBox>
#include <QLabel>
#include <QPointer>
#include <QSharedPointer>
#include <QSpinBox>
class QSpinBox;
namespace Debugger {
namespace Internal {
......
......@@ -28,7 +28,6 @@
****************************************************************************/
#include "debuggeractions.h"
#include "debuggerconstants.h"
#ifdef Q_OS_WIN
#include "registerpostmortemaction.h"
......@@ -36,10 +35,8 @@
#include <utils/savedaction.h>
#include <utils/qtcassert.h>
#include <utils/pathchooser.h>
#include <QDebug>
#include <QVariant>
#include <QSettings>
using namespace Utils;
......
......@@ -30,46 +30,28 @@
#include "debuggerdialogs.h"
#include "debuggerstartparameters.h"
#include "debuggerconstants.h"
#include "debuggerkitinformation.h"
#include "debuggerstringutils.h"
#include "cdb/cdbengine.h"
#include "shared/hostutils.h"
#include <coreplugin/icore.h>
#include <projectexplorer/abi.h>
#include <projectexplorer/kitinformation.h>
#include <utils/historycompleter.h>
#include <utils/pathchooser.h>
#include <utils/fancylineedit.h>
#include <utils/qtcassert.h>
#include <utils/synchronousprocess.h>
#include <QAction>
#include <QApplication>
#include <QButtonGroup>
#include <QCheckBox>
#include <QDebug>
#include <QDialog>
#include <QDialogButtonBox>
#include <QDir>
#include <QFileDialog>
#include <QFormLayout>
#include <QGridLayout>
#include <QGroupBox>
#include <QHeaderView>
#include <QLabel>
#include <QLineEdit>
#include <QMessageBox>
#include <QPushButton>
#include <QRadioButton>
#include <QRegExp>
#include <QScrollArea>
#include <QSpinBox>
#include <QStandardItemModel>
#include <QTreeView>
#include <QVariant>
#include <QVBoxLayout>
using namespace Core;
using namespace ProjectExplorer;
......
......@@ -34,8 +34,6 @@
#include <projectexplorer/abi.h>
#include <QDialog>
#include <QHash>
#include <QStringList>
QT_BEGIN_NAMESPACE
class QModelIndex;
......
......@@ -32,7 +32,6 @@
#include "debuggerinternalconstants.h"
#include "debuggeractions.h"
#include "debuggercore.h"
#include "debuggerplugin.h"
#include "debuggerrunner.h"
#include "debuggerstringutils.h"
#include "debuggerstartparameters.h"
......@@ -43,25 +42,19 @@
#include "moduleshandler.h"
#include "peutils.h"
#include "registerhandler.h"
#include "snapshothandler.h"
#include "sourcefileshandler.h"
#include "stackhandler.h"
#include "threadshandler.h"
#include "watchhandler.h"
#include <coreplugin/icore.h>
#include <coreplugin/idocument.h>
#include <coreplugin/editormanager/editormanager.h>
#include <coreplugin/progressmanager/progressmanager.h>
#include <coreplugin/progressmanager/futureprogress.h>
#include <texteditor/itexteditor.h>
#include <texteditor/basetextmark.h>
#include <projectexplorer/projectexplorer.h>
#include <projectexplorer/taskhub.h>
#include <utils/elfreader.h>
#include <utils/savedaction.h>
#include <utils/qtcassert.h>
#include <utils/fileinprojectfinder.h>
......@@ -70,9 +63,7 @@
#include <QDebug>
#include <QTimer>
#include <QFile>
#include <QFileInfo>
#include <QFutureInterface>
#include <QMessageBox>
......
......@@ -36,7 +36,6 @@
#include "threaddata.h" // For ThreadId.
#include <QObject>
#include <QStringList>
QT_BEGIN_NAMESPACE
class QDebug;
......
......@@ -28,31 +28,20 @@
****************************************************************************/
#include "debuggerkitconfigwidget.h"
#include "debuggerkitinformation.h"
#include <coreplugin/icore.h>
#include <projectexplorer/abi.h>
#include <projectexplorer/kitinformation.h>
#include <utils/pathchooser.h>
#include <utils/qtcassert.h>
#include <utils/elidinglabel.h>
#ifdef Q_OS_WIN
#include <utils/winutils.h>
#endif
#include <QUrl>
#include <QDesktopServices>
#include <QHBoxLayout>
#include <QVBoxLayout>
#include <QFormLayout>
#include <QLabel>
#include <QComboBox>
#include <QMenu>
#include <QAction>
#include <QPushButton>
#include <QDialogButtonBox>
......
......@@ -49,7 +49,6 @@ class FileName;
}
namespace Debugger {
class DebuggerKitInformation;
namespace Internal {
// -----------------------------------------------------------------------
......
......@@ -33,14 +33,12 @@
#include <projectexplorer/abi.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <projectexplorer/toolchain.h>
#include <projectexplorer/toolchainmanager.h>
#include <utils/environment.h>
#include <utils/qtcassert.h>
#include <QDir>
#include <QPair>
using namespace ProjectExplorer;
using namespace Utils;
......
......@@ -34,39 +34,27 @@
#include <utils/appmainwindow.h>
#include <utils/styledbar.h>
#include <utils/qtcassert.h>
#include <utils/fancymainwindow.h>
#include <coreplugin/actionmanager/actioncontainer.h>
#include <coreplugin/actionmanager/actionmanager.h>
#include <coreplugin/actionmanager/command.h>
#include <coreplugin/id.h>
#include <coreplugin/imode.h>
#include <coreplugin/coreconstants.h>
#include <coreplugin/editormanager/editormanager.h>
#include <coreplugin/findplaceholder.h>
#include <coreplugin/icore.h>
#include <coreplugin/minisplitter.h>
#include <coreplugin/navigationwidget.h>
#include <coreplugin/outputpane.h>
#include <coreplugin/rightpane.h>
#include <projectexplorer/project.h>
#include <projectexplorer/projectexplorer.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <projectexplorer/runconfiguration.h>
#include <projectexplorer/session.h>
#include <projectexplorer/target.h>
#include <QDebug>
#include <QList>
#include <QMap>
#include <QPair>
#include <QSettings>
#include <QDockWidget>
#include <QMenu>
#include <QResizeEvent>
#include <QStackedWidget>
#include <QVBoxLayout>
using namespace Core;
......
......@@ -31,7 +31,6 @@
#include "debuggerstartparameters.h"
#include "debuggeractions.h"
#include "debuggerconstants.h"
#include "debuggerinternalconstants.h"
#include "debuggercore.h"
#include "debuggerdialogs.h"
......@@ -42,7 +41,6 @@
#include "debuggerstringutils.h"
#include "debuggerkitinformation.h"
#include "memoryagent.h"
#include "breakpoint.h"
#include "breakhandler.h"
#include "breakwindow.h"
#include "disassemblerlines.h"
......@@ -71,45 +69,26 @@
#include <coreplugin/actionmanager/actionmanager.h>
#include <coreplugin/actionmanager/actioncontainer.h>
#include <coreplugin/actionmanager/command.h>
#include <coreplugin/id.h>
#include <coreplugin/imode.h>
#include <coreplugin/coreconstants.h>
#include <coreplugin/dialogs/ioptionspage.h>
#include <coreplugin/editormanager/editormanager.h>
#include <coreplugin/findplaceholder.h>
#include <coreplugin/icontext.h>
#include <coreplugin/icore.h>
#include <coreplugin/icorelistener.h>
#include <coreplugin/messagemanager.h>
#include <coreplugin/minisplitter.h>
#include <coreplugin/modemanager.h>
#include <cppeditor/cppeditorconstants.h>
#include <cpptools/ModelManagerInterface.h>
#include <extensionsystem/pluginmanager.h>
#include <extensionsystem/invoker.h>
#include <projectexplorer/abi.h>
#include <projectexplorer/localapplicationrunconfiguration.h>
#include <projectexplorer/buildconfiguration.h>
#include <projectexplorer/buildmanager.h>
#include <projectexplorer/devicesupport/deviceprocesslist.h>
#include <projectexplorer/devicesupport/deviceprocessesdialog.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <projectexplorer/projectexplorer.h>
#include <projectexplorer/projectexplorersettings.h>
#include <projectexplorer/project.h>
#include <projectexplorer/session.h>
#include <projectexplorer/kitchooser.h>
#include <projectexplorer/kitinformation.h>
#include <projectexplorer/kitmanager.h>
#include <projectexplorer/target.h>
#include <projectexplorer/toolchain.h>
#include <projectexplorer/toolchainmanager.h>
#include <projectexplorer/devicesupport/deviceprocesslist.h>
#include <qtsupport/qtsupportconstants.h>
#include <texteditor/basetexteditor.h>
#include <texteditor/fontsettings.h>
......@@ -117,26 +96,18 @@
#include <utils/hostosinfo.h>
#include <utils/qtcassert.h>
#include <utils/savedaction.h>
#include <utils/styledbar.h>
#include <utils/proxyaction.h>
#include <utils/statuslabel.h>
#include <utils/fileutils.h>
#ifdef Q_OS_WIN
# include <utils/winutils.h>
#endif
#include <QComboBox>
#include <QDockWidget>
#include <QFileDialog>
#include <QInputDialog>
#include <QMenu>
#include <QMessageBox>
#include <QPushButton>
#include <QTemporaryFile>
#include <QTextBlock>
#include <QTextCursor>
#include <QTimer>
#include <QToolButton>
#include <QtPlugin>
#include <QTreeWidget>
......
......@@ -29,11 +29,9 @@
#include "debuggerprotocol.h"
#include <QByteArray>
#include <QCoreApplication>
#include <QDateTime>
#include <QDebug>
#include <QTextStream>
#include <ctype.h>
......
......@@ -30,10 +30,6 @@
#ifndef DEBUGGER_PROTOCOL_H
#define DEBUGGER_PROTOCOL_H
#include "debugger_global.h"
</