aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativerewrite_p.h
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2011-07-11 11:03:31 +1000
committerQt by Nokia <qt-info@nokia.com>2011-08-30 13:18:28 +0200
commit71af1349f5498e1f6a213bacd531f4f77840f24f (patch)
tree51c9acc1e413c558dc0c760bb253530b524b887d /src/declarative/qml/qdeclarativerewrite_p.h
parent809ee66b67ce70dba89a04b92daccc9445af2e75 (diff)
Remove some QByteArray<->QString conversions
Change-Id: Ieba3e1754d6438bb13fe7bf9963456a29d122129 Reviewed-on: http://codereview.qt.nokia.com/3742 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
Diffstat (limited to 'src/declarative/qml/qdeclarativerewrite_p.h')
-rw-r--r--src/declarative/qml/qdeclarativerewrite_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/qml/qdeclarativerewrite_p.h b/src/declarative/qml/qdeclarativerewrite_p.h
index 9f4030667c..9754e5eeb7 100644
--- a/src/declarative/qml/qdeclarativerewrite_p.h
+++ b/src/declarative/qml/qdeclarativerewrite_p.h
@@ -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;