summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlexpression.h
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-05-18 03:15:56 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-05-18 03:15:56 (GMT)
commit00d012f3f2d8971d277a6177d6d707cf31e155f4 (patch)
treeb15ede8c15df318e16bfb84a8af58ab9c16150db /src/declarative/qml/qmlexpression.h
parent3e5c94c368c261190992b9c0f8b4223c35ede407 (diff)
downloadQt-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.h2
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;