diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-05-18 03:15:56 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-05-18 03:15:56 (GMT) |
commit | 00d012f3f2d8971d277a6177d6d707cf31e155f4 (patch) | |
tree | b15ede8c15df318e16bfb84a8af58ab9c16150db /src/declarative/qml/qmlexpression.h | |
parent | 3e5c94c368c261190992b9c0f8b4223c35ede407 (diff) | |
download | Qt-00d012f3f2d8971d277a6177d6d707cf31e155f4.zip Qt-00d012f3f2d8971d277a6177d6d707cf31e155f4.tar.gz Qt-00d012f3f2d8971d277a6177d6d707cf31e155f4.tar.bz2 |
Start work on translation support in Qml.
Added basic support for qsTr in Qml, both in the engine and in lupdate.
Diffstat (limited to 'src/declarative/qml/qmlexpression.h')
-rw-r--r-- | src/declarative/qml/qmlexpression.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarative/qml/qmlexpression.h b/src/declarative/qml/qmlexpression.h index 2c6b1ad..ea3b093 100644 --- a/src/declarative/qml/qmlexpression.h +++ b/src/declarative/qml/qmlexpression.h @@ -78,6 +78,8 @@ public: bool trackChange() const; void setTrackChange(bool); + void setSourceLocation(const QString &fileName, int line); + QObject *scopeObject() const; quint32 id() const; |