summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@nokia.com>2009-08-18 11:17:36 (GMT)
committerKai Koehne <kai.koehne@nokia.com>2009-08-18 11:20:16 (GMT)
commit42291f03e1a6083dd3459224226a90717299f26e (patch)
treef5f51293c70c9cd0ba380a3ab904eb98f707b7c0 /src/declarative/qml
parenta71898895ea04fe58f77a9fa8601aa1072a76fc8 (diff)
downloadQt-42291f03e1a6083dd3459224226a90717299f26e.zip
Qt-42291f03e1a6083dd3459224226a90717299f26e.tar.gz
Qt-42291f03e1a6083dd3459224226a90717299f26e.tar.bz2
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() ?
Diffstat (limited to 'src/declarative/qml')
-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;