QmlDesigner.model: rename id is now a proper refactoring operation

I an id is now changed in the navaigator or property editor,
we now use the qmljseditor to properly refactor.

Also I changed dynamic_cast to qobject_cast

Reviewed-by: Erik Verbruggen
This commit is contained in:
Thomas Hartmann
2010-09-30 14:25:20 +02:00
parent 2d5049645c
commit 4c185a9ac4
14 changed files with 70 additions and 20 deletions

View File

@@ -243,6 +243,8 @@ public:
bool updateSelectedElements() const;
void setUpdateSelectedElements(bool value);
void renameId(const QString &oldId, const QString &newId);
public slots:
void followSymbolUnderCursor();
void findUsages();