From 42291f03e1a6083dd3459224226a90717299f26e Mon Sep 17 00:00:00 2001 From: Kai Koehne Date: Tue, 18 Aug 2009 13:17:36 +0200 Subject: Fix documentation for QmlDomObject::className The name of this method is also misleading, maybe rename it to just QmlDomObject::name and QmlDomObject::objectType() to QmlDomObject::qualifiedName() ? --- src/declarative/qml/qmldom.cpp | 4 ++-- src/declarative/qml/qmldom.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/declarative/qml/qmldom.cpp b/src/declarative/qml/qmldom.cpp index cdd5eef..2000e51 100644 --- a/src/declarative/qml/qmldom.cpp +++ b/src/declarative/qml/qmldom.cpp @@ -761,9 +761,9 @@ QByteArray QmlDomObject::objectType() const } /*! - Returns the fully-qualified type name of this object. + Returns the type name as referenced in the qml file. - For example, the type of this object would be "Qt/4.6/Rect". + For example, the type of this object would be "Rect". \qml Rect { } \endqml diff --git a/src/declarative/qml/qmldom.h b/src/declarative/qml/qmldom.h index 1c70206..32ed2da 100644 --- a/src/declarative/qml/qmldom.h +++ b/src/declarative/qml/qmldom.h @@ -151,8 +151,8 @@ public: QByteArray objectType() const; QByteArray objectClassName() const; - QString objectId() const; + QString objectId() const; void setObjectId(const QByteArray &); QList properties() const; -- cgit v0.12