Change signature of AbstractView::nodeSlidedToIndex in QmlDesigner

The usage of 'int newIndex' was ambiguous in the case of
oldIndex < newIndex. Solved by directly passing the ModelNode that was
moved around.

'nodeSlidedToIndex' was also renamed to 'nodeOrderChanged', since
'Slided' is no proper English.
This commit is contained in:
Kai Koehne
2010-01-12 10:39:40 +01:00
parent 2e36b9a34a
commit 45f8895e93
23 changed files with 69 additions and 64 deletions

View File

@@ -72,7 +72,7 @@ public:
void fileUrlChanged(const QUrl &oldUrl, const QUrl &newUrl);
void nodeSlidedToIndex(const NodeListProperty &listProperty, int newIndex, int oldIndex);
void nodeOrderChanged(const NodeListProperty &listProperty, const ModelNode &movedNode, int oldIndex);
void importsChanged();