summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--share/qtcreator/qml/qmlpuppet/instances/objectnodeinstance.h15
1 files changed, 5 insertions, 10 deletions
diff --git a/share/qtcreator/qml/qmlpuppet/instances/objectnodeinstance.h b/share/qtcreator/qml/qmlpuppet/instances/objectnodeinstance.h
index 4cc3fd155f..ee9fa5a2ea 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 <QPainter>
-#include <QStyleOptionGraphicsItem>
-#include <QSharedPointer>
-#include <QScopedPointer>
-#include <QWeakPointer>
#include "nodeinstanceserver.h"
#include "nodeinstancemetaobject.h"
#include "nodeinstancesignalspy.h"
+#include <QPainter>
+#include <QSharedPointer>
+#include <QWeakPointer>
+
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<ObjectNodeInstance> Pointer;
typedef QWeakPointer<ObjectNodeInstance> WeakPointer;
- ObjectNodeInstance(QObject *object);
+ explicit ObjectNodeInstance(QObject *object);
virtual ~ObjectNodeInstance();
void destroy();
@@ -203,7 +199,6 @@ private:
bool m_isInPositioner;
};
-
} // namespace Internal
} // namespace QmlDesigner