forked from qt-creator/qt-creator
QmlDesigner: Split messaging and process for puppets
This will make it easier to implement custom puppets. The new connection manager will restucture the code and it add a mechanism to capture data too. Task-number: QDS-2529 Change-Id: I5d15c3303ef1c9a3e25ba197d350e0d561ce813a Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -71,6 +71,7 @@ class ServerNodeInstance
|
||||
friend class Qt5InformationNodeInstanceServer;
|
||||
friend class Qt5NodeInstanceServer;
|
||||
friend class Qt5PreviewNodeInstanceServer;
|
||||
friend class Qt5CaptureNodeInstanceServer;
|
||||
friend class Qt5TestNodeInstanceServer;
|
||||
friend class QHash<qint32, ServerNodeInstance>;
|
||||
friend uint qHash(const ServerNodeInstance &instance);
|
||||
@@ -169,6 +170,8 @@ public:
|
||||
static bool isSubclassOf(QObject *object, const QByteArray &superTypeName);
|
||||
|
||||
void setModifiedFlag(bool b);
|
||||
void updateDirtyNodeRecursive();
|
||||
bool holdsGraphical() const;
|
||||
|
||||
private: // functions
|
||||
ServerNodeInstance(const QSharedPointer<Internal::ObjectNodeInstance> &abstractInstance);
|
||||
@@ -195,7 +198,6 @@ private: // functions
|
||||
void setDeleteHeldInstance(bool deleteInstance);
|
||||
void reparent(const ServerNodeInstance &oldParentInstance, const PropertyName &oldParentProperty, const ServerNodeInstance &newParentInstance, const PropertyName &newParentProperty);
|
||||
|
||||
|
||||
void setId(const QString &id);
|
||||
|
||||
static QSharedPointer<Internal::ObjectNodeInstance> createInstance(QObject *objectToBeWrapped);
|
||||
@@ -204,10 +206,6 @@ private: // functions
|
||||
|
||||
void setNodeSource(const QString &source);
|
||||
|
||||
bool holdsGraphical() const;
|
||||
|
||||
void updateDirtyNodeRecursive();
|
||||
|
||||
QObject *internalObject() const; // should be not used outside of the nodeinstances!!!!
|
||||
|
||||
private: // variables
|
||||
|
||||
Reference in New Issue
Block a user