summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2009-08-19 06:01:00 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-08-19 06:01:00 (GMT)
commit51555ed45f6397fa7cdfae771ee6275733bce615 (patch)
tree2307a7b976dcc6cb5cda57e90bc956cd889b9312 /src/declarative/qml
parent2eb1aba797f9380b4622575a3ef9c409e3b35036 (diff)
parent82a48966332f7683df27150ba73d44efb8cff1eb (diff)
downloadQt-51555ed45f6397fa7cdfae771ee6275733bce615.zip
Qt-51555ed45f6397fa7cdfae771ee6275733bce615.tar.gz
Qt-51555ed45f6397fa7cdfae771ee6275733bce615.tar.bz2
Merge branch 'kinetic-declarativeui' of git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Diffstat (limited to 'src/declarative/qml')
-rw-r--r--src/declarative/qml/qmlcontext.cpp9
-rw-r--r--src/declarative/qml/qmlengine.cpp9
-rw-r--r--src/declarative/qml/qmlengine.h1
-rw-r--r--src/declarative/qml/qmlmetaproperty.cpp4
4 files changed, 6 insertions, 17 deletions
diff --git a/src/declarative/qml/qmlcontext.cpp b/src/declarative/qml/qmlcontext.cpp
index 365c0e8..61850c3 100644
--- a/src/declarative/qml/qmlcontext.cpp
+++ b/src/declarative/qml/qmlcontext.cpp
@@ -339,7 +339,7 @@ QmlContext *QmlContext::parentContext() const
}
/*!
- Add a default \a object to this context. The object will be added after
+ Add \a defaultObject to this context. The object will be added after
any existing default objects.
*/
void QmlContext::addDefaultObject(QObject *defaultObject)
@@ -417,7 +417,7 @@ void QmlContext::setContextProperty(const QString &name, QObject *value)
Resolves the URL \a src relative to the URL of the
containing component.
- \sa QmlEngine::componentUrl(), setBaseUrl()
+ \sa QmlEngine::baseUrl(), setBaseUrl()
*/
QUrl QmlContext::resolvedUrl(const QUrl &src)
{
@@ -441,13 +441,12 @@ QUrl QmlContext::resolvedUrl(const QUrl &src)
}
/*!
- Explicitly sets the url both resolveUri() and resolveUrl() will
- use for relative references to \a baseUrl.
+ Explicitly sets the url resolveUrl() will use for relative references to \a baseUrl.
Calling this function will override the url of the containing
component used by default.
- \sa resolvedUrl(), resolvedUri()
+ \sa resolvedUrl()
*/
void QmlContext::setBaseUrl(const QUrl &baseUrl)
{
diff --git a/src/declarative/qml/qmlengine.cpp b/src/declarative/qml/qmlengine.cpp
index 5902c99..0a05094 100644
--- a/src/declarative/qml/qmlengine.cpp
+++ b/src/declarative/qml/qmlengine.cpp
@@ -532,15 +532,6 @@ void QmlDeclarativeData::destroyed(QObject *object)
delete this;
}
-/*! \internal */
-/*
-QScriptEngine *QmlEngine::scriptEngine()
-{
- Q_D(QmlEngine);
- return &d->scriptEngine;
-}
-*/
-
/*!
Creates a QScriptValue allowing you to use \a object in QML script.
\a engine is the QmlEngine it is to be created in.
diff --git a/src/declarative/qml/qmlengine.h b/src/declarative/qml/qmlengine.h
index 6066059..8caa505 100644
--- a/src/declarative/qml/qmlengine.h
+++ b/src/declarative/qml/qmlengine.h
@@ -74,7 +74,6 @@ public:
void clearComponentCache();
-
void addImportPath(const QString& dir);
void setNetworkAccessManager(QNetworkAccessManager *);
diff --git a/src/declarative/qml/qmlmetaproperty.cpp b/src/declarative/qml/qmlmetaproperty.cpp
index e69746e..99f9f0c 100644
--- a/src/declarative/qml/qmlmetaproperty.cpp
+++ b/src/declarative/qml/qmlmetaproperty.cpp
@@ -540,10 +540,10 @@ QmlAbstractBinding *QmlMetaProperty::binding() const
}
/*!
- Set the binding associated with this property to \a binding. Returns
+ Set the binding associated with this property to \a newBinding. Returns
the existing binding (if any), otherwise 0.
- \a binding will be enabled, and the returned binding (if any) will be
+ \a newBinding will be enabled, and the returned binding (if any) will be
disabled.
*/
QmlAbstractBinding *