Commit b005d490 authored by Friedemann Kleint's avatar Friedemann Kleint Committed by Thomas Hartmann
Browse files

Fix Krazy warnings about includes/header guards in QML designer.



Change-Id: I9adb43b9c9f2b2c97693ebb09ebef795d0206d1c
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
(cherry picked from commit fdfb3caf

)
Reviewed-by: default avatarMarco Bubke <marco.bubke@digia.com>
parent 7acb8573
......@@ -27,8 +27,8 @@
**
****************************************************************************/
#include "modelnodepositionrecalculator.h"
#include "modeltotextmerger.h"
#include "modelnodepositionrecalculator.h"
#include "qmltextgenerator.h"
#include "rewriteactioncompressor.h"
#include "rewriterview.h"
......
......@@ -27,6 +27,8 @@
**
****************************************************************************/
#include "paster.h"
#include <QByteArray>
#include <QDataStream>
#include <QSet>
......@@ -34,7 +36,6 @@
#include "changeimportsvisitor.h"
#include "copypasteutil.h"
#include "parsedqml.h"
#include "paster.h"
#include "qmlrewriter.h"
using namespace QmlJS;
......
......@@ -27,8 +27,8 @@
**
****************************************************************************/
#include "invalidpropertyexception.h"
#include "propertybinding.h"
#include "invalidpropertyexception.h"
namespace QmlDesigner {
......
......@@ -29,7 +29,6 @@
#include "qmlobjectnode.h"
#include "qmlitemnode.h"
#include "qmlitemnode.h"
#include "qmlstate.h"
#include "variantproperty.h"
#include "nodeproperty.h"
......
......@@ -27,13 +27,14 @@
**
****************************************************************************/
#include "qmltextgenerator.h"
#include <QVariant>
#include <QColor>
#include "bindingproperty.h"
#include "nodeproperty.h"
#include "nodelistproperty.h"
#include "qmltextgenerator.h"
#include "variantproperty.h"
#include <nodemetainfo.h>
#include "model.h"
......
......@@ -27,12 +27,13 @@
**
****************************************************************************/
#include "rewriteaction.h"
#include <QDebug>
#include "nodeabstractproperty.h"
#include "nodelistproperty.h"
#include "nodemetainfo.h"
#include "rewriteaction.h"
using namespace QmlDesigner;
using namespace QmlDesigner::Internal;
......
......@@ -27,13 +27,14 @@
**
****************************************************************************/
#include "rewriteactioncompressor.h"
#include <QSet>
#include "modelnode.h"
#include "nodelistproperty.h"
#include "nodeproperty.h"
#include "qmltextgenerator.h"
#include "rewriteactioncompressor.h"
using namespace QmlDesigner;
using namespace QmlDesigner::Internal;
......
......@@ -27,6 +27,8 @@
**
****************************************************************************/
#include "rewriterview.h"
#include <filemanager/astobjecttextextractor.h>
#include <filemanager/objectlengthcalculator.h>
#include <filemanager/firstdefinitionfinder.h>
......@@ -34,7 +36,6 @@
#include <qmljs/parser/qmljsengine_p.h>
#include "rewriterview.h"
#include "rewritingexception.h"
#include "textmodifier.h"
#include "texttomodelmerger.h"
......
......@@ -27,6 +27,7 @@
**
****************************************************************************/
#include "texttomodelmerger.h"
#include "abstractproperty.h"
#include "bindingproperty.h"
#include "filemanager/firstdefinitionfinder.h"
......@@ -37,7 +38,6 @@
#include "nodeproperty.h"
#include "propertyparser.h"
#include "textmodifier.h"
#include "texttomodelmerger.h"
#include "rewriterview.h"
#include "variantproperty.h"
#include "nodemetainfo.h"
......
......@@ -27,8 +27,8 @@
**
****************************************************************************/
#ifndef QMLDESIGNERPLUGIN_CONSTANTS_H
#define QMLDESIGNERPLUGIN_CONSTANTS_H
#ifndef QMLDESIGNERCONSTANTS_H
#define QMLDESIGNERCONSTANTS_H
namespace QmlDesigner {
namespace Constants {
......@@ -75,4 +75,4 @@ namespace Internal {
} // Constants
} // QmlDesigner
#endif //QMLDESIGNERPLUGIN_CONSTANTS_H
#endif //QMLDESIGNERCONSTANTS_H
......@@ -27,8 +27,8 @@
**
****************************************************************************/
#include "exception.h"
#include "qmldesignerplugin.h"
#include "exception.h"
#include "qmldesignerconstants.h"
#include "pluginmanager.h"
#include "designmodewidget.h"
......
......@@ -27,10 +27,10 @@
**
****************************************************************************/
#include "settingspage.h"
#include "designersettings.h"
#include "qmldesignerconstants.h"
#include "qmldesignerplugin.h"
#include "settingspage.h"
#include <qmljseditor/qmljseditorconstants.h>
......
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