Move the change notifiers in the property editor to the protected

section
This commit is contained in:
Marco Bubke
2010-02-11 17:59:09 +01:00
parent 06e96f62d4
commit 05108af874
2 changed files with 5 additions and 3 deletions

View File

@@ -291,6 +291,7 @@ void PropertyEditor::anyPropertyChanged(const QmlObjectNode &fxObjectNode)
void PropertyEditor::otherPropertyChanged(const QmlObjectNode &fxObjectNode)
{
QmlModelView::transformChanged(fxObjectNode);
anyPropertyChanged(fxObjectNode);
}

View File

@@ -81,13 +81,11 @@ public:
ModelState modelState() const;
void otherPropertyChanged(const QmlObjectNode &);
void transformChanged(const QmlObjectNode &qmlObjectNode);
void anyPropertyChanged(const QmlObjectNode &qmlObjectNode);
void stateChanged(const QmlModelState &newQmlModelState, const QmlModelState &oldQmlModelState);
void propertiesAboutToBeRemoved(const QList<AbstractProperty>& propertyList);
void variantPropertiesChanged(const QList<VariantProperty>& propertyList, PropertyChangeFlags propertyChange);
@@ -97,6 +95,9 @@ public:
protected:
void timerEvent(QTimerEvent *event);
void otherPropertyChanged(const QmlObjectNode &);
void transformChanged(const QmlObjectNode &qmlObjectNode);
void stateChanged(const QmlModelState &newQmlModelState, const QmlModelState &oldQmlModelState);
private slots:
void reloadQml();