Commit 9393335c authored by Friedemann Kleint's avatar Friedemann Kleint

Clean headers in Git.

Ran script to remove inludes on a trial-and-error basis and
manually corrected it.

Change-Id: Ib2afbc530760684db96888b927c5153b29fe24aa
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent ffb2f2cc
......@@ -37,12 +37,10 @@
#include "ui_branchdialog.h"
#include "stashdialog.h" // Label helpers
#include <utils/checkablemessagebox.h>
#include <utils/qtcassert.h>
#include <vcsbase/vcsbaseoutputwindow.h>
#include <QItemSelectionModel>
#include <QPushButton>
#include <QMessageBox>
#include <QList>
......
......@@ -31,7 +31,6 @@
#define BRANCHDIALOG_H
#include <QDialog>
#include <QItemSelection>
QT_BEGIN_NAMESPACE
class QPushButton;
......
......@@ -34,8 +34,6 @@
#include <vcsbase/vcsbaseoutputwindow.h>
#include <QFont>
#include <QRegExp>
#include <QTimer>
namespace Git {
namespace Internal {
......
......@@ -31,7 +31,6 @@
#define BRANCHMODEL_H
#include <QAbstractListModel>
#include <QList>
#include <QVariant>
namespace Git {
......
......@@ -33,8 +33,6 @@
#include <QProcess>
#include <QFormLayout>
#include <QSpacerItem>
#include <QFormLayout>
#include <QHBoxLayout>
#include <QPushButton>
#include <QLabel>
......
......@@ -32,9 +32,6 @@
#include "gitclient.h"
#include <vcsbase/checkoutjobs.h>
#include <utils/qtcassert.h>
#include <QCheckBox>
namespace Git {
......
......@@ -32,7 +32,6 @@
#include <QCoreApplication>
#include <QDebug>
#include <QRegExp>
namespace Git {
namespace Internal {
......
......@@ -31,7 +31,6 @@
#include "gerritmodel.h"
#include "gerritparameters.h"
#include <utils/filterlineedit.h>
#include <utils/qtcassert.h>
#include <coreplugin/icore.h>
......@@ -42,16 +41,12 @@
#include <QLabel>
#include <QTextBrowser>
#include <QTreeView>
#include <QHeaderView>
#include <QDialogButtonBox>
#include <QPushButton>
#include <QDesktopServices>
#include <QSortFilterProxyModel>
#include <QGroupBox>
#include <QUrl>
#include <QClipboard>
#include <QApplication>
#include <QProcess>
#include <QStringListModel>
#include <QCompleter>
......
......@@ -30,7 +30,6 @@
#include "gerritmodel.h"
#include "gerritparameters.h"
#include <coreplugin/vcsmanager.h>
#include <coreplugin/icore.h>
#include <coreplugin/progressmanager/progressmanager.h>
#include <coreplugin/progressmanager/futureprogress.h>
......@@ -40,9 +39,7 @@
#include <QStringList>
#include <QProcess>
#include <QVariant>
#include <QUrl>
#include <QTextStream>
#include <QDesktopServices>
#include <QMessageBox>
#include <QPushButton>
#include <QDebug>
......
......@@ -32,8 +32,6 @@
#include <QStandardItemModel>
#include <QSharedPointer>
#include <QMetaType>
#include <QPair>
#include <QDateTime>
QT_BEGIN_NAMESPACE
......
......@@ -37,7 +37,6 @@
#include <QSpinBox>
#include <QCheckBox>
#include <QFormLayout>
#include <QVBoxLayout>
namespace Gerrit {
namespace Internal {
......
......@@ -32,10 +32,8 @@
#include "../gitplugin.h"
#include "../gitclient.h"
#include <coreplugin/icore.h>
#include <QDir>
#include <QMessageBox>
namespace Gerrit {
namespace Internal {
......
......@@ -39,23 +39,16 @@
#include <vcsbase/submitfilemodel.h>
#include <coreplugin/actionmanager/actionmanager.h>
#include <coreplugin/coreconstants.h>
#include <coreplugin/editormanager/editormanager.h>
#include <coreplugin/icore.h>
#include <coreplugin/messagemanager.h>
#include <coreplugin/progressmanager/progressmanager.h>
#include <coreplugin/vcsmanager.h>
#include <coreplugin/id.h>
#include <coreplugin/documentmanager.h>
#include <coreplugin/iversioncontrol.h>
#include <texteditor/itexteditor.h>
#include <utils/hostosinfo.h>
#include <utils/qtcassert.h>
#include <utils/qtcprocess.h>
#include <utils/synchronousprocess.h>
#include <utils/environment.h>
#include <utils/fileutils.h>
#include <vcsbase/command.h>
#include <vcsbase/vcsbaseeditor.h>
......@@ -71,7 +64,6 @@
#include <QSignalMapper>
#include <QTime>
#include <QComboBox>
#include <QMessageBox>
#include <QPushButton>
#include <QToolButton>
......
......@@ -30,25 +30,18 @@
#include "giteditor.h"
#include "annotationhighlighter.h"
#include "gitconstants.h"
#include "gitplugin.h"
#include "gitclient.h"
#include "gitsettings.h"
#include <QTextCodec>
#include <coreplugin/editormanager/editormanager.h>
#include <utils/qtcassert.h>
#include <vcsbase/diffhighlighter.h>
#include <vcsbase/vcsbaseoutputwindow.h>
#include <QDebug>
#include <QDir>
#include <QFileInfo>
#include <QRegExp>
#include <QSet>
#include <QTextStream>
#include <QTextCursor>
#include <QTextEdit>
#include <QTextBlock>
#define CHANGE_PATTERN "[a-f0-9]{7,40}"
......
......@@ -30,7 +30,6 @@
#include "gitorious.h"
#include <QDebug>
#include <QCoreApplication>
#include <QXmlStreamReader>
#include <QSettings>
......
......@@ -28,7 +28,6 @@
****************************************************************************/
#include "gitoriousprojectwidget.h"
#include "gitorioushostwizardpage.h"
#include "gitorious.h"
#include "ui_gitoriousprojectwidget.h"
......@@ -42,7 +41,6 @@
#include <QStandardItem>
#include <QItemSelectionModel>
#include <QDesktopServices>
#include <QIcon>
#include <QStyle>
enum {
......
......@@ -32,8 +32,6 @@
#include "gitorioushostwizardpage.h"
#include "gitorious.h"
#include <utils/qtcassert.h>
#include <QStackedWidget>
#include <QVBoxLayout>
......
......@@ -33,8 +33,6 @@
#include "gitorious.h"
#include "ui_gitoriousrepositorywizardpage.h"
#include <utils/qtcassert.h>
#include <QDebug>
#include <QStandardItemModel>
......
......@@ -51,7 +51,6 @@
#include <coreplugin/icore.h>
#include <coreplugin/coreconstants.h>
#include <coreplugin/documentmanager.h>
#include <coreplugin/messagemanager.h>
#include <coreplugin/actionmanager/actionmanager.h>
#include <coreplugin/actionmanager/actioncontainer.h>
#include <coreplugin/actionmanager/command.h>
......@@ -62,7 +61,6 @@
#include <utils/qtcassert.h>
#include <utils/parameteraction.h>
#include <utils/fileutils.h>
#include <vcsbase/basevcseditorfactory.h>
#include <vcsbase/submitfilemodel.h>
......@@ -79,7 +77,6 @@
#include <QAction>
#include <QFileDialog>
#include <QMenu>
#include <QMessageBox>
static const unsigned minimumRequiredVersion = 0x010702;
......@@ -1284,8 +1281,6 @@ GitClient *GitPlugin::gitClient() const
#ifdef WITH_TESTS
#include <QTest>
#include <QTextBlock>
#include <QTextDocument>
Q_DECLARE_METATYPE(FileStates)
......
......@@ -34,11 +34,6 @@
#include "vcsbase/vcsbaseplugin.h"
#include <coreplugin/editormanager/ieditorfactory.h>
#include <extensionsystem/iplugin.h>
#include <QObject>
#include <QProcess>
#include <QStringList>
#include <QPointer>
#include <QPair>
......@@ -51,6 +46,7 @@ class QFileInfo;
QT_END_NAMESPACE
namespace Core {
class IEditor;
class IEditorFactory;
class Command;
class Context;
......
......@@ -32,8 +32,6 @@
#include <vcsbase/vcsbaseclientsettings.h>
#include <QStringList>
namespace Git {
namespace Internal {
......
......@@ -30,7 +30,6 @@
#include "gitsubmiteditor.h"
#include "commitdata.h"
#include "gitclient.h"
#include "gitconstants.h"
#include "gitplugin.h"
#include "gitsubmiteditorwidget.h"
......
......@@ -32,10 +32,8 @@
#include <texteditor/texteditorsettings.h>
#include <texteditor/fontsettings.h>
#include <texteditor/texteditorconstants.h>
#include <utils/qtcassert.h>
#include <QLineEdit>
#include <QRegExpValidator>
#include <QSyntaxHighlighter>
#include <QTextEdit>
......
......@@ -30,7 +30,6 @@
#include "gitutils.h"
#include <QDebug>
#include <QStringList>
#include <QInputDialog>
#include <QLineEdit>
......
......@@ -29,10 +29,8 @@
#include "gitversioncontrol.h"
#include "gitclient.h"
#include "gitplugin.h"
#include "gitutils.h"
#include <utils/qtcassert.h>
#include <vcsbase/vcsbaseconstants.h>
#include <QFileInfo>
......
......@@ -39,7 +39,6 @@
#include <QItemSelectionModel>
#include <QVBoxLayout>
#include <QComboBox>
#include <QDir>
namespace Git {
namespace Internal {
......
......@@ -33,7 +33,6 @@
#include <vcsbase/vcsbaseoutputwindow.h>
#include <QFile>
#include <QMessageBox>
#include <QProcess>
#include <QPushButton>
......
......@@ -38,8 +38,6 @@
#include <vcsbase/vcsbaseoutputwindow.h>
#include <QItemSelectionModel>
#include <QPushButton>
#include <QMessageBox>
namespace Git {
......
......@@ -34,14 +34,10 @@
#include <vcsbase/vcsbaseconstants.h>
#include <utils/hostosinfo.h>
#include <utils/pathchooser.h>
#include <QCoreApplication>
#include <QDir>
#include <QFileInfo>
#include <QDebug>
#include <QTextStream>
#include <QProcessEnvironment>
#include <QMessageBox>
namespace Git {
......
......@@ -31,7 +31,6 @@
#define SETTINGSPAGE_H
#include <QWidget>
#include <QPointer>
#include <vcsbase/vcsbaseoptionspage.h>
......
......@@ -34,7 +34,6 @@
#include "ui_stashdialog.h"
#include <utils/qtcassert.h>
#include <vcsbase/vcsbaseoutputwindow.h>
#include <QDebug>
#include <QDir>
......@@ -42,7 +41,6 @@
#include <QDateTime>
#include <QStandardItemModel>
#include <QSortFilterProxyModel>
#include <QItemSelectionModel>
#include <QMessageBox>
#include <QPushButton>
......
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