summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/declarative/qml/qmldom.cpp4
-rw-r--r--src/declarative/qml/qmldom.h2
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<QmlDomProperty> properties() const;