Commit 39e55c91 authored by Marco Bubke's avatar Marco Bubke Committed by Alessandro Portale

QmlDesigner.NodeInstances: Remove dead code

Change-Id: I181f365d40b9fcd6b09989ed54decd9720e1c27d
Reviewed-on: default avatarQt Sanity Bot <>
Reviewed-by: default avatarAlessandro Portale <>
parent da7b74ac
......@@ -50,77 +50,6 @@ namespace Internal {
class QmlPropertyChangesNodeInstance;
// Original QmlPropertyChanges class requires a custom parser
// work around this by writing a replacement class
//class QmlPropertyChangesObject : public QDeclarativeStateOperation
// Q_PROPERTY(QObject *target READ targetObject WRITE setTargetObject)
// Q_PROPERTY(bool restoreEntryValues READ restoreEntryValues WRITE setRestoreEntryValues)
// Q_PROPERTY(bool explicit READ isExplicit WRITE setIsExplicit)
// typedef QPair<QString, QWeakPointer<QDeclarativeBinding> > ExpressionPair;
// ~QmlPropertyChangesObject();
// QObject *targetObject() const;
// void setTargetObject(QObject *object);
// bool restoreEntryValues() const;
// void setRestoreEntryValues(bool restore);
// bool isExplicit() const;
// void setIsExplicit(bool isExplicit);
// virtual ActionList actions();
// void setVariantValue(const QString &name, const QVariant & value);
// void setExpression(const QString &name, const QString &expression);
// void removeVariantValue(const QString &name);
// void removeExpression(const QString &name);
// void resetProperty(const QString &name);
// QVariant variantValue(const QString &name) const;
// QString expression(const QString &name) const;
// bool hasVariantValue(const QString &name) const;
// bool hasExpression(const QString &name) const;
// QmlPropertyChangesObject();
// bool updateStateVariant(const QString &propertyName, const QVariant &value);
// bool updateStateBinding(const QString &propertyName, const QString &expression);
// bool resetStateProperty(const QString &propertyName, const QVariant &resetValue);
// QDeclarativeState *state() const;
// void updateRevertValueAndBinding(const QString &name);
// void removeFromStateRevertList();
// void addToStateRevertList();
//private: // functions
// bool isActive() const;
// QDeclarativeStatePrivate *statePrivate() const;
// QDeclarativeStateGroup *stateGroup() const;
// QDeclarativeProperty createMetaProperty(const QString &property);
// QDeclarativeAction &qmlActionForProperty(const QString &propertyName) const;
// bool hasActionForProperty(const QString &propertyName) const;
// void removeActionForProperty(const QString &propertyName);
// QDeclarativeAction createQDeclarativeAction(const QString &propertyName);
//private: // variables
// QWeakPointer<QObject> m_targetObject;
// bool m_restoreEntryValues;
// bool m_isExplicit;
// mutable ActionList m_qmlActionList;
// QHash<QString, ExpressionPair> m_expressionHash;
class QmlPropertyChangesNodeInstance : public ObjectNodeInstance
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