forked from qt-creator/qt-creator
QmlPuppet: Coding style
Change-Id: I9e7d54a3b6e4de452dc2cee1101100631cd69cbb Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
This commit is contained in:
committed by
Thomas Hartmann
parent
d06980f9bb
commit
ebf074a604
@@ -90,7 +90,10 @@ public:
|
|||||||
|
|
||||||
Pointer parentInstance() const;
|
Pointer parentInstance() const;
|
||||||
|
|
||||||
virtual void reparent(const ObjectNodeInstance::Pointer &oldParentInstance, const PropertyName &oldParentProperty, const ObjectNodeInstance::Pointer &newParentInstance, const PropertyName &newParentProperty);
|
virtual void reparent(const ObjectNodeInstance::Pointer &oldParentInstance,
|
||||||
|
const PropertyName &oldParentProperty,
|
||||||
|
const ObjectNodeInstance::Pointer &newParentInstance,
|
||||||
|
const PropertyName &newParentProperty);
|
||||||
|
|
||||||
virtual void setId(const QString &id);
|
virtual void setId(const QString &id);
|
||||||
virtual QString id() const;
|
virtual QString id() const;
|
||||||
@@ -167,10 +170,17 @@ public:
|
|||||||
QQmlContext *context() const;
|
QQmlContext *context() const;
|
||||||
QQmlEngine *engine() const;
|
QQmlEngine *engine() const;
|
||||||
|
|
||||||
virtual bool updateStateVariant(const ObjectNodeInstance::Pointer &target, const PropertyName &propertyName, const QVariant &value);
|
virtual bool updateStateVariant(const ObjectNodeInstance::Pointer &target,
|
||||||
virtual bool updateStateBinding(const ObjectNodeInstance::Pointer &target, const PropertyName &propertyName, const QString &expression);
|
const PropertyName &propertyName,
|
||||||
virtual bool resetStateProperty(const ObjectNodeInstance::Pointer &target, const PropertyName &propertyName, const QVariant &resetValue);
|
const QVariant &value);
|
||||||
|
|
||||||
|
virtual bool updateStateBinding(const ObjectNodeInstance::Pointer &target,
|
||||||
|
const PropertyName &propertyName,
|
||||||
|
const QString &expression);
|
||||||
|
|
||||||
|
virtual bool resetStateProperty(const ObjectNodeInstance::Pointer &target,
|
||||||
|
const PropertyName &propertyName,
|
||||||
|
const QVariant &resetValue);
|
||||||
|
|
||||||
bool isValid() const;
|
bool isValid() const;
|
||||||
bool isRootNodeInstance() const;
|
bool isRootNodeInstance() const;
|
||||||
|
Reference in New Issue
Block a user