Skip to content
Snippets Groups Projects
Commit 402db149 authored by hjk's avatar hjk Committed by hjk
Browse files

qmlpuppet: remove unneeded declarations

Change-Id: I488548fa84e743e0ed80dd68739d3d80a1cea92b
Reviewed-on: http://codereview.qt.nokia.com/1297


Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent b3237d7d
No related branches found
No related tags found
No related merge requests found
...@@ -33,29 +33,25 @@ ...@@ -33,29 +33,25 @@
#ifndef ABSTRACTNODEINSTANCE_H #ifndef ABSTRACTNODEINSTANCE_H
#define ABSTRACTNODEINSTANCE_H #define ABSTRACTNODEINSTANCE_H
#include <QPainter>
#include <QStyleOptionGraphicsItem>
#include <QSharedPointer>
#include <QScopedPointer>
#include <QWeakPointer>
#include "nodeinstanceserver.h" #include "nodeinstanceserver.h"
#include "nodeinstancemetaobject.h" #include "nodeinstancemetaobject.h"
#include "nodeinstancesignalspy.h" #include "nodeinstancesignalspy.h"
#include <QPainter>
#include <QSharedPointer>
#include <QWeakPointer>
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
class QGraphicsItem; class QGraphicsItem;
class QDeclarativeContext; class QDeclarativeContext;
class QDeclarativeEngine; class QDeclarativeEngine;
class QDeclarativeProperty; class QDeclarativeProperty;
class QDeclarativeContext;
class QDeclarativeBinding;
QT_END_NAMESPACE QT_END_NAMESPACE
namespace QmlDesigner { namespace QmlDesigner {
class NodeInstanceServer; class NodeInstanceServer;
namespace Internal { namespace Internal {
class QmlGraphicsItemNodeInstance; class QmlGraphicsItemNodeInstance;
...@@ -70,7 +66,7 @@ class ObjectNodeInstance ...@@ -70,7 +66,7 @@ class ObjectNodeInstance
public: public:
typedef QSharedPointer<ObjectNodeInstance> Pointer; typedef QSharedPointer<ObjectNodeInstance> Pointer;
typedef QWeakPointer<ObjectNodeInstance> WeakPointer; typedef QWeakPointer<ObjectNodeInstance> WeakPointer;
ObjectNodeInstance(QObject *object); explicit ObjectNodeInstance(QObject *object);
virtual ~ObjectNodeInstance(); virtual ~ObjectNodeInstance();
void destroy(); void destroy();
...@@ -203,7 +199,6 @@ private: ...@@ -203,7 +199,6 @@ private:
bool m_isInPositioner; bool m_isInPositioner;
}; };
} // namespace Internal } // namespace Internal
} // namespace QmlDesigner } // namespace QmlDesigner
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment