Commit 9528671f authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Clean headers in Bazaar.



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

Change-Id: I004d756b351c3fdd9d13367627b1345f3efa7f2a
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent 4f1e892f
...@@ -29,13 +29,9 @@ ...@@ -29,13 +29,9 @@
#include "bazaarclient.h" #include "bazaarclient.h"
#include "constants.h" #include "constants.h"
#include <vcsbase/vcsbaseclientsettings.h>
#include <vcsbase/vcsbaseplugin.h> #include <vcsbase/vcsbaseplugin.h>
#include <vcsbase/vcsbaseeditor.h>
#include <vcsbase/vcsbaseeditorparameterwidget.h> #include <vcsbase/vcsbaseeditorparameterwidget.h>
#include <utils/qtcassert.h>
#include <QDir> #include <QDir>
#include <QFileInfo> #include <QFileInfo>
#include <QTextStream> #include <QTextStream>
......
...@@ -31,7 +31,6 @@ ...@@ -31,7 +31,6 @@
#include <texteditor/texteditorsettings.h> #include <texteditor/texteditorsettings.h>
#include <texteditor/fontsettings.h> #include <texteditor/fontsettings.h>
#include <texteditor/texteditorconstants.h>
#include <utils/qtcassert.h> #include <utils/qtcassert.h>
#include <QSyntaxHighlighter> #include <QSyntaxHighlighter>
......
...@@ -29,13 +29,11 @@ ...@@ -29,13 +29,11 @@
#include "bazaarcontrol.h" #include "bazaarcontrol.h"
#include "bazaarclient.h" #include "bazaarclient.h"
#include <vcsbase/vcsbaseclientsettings.h>
#include <vcsbase/vcsbaseconstants.h> #include <vcsbase/vcsbaseconstants.h>
#include <QFileInfo> #include <QFileInfo>
#include <QVariant> #include <QVariant>
#include <QStringList> #include <QStringList>
#include <QDir>
using namespace Bazaar::Internal; using namespace Bazaar::Internal;
......
...@@ -29,19 +29,12 @@ ...@@ -29,19 +29,12 @@
#include "bazaareditor.h" #include "bazaareditor.h"
#include "annotationhighlighter.h" #include "annotationhighlighter.h"
#include "constants.h" #include "constants.h"
#include "bazaarplugin.h"
#include "bazaarclient.h"
#include <coreplugin/editormanager/editormanager.h>
#include <utils/qtcassert.h> #include <utils/qtcassert.h>
#include <vcsbase/diffhighlighter.h>
#include <QRegExp> #include <QRegExp>
#include <QString> #include <QString>
#include <QTextCursor> #include <QTextCursor>
#include <QTextBlock>
#include <QDir>
#include <QFileInfo>
#include <QDebug> #include <QDebug>
#define BZR_CHANGE_PATTERN "[0-9]+" #define BZR_CHANGE_PATTERN "[0-9]+"
......
...@@ -43,7 +43,6 @@ ...@@ -43,7 +43,6 @@
#include <coreplugin/actionmanager/actioncontainer.h> #include <coreplugin/actionmanager/actioncontainer.h>
#include <coreplugin/actionmanager/command.h> #include <coreplugin/actionmanager/command.h>
#include <coreplugin/id.h> #include <coreplugin/id.h>
#include <coreplugin/vcsmanager.h>
#include <coreplugin/coreconstants.h> #include <coreplugin/coreconstants.h>
#include <coreplugin/icore.h> #include <coreplugin/icore.h>
#include <coreplugin/documentmanager.h> #include <coreplugin/documentmanager.h>
...@@ -63,12 +62,9 @@ ...@@ -63,12 +62,9 @@
#include <QtPlugin> #include <QtPlugin>
#include <QAction> #include <QAction>
#include <QMenu> #include <QMenu>
#include <QMainWindow>
#include <QDebug> #include <QDebug>
#include <QtGlobal>
#include <QDir> #include <QDir>
#include <QDialog> #include <QDialog>
#include <QFileDialog>
using namespace Bazaar::Internal; using namespace Bazaar::Internal;
using namespace Bazaar; using namespace Bazaar;
......
...@@ -31,15 +31,10 @@ ...@@ -31,15 +31,10 @@
#include "bazaarsettings.h" #include "bazaarsettings.h"
#include <vcsbase/vcsbaseclientsettings.h>
#include <vcsbase/vcsbaseclient.h> #include <vcsbase/vcsbaseclient.h>
#include <vcsbase/vcsbaseplugin.h> #include <vcsbase/vcsbaseplugin.h>
#include <coreplugin/icontext.h> #include <coreplugin/icontext.h>
#include <QFileInfo>
#include <QHash>
#include <qglobal.h>
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
class QAction; class QAction;
QT_END_NAMESPACE QT_END_NAMESPACE
......
...@@ -29,8 +29,6 @@ ...@@ -29,8 +29,6 @@
#include "bazaarsettings.h" #include "bazaarsettings.h"
#include "constants.h" #include "constants.h"
#include <QSettings>
namespace Bazaar { namespace Bazaar {
namespace Internal { namespace Internal {
......
...@@ -34,8 +34,6 @@ ...@@ -34,8 +34,6 @@
#include <QDebug> #include <QDebug>
#include <QDir> //TODO REMOVE WHEN BASE FILE CHANGES ARE PULLED
using namespace Bazaar::Internal; using namespace Bazaar::Internal;
CommitEditor::CommitEditor(const VcsBase::VcsBaseSubmitEditorParameters *parameters, QWidget *parent) CommitEditor::CommitEditor(const VcsBase::VcsBaseSubmitEditorParameters *parameters, QWidget *parent)
......
...@@ -27,12 +27,10 @@ ...@@ -27,12 +27,10 @@
** **
****************************************************************************/ ****************************************************************************/
#include "optionspage.h" #include "optionspage.h"
#include "constants.h"
#include "bazaarsettings.h" #include "bazaarsettings.h"
#include "bazaarplugin.h" #include "bazaarplugin.h"
#include <coreplugin/icore.h> #include <coreplugin/icore.h>
#include <utils/pathchooser.h>
#include <vcsbase/vcsbaseconstants.h> #include <vcsbase/vcsbaseconstants.h>
#include <QTextStream> #include <QTextStream>
......
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