diff options
Diffstat (limited to 'src/declarative/qml/qdeclarativerewrite_p.h')
-rw-r--r-- | src/declarative/qml/qdeclarativerewrite_p.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/declarative/qml/qdeclarativerewrite_p.h b/src/declarative/qml/qdeclarativerewrite_p.h index 9f4030667c..c57e9956b0 100644 --- a/src/declarative/qml/qdeclarativerewrite_p.h +++ b/src/declarative/qml/qdeclarativerewrite_p.h @@ -56,7 +56,7 @@ #include "rewriter/textwriter_p.h" #include "parser/qdeclarativejslexer_p.h" #include "parser/qdeclarativejsparser_p.h" -#include "parser/qdeclarativejsnodepool_p.h" +#include "parser/qdeclarativejsmemorypool_p.h" QT_BEGIN_NAMESPACE @@ -79,14 +79,14 @@ class RewriteBinding: protected AST::Visitor { unsigned _position; TextWriter *_writer; - QByteArray _name; + QString _name; public: QString operator()(const QString &code, bool *ok = 0, bool *sharable = 0); QString operator()(QDeclarativeJS::AST::Node *node, const QString &code, bool *sharable = 0); //name of the function: used for the debugger - void setName(const QByteArray &name) { _name = name; } + void setName(const QString &name) { _name = name; } protected: using AST::Visitor::visit; |