summaryrefslogtreecommitdiff
path: root/src/plugins/qmldesigner/components/stateseditor/stateseditormodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/qmldesigner/components/stateseditor/stateseditormodel.h')
-rw-r--r--src/plugins/qmldesigner/components/stateseditor/stateseditormodel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/qmldesigner/components/stateseditor/stateseditormodel.h b/src/plugins/qmldesigner/components/stateseditor/stateseditormodel.h
index 7137a438d9..99f08be602 100644
--- a/src/plugins/qmldesigner/components/stateseditor/stateseditormodel.h
+++ b/src/plugins/qmldesigner/components/stateseditor/stateseditormodel.h
@@ -47,7 +47,7 @@ class StatesEditorModel : public QAbstractListModel
enum {
StateNameRole = Qt::DisplayRole,
StateImageSourceRole = Qt::UserRole,
- NodeId
+ InternalNodeId
};
public:
@@ -61,7 +61,7 @@ public:
void insertState(int stateIndex);
void removeState(int stateIndex);
void updateState(int beginIndex, int endIndex);
- Q_INVOKABLE void renameState(int nodeId, const QString &newName);
+ Q_INVOKABLE void renameState(int internalNodeId, const QString &newName);
void reset();