Header cleanup in src, specify module name.

This commit is contained in:
Friedemann Kleint
2011-01-24 12:29:48 +01:00
parent 2a10a81006
commit edb4893547
109 changed files with 328 additions and 321 deletions

View File

@@ -38,8 +38,8 @@
#include <Literals.h>
#include <Symbols.h>
#include <QFile>
#include <QtDebug>
#include <QtCore/QFile>
#include <QtCore/QtDebug>
using namespace CPlusPlus;

View File

@@ -32,8 +32,8 @@
**************************************************************************/
#include "colorbox.h"
#include <QPainter>
#include <QMouseEvent>
#include <QtGui/QPainter>
#include <QtGui/QMouseEvent>
static inline QString properName(const QColor &color)
{

View File

@@ -32,7 +32,7 @@
**************************************************************************/
#include "colorbutton.h"
#include <QPainter>
#include <QtGui/QPainter>
static inline QPixmap tilePixMap(int size)
{

View File

@@ -37,7 +37,7 @@
#include <qmljs/qmljspropertyreader.h>
#include <qmljs/qmljscheck.h>
#include <customcolordialog.h>
#include <QDebug>
#include <QtCore/QDebug>
namespace QmlEditorWidgets {

View File

@@ -32,18 +32,18 @@
**************************************************************************/
#include "customcolordialog.h"
#include <QHBoxLayout>
#include <QLabel>
#include <QPainter>
#include <QDoubleSpinBox>
#include <QGridLayout>
#include <QPushButton>
#include <QDialogButtonBox>
#include <QGraphicsEffect>
#include "huecontrol.h"
#include "colorbox.h"
#include <QtGui/QHBoxLayout>
#include <QtGui/QLabel>
#include <QtGui/QPainter>
#include <QtGui/QDoubleSpinBox>
#include <QtGui/QGridLayout>
#include <QtGui/QPushButton>
#include <QtGui/QDialogButtonBox>
#include <QtGui/QGraphicsEffect>
namespace QmlEditorWidgets {
CustomColorDialog::CustomColorDialog(QWidget *parent) : QFrame(parent )

View File

@@ -35,10 +35,10 @@
#include "ui_easingcontextpane.h"
#include <qmljs/qmljspropertyreader.h>
#include <QGraphicsPixmapItem>
#include <QGraphicsScene>
#include <QPropertyAnimation>
#include <QSequentialAnimationGroup>
#include <QtGui/QGraphicsPixmapItem>
#include <QtGui/QGraphicsScene>
#include <QtCore/QPropertyAnimation>
#include <QtCore/QSequentialAnimationGroup>
namespace QmlEditorWidgets {

View File

@@ -34,13 +34,12 @@
#ifndef EASINGCONTEXTPANE_H
#define EASINGCONTEXTPANE_H
#include <QWidget>
#include <QVariant>
#include "easinggraph.h"
#include <QtGui/QWidget>
QT_BEGIN_NAMESPACE
class QVariant;
namespace Ui {
class EasingContextPane;
}

View File

@@ -33,69 +33,66 @@
#include "easinggraph.h"
#include <QPainter>
#include <QStyleOptionGraphicsItem>
#include <QtGui/QPainter>
#include <QtGui/QStyleOptionGraphicsItem>
#include <math.h>
QT_BEGIN_NAMESPACE
EasingGraph::EasingGraph(QWidget *parent):QWidget(parent)
EasingGraph::EasingGraph(QWidget *parent):QWidget(parent),
m_color(Qt::magenta), m_zeroColor(Qt::gray),m_duration(0),
m_easingExtremes(QLatin1String("In"))
{
// setFlag(QGraphicsItem::ItemHasNoContents, false);
// populate the hash
m_availableNames["Linear"]=QEasingCurve::Linear;
m_availableNames["InQuad"]=QEasingCurve::InQuad;
m_availableNames["OutQuad"]=QEasingCurve::OutQuad;
m_availableNames["InOutQuad"]=QEasingCurve::InOutQuad;
m_availableNames["OutInQuad"]=QEasingCurve::OutInQuad;
m_availableNames["InCubic"]=QEasingCurve::InCubic;
m_availableNames["OutCubic"]=QEasingCurve::OutCubic;
m_availableNames["InOutCubic"]=QEasingCurve::InOutCubic;
m_availableNames["OutInCubic"]=QEasingCurve::OutInCubic;
m_availableNames["InQuart"]=QEasingCurve::InQuart;
m_availableNames["OutQuart"]=QEasingCurve::OutQuart;
m_availableNames["InOutQuart"]=QEasingCurve::InOutQuart;
m_availableNames["OutInQuart"]=QEasingCurve::OutInQuart;
m_availableNames["InQuint"]=QEasingCurve::InQuint;
m_availableNames["OutQuint"]=QEasingCurve::OutQuint;
m_availableNames["InOutQuint"]=QEasingCurve::InOutQuint;
m_availableNames["OutInQuint"]=QEasingCurve::OutInQuint;
m_availableNames["InSine"]=QEasingCurve::InSine;
m_availableNames["OutSine"]=QEasingCurve::OutSine;
m_availableNames["InOutSine"]=QEasingCurve::InOutSine;
m_availableNames["OutInSine"]=QEasingCurve::OutInSine;
m_availableNames["InExpo"]=QEasingCurve::InExpo;
m_availableNames["OutExpo"]=QEasingCurve::OutExpo;
m_availableNames["InOutExpo"]=QEasingCurve::InOutExpo;
m_availableNames["OutInExpo"]=QEasingCurve::OutInExpo;
m_availableNames["InCirc"]=QEasingCurve::InCirc;
m_availableNames["OutCirc"]=QEasingCurve::OutCirc;
m_availableNames["InOutCirc"]=QEasingCurve::InOutCirc;
m_availableNames["OutInCirc"]=QEasingCurve::OutInCirc;
m_availableNames["InElastic"]=QEasingCurve::InElastic;
m_availableNames["OutElastic"]=QEasingCurve::OutElastic;
m_availableNames["InOutElastic"]=QEasingCurve::InOutElastic;
m_availableNames["OutInElastic"]=QEasingCurve::OutInElastic;
m_availableNames["InBack"]=QEasingCurve::InBack;
m_availableNames["OutBack"]=QEasingCurve::OutBack;
m_availableNames["InOutBack"]=QEasingCurve::InOutBack;
m_availableNames["OutInBack"]=QEasingCurve::OutInBack;
m_availableNames["InBounce"]=QEasingCurve::InBounce;
m_availableNames["OutBounce"]=QEasingCurve::OutBounce;
m_availableNames["InOutBounce"]=QEasingCurve::InOutBounce;
m_availableNames["OutInBounce"]=QEasingCurve::OutInBounce;
m_availableNames["InCurve"]=QEasingCurve::InCurve;
m_availableNames["OutCurve"]=QEasingCurve::OutCurve;
m_availableNames["SineCurve"]=QEasingCurve::SineCurve;
m_availableNames["CosineCurve"]=QEasingCurve::CosineCurve;
m_color = Qt::magenta;
m_zeroColor = Qt::gray;
m_easingExtremes = "In";
m_availableNames.insert(QLatin1String("Linear"), QEasingCurve::Linear);
m_availableNames.insert(QLatin1String("InQuad"), QEasingCurve::InQuad);
m_availableNames.insert(QLatin1String("OutQuad"), QEasingCurve::OutQuad);
m_availableNames.insert(QLatin1String("InOutQuad"), QEasingCurve::InOutQuad);
m_availableNames.insert(QLatin1String("OutInQuad"), QEasingCurve::OutInQuad);
m_availableNames.insert(QLatin1String("InCubic"), QEasingCurve::InCubic);
m_availableNames.insert(QLatin1String("OutCubic"), QEasingCurve::OutCubic);
m_availableNames.insert(QLatin1String("InOutCubic"), QEasingCurve::InOutCubic);
m_availableNames.insert(QLatin1String("OutInCubic"), QEasingCurve::OutInCubic);
m_availableNames.insert(QLatin1String("InQuart"), QEasingCurve::InQuart);
m_availableNames.insert(QLatin1String("OutQuart"), QEasingCurve::OutQuart);
m_availableNames.insert(QLatin1String("InOutQuart"), QEasingCurve::InOutQuart);
m_availableNames.insert(QLatin1String("OutInQuart"), QEasingCurve::OutInQuart);
m_availableNames.insert(QLatin1String("InQuint"), QEasingCurve::InQuint);
m_availableNames.insert(QLatin1String("OutQuint"), QEasingCurve::OutQuint);
m_availableNames.insert(QLatin1String("InOutQuint"), QEasingCurve::InOutQuint);
m_availableNames.insert(QLatin1String("OutInQuint"), QEasingCurve::OutInQuint);
m_availableNames.insert(QLatin1String("InSine"), QEasingCurve::InSine);
m_availableNames.insert(QLatin1String("OutSine"), QEasingCurve::OutSine);
m_availableNames.insert(QLatin1String("InOutSine"), QEasingCurve::InOutSine);
m_availableNames.insert(QLatin1String("OutInSine"), QEasingCurve::OutInSine);
m_availableNames.insert(QLatin1String("InExpo"), QEasingCurve::InExpo);
m_availableNames.insert(QLatin1String("OutExpo"), QEasingCurve::OutExpo);
m_availableNames.insert(QLatin1String("InOutExpo"), QEasingCurve::InOutExpo);
m_availableNames.insert(QLatin1String("OutInExpo"), QEasingCurve::OutInExpo);
m_availableNames.insert(QLatin1String("InCirc"), QEasingCurve::InCirc);
m_availableNames.insert(QLatin1String("OutCirc"), QEasingCurve::OutCirc);
m_availableNames.insert(QLatin1String("InOutCirc"), QEasingCurve::InOutCirc);
m_availableNames.insert(QLatin1String("OutInCirc"), QEasingCurve::OutInCirc);
m_availableNames.insert(QLatin1String("InElastic"), QEasingCurve::InElastic);
m_availableNames.insert(QLatin1String("OutElastic"), QEasingCurve::OutElastic);
m_availableNames.insert(QLatin1String("InOutElastic"), QEasingCurve::InOutElastic);
m_availableNames.insert(QLatin1String("OutInElastic"), QEasingCurve::OutInElastic);
m_availableNames.insert(QLatin1String("InBack"), QEasingCurve::InBack);
m_availableNames.insert(QLatin1String("OutBack"), QEasingCurve::OutBack);
m_availableNames.insert(QLatin1String("InOutBack"), QEasingCurve::InOutBack);
m_availableNames.insert(QLatin1String("OutInBack"), QEasingCurve::OutInBack);
m_availableNames.insert(QLatin1String("InBounce"), QEasingCurve::InBounce);
m_availableNames.insert(QLatin1String("OutBounce"), QEasingCurve::OutBounce);
m_availableNames.insert(QLatin1String("InOutBounce"), QEasingCurve::InOutBounce);
m_availableNames.insert(QLatin1String("OutInBounce"), QEasingCurve::OutInBounce);
m_availableNames.insert(QLatin1String("InCurve"), QEasingCurve::InCurve);
m_availableNames.insert(QLatin1String("OutCurve"), QEasingCurve::OutCurve);
m_availableNames.insert(QLatin1String("SineCurve"), QEasingCurve::SineCurve);
m_availableNames.insert(QLatin1String("CosineCurve"), QEasingCurve::CosineCurve);
}
EasingGraph::~EasingGraph()
{
}

View File

@@ -34,10 +34,9 @@
#ifndef EASINGGRAPH_H
#define EASINGGRAPH_H
//#include <QtDeclarative/qdeclarativeitem.h>
#include <QWidget>
#include <QEasingCurve>
#include <QHash>
#include <QtGui/QWidget>
#include <QtCore/QEasingCurve>
#include <QtCore/QHash>
QT_BEGIN_HEADER

View File

@@ -33,8 +33,8 @@
#include "fontsizespinbox.h"
#include <QLineEdit>
#include <QRegExpValidator>
#include <QtGui/QLineEdit>
#include <QtGui/QRegExpValidator>
namespace QmlEditorWidgets {

View File

@@ -32,8 +32,8 @@
**************************************************************************/
#include "gradientline.h"
#include <QPainter>
#include <QMouseEvent>
#include <QtGui/QPainter>
#include <QtGui/QMouseEvent>
static inline QPixmap tilePixMap(int size)
{

View File

@@ -32,8 +32,8 @@
**************************************************************************/
#include "huecontrol.h"
#include <QPainter>
#include <QMouseEvent>
#include <QtGui/QPainter>
#include <QtGui/QMouseEvent>
static inline int clamp(int x, int lower, int upper)
{

View File

@@ -45,7 +45,7 @@
#include "qmljsnodepool_p.h"
#include <qnumeric.h>
#include <QHash>
#include <QtCore/QHash>
QT_QML_BEGIN_NAMESPACE

View File

@@ -39,20 +39,18 @@
**
****************************************************************************/
#include <QtCore/QtDebug>
#include <QtGui/QApplication>
#include <string.h>
#include "qmljsparser_p.h"
#include "qmljsengine_p.h"
#include "qmljslexer_p.h"
#include "qmljsast_p.h"
#include "qmljsnodepool_p.h"
#include <QtCore/QtDebug>
#include <QtCore/QVarLengthArray>
#include <QtGui/QApplication>
#include "qmljsparser_p.h"
#include <QVarLengthArray>
#include <string.h>
//
// This file is automatically generated from qmljs.g.

View File

@@ -33,7 +33,7 @@
#include <qmljs/qmljsscanner.h>
#include <QTextCharFormat>
#include <QtGui/QTextCharFormat>
using namespace QmlJS;

View File

@@ -41,7 +41,7 @@
#include "qpacketprotocol_p.h"
#include <QBuffer>
#include <QtCore/QBuffer>
namespace QmlJsDebugClient {

View File

@@ -44,7 +44,7 @@
#include <utils/synchronousprocess.h>
#include <QtGui/QDesktopServices>
#include <QDebug>
#include <QtCore/QDebug>
namespace Utils {

View File

@@ -37,7 +37,7 @@
#include "utils_global.h"
#include <QtGui/QWidget>
#include <QVariant>
#include <QtCore/QVariant>
QT_FORWARD_DECLARE_CLASS(QResizeEvent)

View File

@@ -34,7 +34,7 @@
#include "fileinprojectfinder.h"
#include <utils/qtcassert.h>
#include <QFileInfo>
#include <QtCore/QFileInfo>
namespace Utils {

View File

@@ -32,15 +32,16 @@
**************************************************************************/
#include "historycompleter.h"
#include <QLineEdit>
#include <QCompleter>
#include <QAbstractListModel>
#include <QSettings>
#include <QKeyEvent>
#include <QItemDelegate>
#include <QListView>
#include <QPainter>
#include <QStyle>
#include <QtCore/QAbstractListModel>
#include <QtCore/QSettings>
#include <QtGui/QLineEdit>
#include <QtGui/QKeyEvent>
#include <QtGui/QItemDelegate>
#include <QtGui/QListView>
#include <QtGui/QPainter>
#include <QtGui/QStyle>
namespace Utils {

View File

@@ -34,7 +34,7 @@
#ifndef QTCPROCESS_H
#define QTCPROCESS_H
#include <QProcess>
#include <QtCore/QProcess>
#include "utils_global.h"

View File

@@ -35,7 +35,7 @@
#include <utils/stylehelper.h>
#include <utils/styledbar.h>
#include <QDebug>
#include <QtCore/QDebug>
#include <QtGui/QColorDialog>
#include <QtGui/QHBoxLayout>

View File

@@ -33,8 +33,8 @@
#include "flowlayout.h"
#include <QRect>
#include <QWidgetItem>
#include <QtCore/QRect>
#include <QtGui/QWidgetItem>
using namespace Core::Internal;

View File

@@ -42,7 +42,7 @@
#include <QtSql/QSqlDatabase>
#include <QtSql/QSqlError>
#include <QtSql/QSqlQuery>
#include <QDebug>
#include <QtCore/QDebug>
/*!
\class Core::SettingsDatabase

View File

@@ -31,9 +31,10 @@
**
**************************************************************************/
#include <QString>
#include "cppdoxygen.h"
#include <QtCore/QString>
using namespace CppTools;
/*

View File

@@ -33,6 +33,8 @@
#include "cpptools_global.h"
QT_FORWARD_DECLARE_CLASS(QChar)
namespace CppTools {
enum DoxygenReservedWord {

View File

@@ -43,9 +43,9 @@
#endif
#include <functional>
#include <QtConcurrentRun>
#include <QtCore/QtConcurrentRun>
#ifndef ICHECK_BUILD
# include <QFutureSynchronizer>
# include <QtCore/QFutureSynchronizer>
# include <qtconcurrent/runextensions.h>
# include <texteditor/itexteditor.h>
# include <texteditor/basetexteditor.h>
@@ -59,7 +59,7 @@
# include <coreplugin/progressmanager/progressmanager.h>
# include <extensionsystem/pluginmanager.h>
#else
# include <QDir>
# include <QtCore/QDir>
#endif
#include <utils/qtcassert.h>

View File

@@ -39,9 +39,9 @@
#include "debuggercore.h"
#include "debuggerstringutils.h"
#include <QDir>
#include <QFile>
#include <QTemporaryFile>
#include <QtCore/QDir>
#include <QtCore/QFile>
#include <QtCore/QTemporaryFile>
#include <utils/qtcassert.h>

View File

@@ -1,10 +1,11 @@
#include <QtCore/QCoreApplication>
#include <QtNetwork/QLocalSocket>
#include "lldbengineguest.h"
#include <cstdio>
#include <QSocketNotifier>
#include <QQueue>
#include <QtNetwork/QLocalSocket>
#include <QtCore/QCoreApplication>
#include <QtCore/QSocketNotifier>
#include <QtCore/QQueue>
#include <cstdio>
// #define DO_STDIO_DEBUG 1
#ifdef DO_STDIO_DEBUG

View File

@@ -38,12 +38,14 @@
#include "threaddata.h"
#include "debuggerstreamops.h"
#include <QSysInfo>
#include <QDebug>
#include <QFileInfo>
#include <QTimer>
#include <utils/qtcassert.h>
#include <QLocalSocket>
#include <QtNetwork/QLocalSocket>
#include <QtCore/QSysInfo>
#include <QtCore/QDebug>
#include <QtCore/QFileInfo>
#include <QtCore/QTimer>
#if Q_BYTE_ORDER == Q_LITTLE_ENDIAN
#define SET_NATIVE_BYTE_ORDER(x) x.setByteOrder(QDataStream::LittleEndian)

View File

@@ -51,11 +51,11 @@
#include <utils/qtcassert.h>
#include <QSysInfo>
#include <QDebug>
#include <QFileInfo>
#include <QTimer>
#include <QLocalSocket>
#include <QtCore/QSysInfo>
#include <QtCore/QDebug>
#include <QtCore/QFileInfo>
#include <QtCore/QTimer>
#include <QtNetwork/QLocalSocket>
#if Q_BYTE_ORDER == Q_LITTLE_ENDIAN
#define SET_NATIVE_BYTE_ORDER(x) x.setByteOrder(QDataStream::LittleEndian)

View File

@@ -34,7 +34,7 @@
#ifndef DEBUGGER_MODULESWINDOW_H
#define DEBUGGER_MODULESWINDOW_H
#include <QTreeView>
#include <QtGui/QTreeView>
namespace Debugger {
namespace Internal {

View File

@@ -44,10 +44,10 @@
#include <utils/qtcassert.h>
#include <QDesignerFormWindowInterface>
#include <QDesignerFormWindowManagerInterface>
#include <QDesignerFormEditorInterface>
#include <QDesignerPropertyEditorInterface>
#include <QtDesigner/QDesignerFormWindowInterface>
#include <QtDesigner/QDesignerFormWindowManagerInterface>
#include <QtDesigner/QDesignerFormEditorInterface>
#include <QtDesigner/QDesignerPropertyEditorInterface>
#include <QtCore/QDebug>
#include <QtCore/QVariant>

View File

@@ -34,12 +34,13 @@
#include "searchresulttreeitemdelegate.h"
#include "searchresulttreeitemroles.h"
#include <QModelIndex>
#include <QTextDocument>
#include <QPainter>
#include <QAbstractTextDocumentLayout>
#include <QApplication>
#include <QDebug>
#include <QtGui/QTextDocument>
#include <QtGui/QPainter>
#include <QtGui/QAbstractTextDocumentLayout>
#include <QtGui/QApplication>
#include <QtCore/QModelIndex>
#include <QtCore/QDebug>
#include <math.h>

View File

@@ -37,7 +37,7 @@
#include <coreplugin/ifile.h>
#include <projectexplorer/projectexplorer.h>
#include <QFileInfo>
#include <QtCore/QFileInfo>
using namespace GenericProjectManager;
using namespace GenericProjectManager::Internal;

View File

@@ -33,9 +33,9 @@
#include "pkgconfigtool.h"
#include <QProcess>
#include <QTextStream>
#include <QtDebug>
#include <QtCore/QProcess>
#include <QtCore/QTextStream>
#include <QtCore/QtDebug>
using namespace GenericProjectManager::Internal;

View File

@@ -32,6 +32,7 @@
**************************************************************************/
#include "macro.h"
#include "macroevent.h"
#include <coreplugin/coreconstants.h>

View File

@@ -34,21 +34,15 @@
#ifndef MACROSPLUGIN_MACRO_H
#define MACROSPLUGIN_MACRO_H
#include <coreplugin/uniqueidmanager.h>
#include <QList>
#include <QString>
#include <QShortcut>
#include "macroevent.h"
#include "macros_global.h"
#include "macroevent.h"
#include <QtCore/QList>
#include <QtCore/QString>
namespace Macros {
class MacroEvent;
class MACROS_EXPORT Macro
{
public:
@@ -57,7 +51,7 @@ public:
~Macro();
Macro& operator=(const Macro& other);
void load(QString fileName = QString::null);
void load(QString fileName = QString());
void loadHeader(const QString &fileName);
void save(const QString &fileName);

View File

@@ -34,6 +34,7 @@
#include "macromanager.h"
#include "macrosconstants.h"
#include "macroevent.h"
#include "macro.h"
#include "macrosettings.h"
#include "imacrohandler.h"

View File

@@ -47,6 +47,7 @@
#include <QtCore/QDir>
#include <QtCore/QFileInfo>
#include <QtGui/QShortcut>
#include <QtGui/QButtonGroup>
#include <QtGui/QTreeWidget>
#include <QtGui/QTreeWidgetItem>

View File

@@ -34,7 +34,6 @@
#ifndef MACROSPLUGIN_MACROSETTINGS_H
#define MACROSPLUGIN_MACROSETTINGS_H
#include <QtCore/QString>
#include <QtCore/QStringList>
#include <QtCore/QMap>
#include <QtCore/QVariant>

View File

@@ -45,10 +45,10 @@
#include <coreplugin/actionmanager/command.h>
#include <coreplugin/uniqueidmanager.h>
#include <QWidget>
#include <QKeyEvent>
#include <QApplication>
#include <QShortcut>
#include <QtGui/QWidget>
#include <QtGui/QKeyEvent>
#include <QtGui/QApplication>
#include <QtGui/QShortcut>
using namespace Macros;
using namespace Macros::Internal;

View File

@@ -38,7 +38,7 @@
#include <QtCore/QDebug>
#include <QDir> //TODO REMOVE WHEN BASE FILE CHANGES ARE PULLED
#include <QtCore/QDir> //TODO REMOVE WHEN BASE FILE CHANGES ARE PULLED
using namespace Mercurial::Internal;

View File

@@ -36,8 +36,7 @@
#include "project.h"
#include <QtCore/QTextCodec>
#include <QDebug>
#include <QtCore/QDebug>
using namespace ProjectExplorer;
using namespace ProjectExplorer::Internal;

View File

@@ -38,7 +38,7 @@
#include <QtGui/QTextBlock>
#include <QDebug>
#include <QtCore/QDebug>
using namespace QmlJS;
using namespace QmlJS::AST;

View File

@@ -37,7 +37,7 @@
#include <qmljs/parser/qmljsastfwd_p.h>
#include <qmljs/qmljsdocument.h>
#include <QTextCursor>
#include <QtGui/QTextCursor>
namespace QmlJSEditor {
namespace Internal {

View File

@@ -40,7 +40,7 @@
#include <QtGui/QMessageBox>
#include <QtGui/QApplication>
#include <QDebug>
#include <QtCore/QDebug>
namespace QmlJSEditor {
namespace Internal {

View File

@@ -34,7 +34,7 @@
#ifndef QMLJSPREVIEWRUNNER_H
#define QMLJSPREVIEWRUNNER_H
#include <QObject>
#include <QtCore/QObject>
#include <projectexplorer/applicationlauncher.h>

View File

@@ -7,7 +7,7 @@
#include <qmljs/qmljsicons.h>
#include <qmljs/qmljslookupcontext.h>
#include <QStandardItemModel>
#include <QtGui/QStandardItemModel>
namespace QmlJS {
namespace Interpreter {

View File

@@ -38,7 +38,7 @@
#include <projectexplorer/taskhub.h>
#include <qmljs/qmljsmodelmanagerinterface.h>
#include <QDebug>
#include <QtCore/QDebug>
namespace QmlJSEditor {
namespace Internal {

View File

@@ -17,7 +17,8 @@
#include <texteditor/tabsettings.h>
#include <coreplugin/icore.h>
#include <customcolordialog.h>
#include <QDebug>
#include <QtCore/QDebug>
using namespace QmlJS;
using namespace AST;

View File

@@ -1,16 +1,6 @@
#ifndef QUICKTOOLBAR_H
#define QUICKTOOLBAR_H
#include <QLabel>
#include <QToolBar>
#include <QPushButton>
#include <QToolButton>
#include <QGridLayout>
#include <QGroupBox>
#include <QVariant>
#include <QGraphicsDropShadowEffect>
#include <QWeakPointer>
#include <qmljs/qmljsicontextpane.h>
namespace TextEditor {

View File

@@ -44,12 +44,12 @@
#include <utils/styledbar.h>
#include <QAction>
#include <QActionGroup>
#include <QHBoxLayout>
#include <QMenu>
#include <QToolButton>
#include <QLineEdit>
#include <QtGui/QAction>
#include <QtGui/QActionGroup>
#include <QtGui/QHBoxLayout>
#include <QtGui/QMenu>
#include <QtGui/QToolButton>
#include <QtGui/QLineEdit>
namespace QmlJSInspector {
namespace Internal {

View File

@@ -34,8 +34,8 @@
#ifndef QMLINSPECTORTOOLBAR_H
#define QMLINSPECTORTOOLBAR_H
#include <QObject>
#include <QIcon>
#include <QtCore/QObject>
#include <QtGui/QIcon>
QT_FORWARD_DECLARE_CLASS(QAction)
QT_FORWARD_DECLARE_CLASS(QColor)

View File

@@ -44,9 +44,9 @@
#include <utils/qtcassert.h>
#include <projectexplorer/project.h>
#include <QUrl>
#include <QAbstractSocket>
#include <QDebug>
#include <QtCore/QUrl>
#include <QtNetwork/QAbstractSocket>
#include <QtCore/QDebug>
enum {
debug = false

View File

@@ -32,8 +32,8 @@
**************************************************************************/
#include "qmljscontextcrumblepath.h"
#include <QMouseEvent>
#include <QDebug>
#include <QtGui/QMouseEvent>
#include <QtCore/QDebug>
namespace QmlJSInspector {
namespace Internal {

View File

@@ -34,7 +34,7 @@
#define QMLJSCONTEXTCRUMBLEPATH_H
#include <utils/crumblepath.h>
#include <QStringList>
#include <QtCore/QStringList>
namespace QmlJSInspector {
namespace Internal {

View File

@@ -34,7 +34,7 @@
#ifndef INSPECTORSETTINGS_H
#define INSPECTORSETTINGS_H
#include <QObject>
#include <QtCore/QObject>
QT_FORWARD_DECLARE_CLASS(QSettings)

View File

@@ -54,7 +54,7 @@
#include <debugger/debuggerconstants.h>
#include <QDebug>
#include <QtCore/QDebug>
using namespace QmlJS;
using namespace QmlJS::AST;

View File

@@ -34,8 +34,8 @@
#ifndef SCRIPTBINDINGREWRITER_H
#define SCRIPTBINDINGREWRITER_H
#include <QObject>
#include <QWeakPointer>
#include <QtCore/QObject>
#include <QtCore/QWeakPointer>
#include <qmljs/parser/qmljsastfwd_p.h>
#include <qmljs/qmljsdocument.h>

View File

@@ -43,7 +43,7 @@
#include "qmljsclientproxy.h"
#include "qmljsinspectorconstants.h"
#include <QColor>
#include <QtGui/QColor>
namespace QmlJSInspector {
namespace Internal {

View File

@@ -34,9 +34,9 @@
#include <utils/qtcassert.h>
#include <qdeclarativeproperty.h>
#include <QHeaderView>
#include <QItemDelegate>
#include <QLineEdit>
#include <QtGui/QHeaderView>
#include <QtGui/QItemDelegate>
#include <QtGui/QLineEdit>
namespace QmlJSInspector {
namespace Internal {

View File

@@ -35,9 +35,8 @@
#include <qmljsprivateapi.h>
#include <QtGui/QTreeView>
#include <QStandardItemModel>
#include <QSortFilterProxyModel>
#include <QtGui/QStandardItemModel>
#include <QtGui/QSortFilterProxyModel>
QT_BEGIN_NAMESPACE

View File

@@ -32,18 +32,18 @@
**************************************************************************/
#include "qmljstoolbarcolorbox.h"
#include <QPixmap>
#include <QPainter>
#include <QMenu>
#include <QAction>
#include <QContextMenuEvent>
#include <QClipboard>
#include <QApplication>
#include <QColorDialog>
#include <QDrag>
#include <QMimeData>
#include <QtGui/QPixmap>
#include <QtGui/QPainter>
#include <QtGui/QMenu>
#include <QtGui/QAction>
#include <QtGui/QContextMenuEvent>
#include <QtGui/QClipboard>
#include <QtGui/QApplication>
#include <QtGui/QColorDialog>
#include <QtGui/QDrag>
#include <QDebug>
#include <QtCore/QMimeData>
#include <QtCore/QDebug>
namespace QmlJSInspector {

View File

@@ -33,9 +33,9 @@
#ifndef TOOLBARCOLORBOX_H
#define TOOLBARCOLORBOX_H
#include <QLabel>
#include <QColor>
#include <QPoint>
#include <QtGui/QLabel>
#include <QtGui/QColor>
#include <QtCore/QPoint>
QT_FORWARD_DECLARE_CLASS(QContextMenuEvent)
QT_FORWARD_DECLARE_CLASS(QAction)

View File

@@ -52,17 +52,17 @@
#include <projectexplorer/projectexplorer.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <QDir>
#include <QFile>
#include <QFileInfo>
#include <QLibraryInfo>
#include <QtConcurrentRun>
#include <QtCore/QDir>
#include <QtCore/QFile>
#include <QtCore/QFileInfo>
#include <QtCore/QLibraryInfo>
#include <QtCore/QtConcurrentRun>
#include <qtconcurrent/runextensions.h>
#include <QTextStream>
#include <QCoreApplication>
#include <QTimer>
#include <QtCore/QTextStream>
#include <QtCore/QCoreApplication>
#include <QtCore/QTimer>
#include <QDebug>
#include <QtCore/QDebug>
using namespace QmlJS;
using namespace QmlJSTools;

View File

@@ -1,5 +1,7 @@
#include "filefilteritems.h"
#include <qdebug.h>
#include <QtCore/QDebug>
#include <QtCore/QDir>
#include <QtGui/QImageReader>
namespace QmlProjectManager {

View File

@@ -1,16 +1,17 @@
#ifndef FILEFILTERITEMS_H
#define FILEFILTERITEMS_H
#include <QDir>
#include <QObject>
#include <QSet>
#include <qdeclarative.h>
#include <QFileSystemWatcher>
#include <QTimer>
#include "qmlprojectitem.h"
#include "filesystemwatcher.h"
#include <QtCore/QObject>
#include <QtCore/QSet>
#include <QtCore/QTimer>
#include <QtDeclarative/qdeclarative.h>
QT_FORWARD_DECLARE_CLASS(QDir)
namespace QmlProjectManager {
class FileFilterBaseItem : public QmlProjectContentItem {

View File

@@ -1,6 +1,8 @@
#include "qmlprojectitem.h"
#include "filefilteritems.h"
#include <qdebug.h>
#include <QtCore/QDebug>
#include <QtCore/QDir>
namespace QmlProjectManager {

View File

@@ -1,9 +1,9 @@
#ifndef QMLPROJECTITEM_H
#define QMLPROJECTITEM_H
#include <QObject>
#include <QStringList>
#include <qdeclarative.h>
#include <QtCore/QObject>
#include <QtCore/QStringList>
#include <QtDeclarative/qdeclarative.h>
namespace QmlProjectManager {

View File

@@ -46,9 +46,9 @@
#include <qt4projectmanager/qtversionmanager.h>
#include <qmljs/qmljsmodelmanagerinterface.h>
#include <QTextStream>
#include <QDeclarativeComponent>
#include <QtDebug>
#include <QtCore/QTextStream>
#include <QtDeclarative/QDeclarativeComponent>
#include <QtCore/QtDebug>
namespace QmlProjectManager {

View File

@@ -39,10 +39,10 @@
#include <coreplugin/fileiconprovider.h>
#include <projectexplorer/projectexplorer.h>
#include <QFileInfo>
#include <QDir>
#include <QTextStream>
#include <QStyle>
#include <QtCore/QFileInfo>
#include <QtCore/QDir>
#include <QtCore/QTextStream>
#include <QtGui/QStyle>
namespace QmlProjectManager {
namespace Internal {

View File

@@ -36,8 +36,8 @@
#include <projectexplorer/projectnodes.h>
#include <QStringList>
#include <QHash>
#include <QtCore/QStringList>
#include <QtCore/QHash>
namespace Core {
class IFile;

View File

@@ -34,7 +34,7 @@
#ifndef QMLPROJECTRUNCONFIGURATIONWIDGET_H
#define QMLPROJECTRUNCONFIGURATIONWIDGET_H
#include <QWidget>
#include <QtGui/QWidget>
QT_FORWARD_DECLARE_CLASS(QComboBox)
QT_FORWARD_DECLARE_CLASS(QStandardItemModel)

View File

@@ -53,11 +53,12 @@
#include <qt4projectmanager/qmlobservertool.h>
#include <qt4projectmanager/qt4projectmanagerconstants.h>
#include <QApplication>
#include <QDir>
#include <QLabel>
#include <QMessageBox>
#include <QPushButton>
#include <QtGui/QApplication>
#include <QtGui/QLabel>
#include <QtGui/QMessageBox>
#include <QtGui/QPushButton>
#include <QtCore/QDir>
using namespace ProjectExplorer;

View File

@@ -5,9 +5,9 @@
#include <QtGui/QVBoxLayout>
#include <QtGui/QRadioButton>
#include <QtGui/QLabel>
#include <QtCore/QFileInfo>
#include <QDebug>
#include <QtCore/QFileInfo>
#include <QtCore/QDebug>
using namespace Qt4ProjectManager;
using namespace Qt4ProjectManager::Internal;

View File

@@ -0,0 +1,12 @@
diff --git a/src/plugins/qt4projectmanager/qt4projectmanager.pro b/src/plugins/qt4projectmanager/qt4projectmanager.pro
index 317544c..f9ba1d1 100644
--- a/src/plugins/qt4projectmanager/qt4projectmanager.pro
+++ b/src/plugins/qt4projectmanager/qt4projectmanager.pro
@@ -144,7 +144,6 @@ FORMS += makestep.ui \
wizards/mobileappwizardmaemooptionspage.ui \
librarydetailswidget.ui \
qtversioninfo.ui \
- debugginghelper.ui \
debugginghelper.ui
RESOURCES += qt4projectmanager.qrc \
wizards/wizards.qrc

View File

@@ -35,7 +35,8 @@
#include "qmldumptool.h"
#include "qmlobservertool.h"
#include <projectexplorer/debugginghelper.h>
#include <QCoreApplication>
#include <QtCore/QCoreApplication>
using namespace Qt4ProjectManager;
using namespace Qt4ProjectManager::Internal;

View File

@@ -36,7 +36,7 @@
#include "qtversionmanager.h"
#include <utils/environment.h>
#include <QObject>
#include <QtCore/QObject>
namespace Qt4ProjectManager {
namespace Internal {

View File

@@ -4,7 +4,7 @@
#include <texteditor/itexteditor.h>
#include <texteditor/completionsettings.h>
#include <cplusplus/Icons.h>
#include <QDebug>
#include <QtCore/QDebug>
using namespace Qt4ProjectManager::Internal;

View File

@@ -37,7 +37,8 @@
#include <projectexplorer/taskwindow.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <utils/qtcassert.h>
#include <QDir>
#include <QtCore/QDir>
using namespace Qt4ProjectManager;
using namespace Qt4ProjectManager::Internal;

View File

@@ -45,11 +45,11 @@
#include <qtconcurrent/runextensions.h>
#include <qmljs/qmljsmodelmanagerinterface.h>
#include <utils/qtcassert.h>
#include <QDesktopServices>
#include <QCoreApplication>
#include <QDir>
#include <QDebug>
#include <QHash>
#include <QtGui/QDesktopServices>
#include <QtCore/QCoreApplication>
#include <QtCore/QDir>
#include <QtCore/QDebug>
#include <QtCore/QHash>
namespace {

View File

@@ -39,10 +39,10 @@
#include <utils/qtcassert.h>
#include <projectexplorer/project.h>
#include <QDesktopServices>
#include <QCoreApplication>
#include <QDir>
#include <QDebug>
#include <QtGui/QDesktopServices>
#include <QtCore/QCoreApplication>
#include <QtCore/QDir>
#include <QtCore/QDebug>
namespace Qt4ProjectManager {

View File

@@ -32,11 +32,10 @@
**************************************************************************/
#include "certificatepathchooser.h"
#include <QMessageBox>
#include "s60certificateinfo.h"
#include <QtGui/QMessageBox>
using namespace Qt4ProjectManager;
using namespace Qt4ProjectManager::Internal;

View File

@@ -39,7 +39,7 @@ using namespace Qt4ProjectManager::Internal;
struct S60CertificateDetailsDialogPrivate
{
S60CertificateDetailsDialogPrivate(){};
S60CertificateDetailsDialogPrivate(){}
Ui::S60CertificateDetailsDialog m_ui;
};

View File

@@ -34,7 +34,7 @@
#ifndef S60CERTIFICATEDETAILSDIALOG_H
#define S60CERTIFICATEDETAILSDIALOG_H
#include <QDialog>
#include <QtGui/QDialog>
struct S60CertificateDetailsDialogPrivate;

View File

@@ -32,16 +32,15 @@
**************************************************************************/
#include "s60certificateinfo.h"
#include <QDateTime>
#include <QFileInfo>
#include <QCoreApplication>
#include <QTextStream>
#include <QHash>
#include <QMutableHashIterator>
#include "s60symbiancertificate.h"
#include <QtCore/QDateTime>
#include <QtCore/QFileInfo>
#include <QtCore/QCoreApplication>
#include <QtCore/QTextStream>
#include <QtCore/QHash>
#include <QtCore/QMutableHashIterator>
using namespace Qt4ProjectManager;
using namespace Qt4ProjectManager::Internal;

View File

@@ -36,8 +36,7 @@
#include <projectexplorer/projectexplorerconstants.h>
#include <projectexplorer/taskwindow.h>
#include <QDebug>
#include <QtCore/QDebug>
using namespace Qt4ProjectManager::Internal;

View File

@@ -60,8 +60,8 @@
#include <QtCore/QTimer>
#include <QtCore/QCryptographicHash>
#include <QSettings>
#include <QMessageBox>
#include <QtCore/QSettings>
#include <QtGui/QMessageBox>
using namespace Qt4ProjectManager;
using namespace Qt4ProjectManager::Internal;

View File

@@ -39,8 +39,8 @@
#include <projectexplorer/buildstep.h>
#include <qt4projectmanager/makestep.h>
#include <QMutex>
#include <QWaitCondition>
#include <QtCore/QMutex>
#include <QtCore/QWaitCondition>
QT_BEGIN_NAMESPACE
class QSettings;

View File

@@ -51,6 +51,8 @@
#include <memory>
#include <string>
#include <QtCore/QDateTime>
using namespace Botan;
using namespace Qt4ProjectManager;
using namespace Qt4ProjectManager::Internal;

View File

@@ -34,8 +34,9 @@
#ifndef S60SYMBIANCERTIFICATE_H
#define S60SYMBIANCERTIFICATE_H
#include <QStringList>
#include <QDateTime>
#include <QtCore/QStringList>
QT_FORWARD_DECLARE_CLASS(QDateTime)
class S60SymbianCertificatePrivate;

View File

@@ -38,7 +38,7 @@
#include "itemdata.h"
#include "reuse.h"
#include <QLatin1String>
#include <QtCore/QString>
using namespace TextEditor;
using namespace Internal;

View File

@@ -41,7 +41,7 @@
#include "manager.h"
#include "highlighterexception.h"
#include <QLatin1String>
#include <QtCore/QLatin1String>
using namespace TextEditor;
using namespace Internal;

View File

@@ -37,7 +37,7 @@
#include "progressdata.h"
#include "reuse.h"
#include <QLatin1Char>
#include <QtCore/QLatin1Char>
using namespace TextEditor;
using namespace Internal;

View File

@@ -3,11 +3,13 @@
#include <coreplugin/icore.h>
#include <coreplugin/editormanager/editormanager.h>
#include <coreplugin/editormanager/ieditor.h>
#include <QVBoxLayout>
#include <QDebug>
#include <QToolButton>
#include <QLabel>
#include <QStackedWidget>
#include <QtGui/QVBoxLayout>
#include <QtGui/QToolButton>
#include <QtGui/QLabel>
#include <QtGui/QStackedWidget>
#include <QtCore/QDebug>
namespace TextEditor {
namespace Internal {

View File

@@ -53,7 +53,7 @@
#include <QtCore/QSharedPointer>
#include <QtCore/QFileInfo>
#include <QDebug>
#include <QtCore/QDebug>
using namespace TextEditor;
using namespace TextEditor::Internal;

View File

@@ -43,7 +43,7 @@
#include <coreplugin/coreconstants.h>
#include <coreplugin/editormanager/editormanager.h>
#include <QDebug>
#include <QtCore/QDebug>
using namespace TextEditor;
using namespace TextEditor::Internal;

View File

@@ -33,8 +33,8 @@
#include "storagesettings.h"
#include <QSettings>
#include <QString>
#include <QtCore/QSettings>
#include <QtCore/QString>
namespace TextEditor {

View File

@@ -35,7 +35,7 @@
#include "texteditorconstants.h"
#include <QCoreApplication>
#include <QtCore/QCoreApplication>
using namespace TextEditor;

Some files were not shown because too many files have changed in this diff Show More