QmlJS: Change to a nicer way of marking strings for translation.

Reviewed-by: ossi
This commit is contained in:
Christian Kamm
2010-05-19 13:32:11 +02:00
parent fadfe9c64e
commit 50cc55af80
5 changed files with 35 additions and 28 deletions

View File

@@ -36,6 +36,8 @@
#include <qmljs/qmljsscopebuilder.h>
#include <qmljs/parser/qmljsastvisitor_p.h>
#include <QtCore/QCoreApplication>
namespace QmlJS {
class QMLJS_EXPORT Check: protected AST::Visitor
@@ -46,6 +48,8 @@ public:
QList<DiagnosticMessage> operator()();
Q_DECLARE_TR_FUNCTIONS(QmlJS::Check)
protected:
virtual bool visit(AST::UiProgram *ast);
virtual bool visit(AST::UiObjectDefinition *ast);