summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlcomponent.cpp
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2009-07-23 05:47:43 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-07-23 05:47:43 (GMT)
commit5054fafde6b32003c8c00877f2579c611d1524f3 (patch)
tree9f79976f970095706e82d7d65b068c1e7b728d97 /src/declarative/qml/qmlcomponent.cpp
parentdd652f37353a01e0172e20f1e7ef24b001a281db (diff)
parentdc68651b60b552e010735903e45328f8ebf18f69 (diff)
downloadQt-5054fafde6b32003c8c00877f2579c611d1524f3.zip
Qt-5054fafde6b32003c8c00877f2579c611d1524f3.tar.gz
Qt-5054fafde6b32003c8c00877f2579c611d1524f3.tar.bz2
Merge branch 'kinetic-declarativeui' of git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Diffstat (limited to 'src/declarative/qml/qmlcomponent.cpp')
-rw-r--r--src/declarative/qml/qmlcomponent.cpp24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/declarative/qml/qmlcomponent.cpp b/src/declarative/qml/qmlcomponent.cpp
index d5afaeb..214d2fa 100644
--- a/src/declarative/qml/qmlcomponent.cpp
+++ b/src/declarative/qml/qmlcomponent.cpp
@@ -390,30 +390,6 @@ QList<QmlError> QmlComponent::errors() const
}
/*!
- Return the list of errors that occured during the last compile or create
- operation, as a single string. An empty string is returned if isError()
- is not set.
-
- This function is similar to errors(), except more useful when called from
- QML. C++ code should usually use errors().
-
- \sa errors()
-*/
-QString QmlComponent::errorsString() const
-{
- Q_D(const QmlComponent);
- QString ret;
- if(!isError())
- return ret;
- foreach(const QmlError &e, d->errors) {
- ret += e.url().toString() + QLatin1String(":") +
- QString::number(e.line()) + QLatin1String(" ") +
- e.description() + QLatin1String("\n");
- }
- return ret;
-}
-
-/*!
Return the component URL. This is the URL passed to either the constructor,
or the loadUrl() or setData() methods.
*/