QmlOutline: Show id instead of element name if available

This commit is contained in:
Kai Koehne
2010-07-12 15:51:26 +02:00
parent 5e3bc834f4
commit 9c12ef51fb
2 changed files with 33 additions and 4 deletions

View File

@@ -21,7 +21,7 @@ public:
void update(QmlJS::Document::Ptr doc);
QModelIndex enterElement(const QString &typeName, const QmlJS::AST::SourceLocation &location);
QModelIndex enterElement(const QString &typeName, const QString &id, const QmlJS::AST::SourceLocation &location);
void leaveElement();
QModelIndex enterProperty(const QString &name, const QmlJS::AST::SourceLocation &location);