diff options
author | Christian Kamm <christian.d.kamm@nokia.com> | 2010-05-19 13:42:56 +0200 |
---|---|---|
committer | Christian Kamm <christian.d.kamm@nokia.com> | 2010-05-19 13:42:56 +0200 |
commit | da6b372575fec495671c37da796cac5620a7ca4b (patch) | |
tree | 758e2ba442de51a013d5ce2c1e641e5d92c54d02 /src/libs/qmljs/qmljslink.h | |
parent | 4e498caf303815ef7529315f68f046bb202c9b22 (diff) | |
download | qt-creator-da6b372575fec495671c37da796cac5620a7ca4b.tar.gz |
QmlJS: Move Q_DECLARE_TR_FUNCTIONS to the start of class declarations.
The documentation requires having it there.
Diffstat (limited to 'src/libs/qmljs/qmljslink.h')
-rw-r--r-- | src/libs/qmljs/qmljslink.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/qmljs/qmljslink.h b/src/libs/qmljs/qmljslink.h index fb5ed9346f..4407444724 100644 --- a/src/libs/qmljs/qmljslink.h +++ b/src/libs/qmljs/qmljslink.h @@ -19,6 +19,8 @@ class NameId; */ class QMLJS_EXPORT Link { + Q_DECLARE_TR_FUNCTIONS(QmlJS::Link) + public: // Link all documents in snapshot Link(Interpreter::Context *context, const Document::Ptr &doc, const Snapshot &snapshot, @@ -27,8 +29,6 @@ public: QList<DiagnosticMessage> diagnosticMessages() const; - Q_DECLARE_TR_FUNCTIONS(QmlJS::Link) - private: Interpreter::Engine *engine(); |