diff --git a/share/qtcreator/qml/qmlpuppet/instances/objectnodeinstance.h b/share/qtcreator/qml/qmlpuppet/instances/objectnodeinstance.h index 4cc3fd155f8..ee9fa5a2eaf 100644 --- a/share/qtcreator/qml/qmlpuppet/instances/objectnodeinstance.h +++ b/share/qtcreator/qml/qmlpuppet/instances/objectnodeinstance.h @@ -33,29 +33,25 @@ #ifndef ABSTRACTNODEINSTANCE_H #define ABSTRACTNODEINSTANCE_H -#include -#include -#include -#include -#include #include "nodeinstanceserver.h" #include "nodeinstancemetaobject.h" #include "nodeinstancesignalspy.h" +#include +#include +#include + QT_BEGIN_NAMESPACE class QGraphicsItem; class QDeclarativeContext; class QDeclarativeEngine; class QDeclarativeProperty; -class QDeclarativeContext; -class QDeclarativeBinding; QT_END_NAMESPACE namespace QmlDesigner { class NodeInstanceServer; - namespace Internal { class QmlGraphicsItemNodeInstance; @@ -70,7 +66,7 @@ class ObjectNodeInstance public: typedef QSharedPointer Pointer; typedef QWeakPointer WeakPointer; - ObjectNodeInstance(QObject *object); + explicit ObjectNodeInstance(QObject *object); virtual ~ObjectNodeInstance(); void destroy(); @@ -203,7 +199,6 @@ private: bool m_isInPositioner; }; - } // namespace Internal } // namespace QmlDesigner