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
......@@ -29,7 +29,6 @@
#include "abstractformeditortool.h"
#include "formeditorview.h"
#include "formeditorview.h"
#include <modelnodecontextmenu.h>
......
......@@ -51,7 +51,6 @@
#include "formeditornodeinstanceview.h"
#include "resizehandleitem.h"
#include <QDebug>
......
......@@ -27,11 +27,11 @@
**
****************************************************************************/
#include "formeditorview.h"
#include "selectiontool.h"
#include "movetool.h"
#include "resizetool.h"
#include "dragtool.h"
#include "formeditorview.h"
#include "formeditorwidget.h"
#include "formeditornodeinstanceview.h"
#include "formeditoritem.h"
......
......@@ -33,7 +33,6 @@
#include <QGraphicsScene>
#include <QDebug>
#include <cmath>
#include <QGraphicsScene>
namespace QmlDesigner {
......
......@@ -43,7 +43,6 @@
#include <rewritingexception.h>
#include <nodelistproperty.h>
#include <variantproperty.h>
#include <rewritingexception.h>
#include <modelnodeoperations.h>
#include <qmldesignerplugin.h>
#include <viewmanager.h>
......
......@@ -27,10 +27,11 @@
**
****************************************************************************/
#include "stackedutilitypanelcontroller.h"
#include "designdocument.h"
#include <QStackedWidget>
#include "designdocument.h"
#include "stackedutilitypanelcontroller.h"
namespace QmlDesigner {
......
......@@ -32,6 +32,8 @@
#include "utilitypanelcontroller.h"
class QStackedWidget;
namespace QmlDesigner {
class DesignDocument;
......
......@@ -27,14 +27,14 @@
**
****************************************************************************/
#include "utilitypanelcontroller.h"
#include <QDebug>
#include <QEvent>
#include <QDockWidget>
#include <QVBoxLayout>
#include <QWidget>
#include "utilitypanelcontroller.h"
namespace QmlDesigner {
UtilityPanelController::UtilityPanelController(QObject* parent):
......
......@@ -27,6 +27,7 @@
**
****************************************************************************/
#include "xuifiledialog.h"
#include <utils/hostosinfo.h>
#include <QDebug>
......@@ -34,8 +35,6 @@
#include <QObject>
#include <QCoreApplication>
#include "xuifiledialog.h"
namespace QmlDesigner {
void XUIFileDialog::runOpenFileDialog(const QString& path, QWidget* parent, QObject* receiver, const char* member)
......
......@@ -27,6 +27,9 @@
**
****************************************************************************/
#ifndef CUSTOMDRAGANDDROP_H
#define CUSTOMDRAGANDDROP_H
#include <QPixmap>
#include <QLabel>
#include <QTimeLine>
......@@ -140,3 +143,5 @@ private:
};
} //namespave QmlDesigner
#endif // CUSTOMDRAGANDDROP_H
......@@ -27,8 +27,8 @@
**
****************************************************************************/
#ifndef ITEMLIBRARYTREEVIEW_H
#define ITEMLIBRARYTREEVIEW_H
#ifndef ITEMLIBRARYCOMPONENTS_H
#define ITEMLIBRARYCOMPONENTS_H
#include <QTreeView>
#include <QStandardItemModel>
......@@ -90,5 +90,5 @@ private:
} // namespace QmlDesigner
#endif // ITEMLIBRARYTREEVIEW_H
#endif // ITEMLIBRARYCOMPONENTS_H
......@@ -27,14 +27,14 @@
**
****************************************************************************/
#include "navigatorwidget.h"
#include "navigatorview.h"
#include <QBoxLayout>
#include <QTreeView>
#include <QHeaderView>
#include <model.h>
#include "navigatorwidget.h"
#include "navigatorview.h"
#include <utils/fileutils.h>
......
......@@ -41,7 +41,6 @@
#include <QMenu>
#include <QAction>
#include <QListView>
#include <QDebug>
#include <QApplication>
#include <QGraphicsOpacityEffect>
#include <QStyleFactory>
......
......@@ -33,7 +33,6 @@
#include <nodeproperty.h>
#include <variantproperty.h>
#include <bindingproperty.h>
#include <nodeproperty.h>
#include <QLineEdit>
#include <QSpinBox>
......
......@@ -34,7 +34,6 @@
#include <QFontDialog>
#include <QApplication>
#include <QComboBox>
#include <QLabel>
namespace QmlDesigner {
......
......@@ -27,6 +27,8 @@
**
****************************************************************************/
#include "genericpropertieswidget.h"
#include <QSet>
#include <QDebug>
#include <QWidget>
......@@ -37,7 +39,6 @@
#include "qttreepropertybrowser.h"
#include "qtvariantproperty.h"
#include "genericpropertieswidget.h"
#include "nodemetainfo.h"
#include "propertymetainfo.h"
......
......@@ -27,8 +27,8 @@
**
****************************************************************************/
#ifndef PropertyView_h
#define PropertyView_h
#ifndef GENERICPROPERTIESWIDGET_H
#define GENERICPROPERTIESWIDGET_H
#include <QTabWidget>
......@@ -93,4 +93,4 @@ private:
}
#endif // PropertyView_h
#endif // GENERICPROPERTIESWIDGET_H
......@@ -27,8 +27,8 @@
**
****************************************************************************/
#ifndef QmlPropertyView_h
#define QmlPropertyView_h
#ifndef PROPERTYEDITOR_H
#define PROPERTYEDITOR_H
#include <qmlmodelview.h>
#include <declarativewidgetview.h>
......@@ -167,4 +167,4 @@ protected:
};
}
#endif // QmlPropertyView_h
#endif // PROPERTYEDITOR_H
......@@ -36,7 +36,6 @@
#include <model.h>
#include <nodemetainfo.h>
#include <metainfo.h>
#include <nodeproperty.h>
#include <qmlobjectnode.h>
//using namespace QmlDesigner;
......
......@@ -28,8 +28,8 @@
****************************************************************************/
#include "qdeclarative.h"
#include "resetwidget.h"
#include "qdeclarative.h"
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QStringList>
......
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