summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlcontext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/qml/qmlcontext.cpp')
-rw-r--r--src/declarative/qml/qmlcontext.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/declarative/qml/qmlcontext.cpp b/src/declarative/qml/qmlcontext.cpp
index d9fc76b..4011d8d 100644
--- a/src/declarative/qml/qmlcontext.cpp
+++ b/src/declarative/qml/qmlcontext.cpp
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
@@ -428,7 +428,7 @@ void QmlContextPrivate::setIdPropertyData(QmlIntegerCache *data)
}
/*!
- Set a the \a value of the \a name property on this context.
+ Set the \a value of the \a name property on this context.
QmlContext does \bold not take ownership of \a value.
*/
@@ -452,6 +452,10 @@ void QmlContext::setContextProperty(const QString &name, QObject *value)
}
}
+/*!
+ Returns the value of the \a name property for this context
+ as a QVariant.
+ */
QVariant QmlContext::contextProperty(const QString &name) const
{
Q_D(const QmlContext);