summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlrewrite_p.h
diff options
context:
space:
mode:
authorRoberto Raggi <roberto.raggi@nokia.com>2009-07-24 04:15:06 (GMT)
committerRoberto Raggi <roberto.raggi@nokia.com>2009-07-24 04:15:06 (GMT)
commit60cd50b800b6e6cf185df170c1b2cb41108a82b6 (patch)
treeb8995d6668d5f3a4f03bd31745f1be03a0da4080 /src/declarative/qml/qmlrewrite_p.h
parente6f14d21fa03d4301fcb7d7de1733bc65fe59e43 (diff)
downloadQt-60cd50b800b6e6cf185df170c1b2cb41108a82b6.zip
Qt-60cd50b800b6e6cf185df170c1b2cb41108a82b6.tar.gz
Qt-60cd50b800b6e6cf185df170c1b2cb41108a82b6.tar.bz2
Removed support for CSS-like literals.
Diffstat (limited to 'src/declarative/qml/qmlrewrite_p.h')
-rw-r--r--src/declarative/qml/qmlrewrite_p.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/declarative/qml/qmlrewrite_p.h b/src/declarative/qml/qmlrewrite_p.h
index 51a8015..b6fe017 100644
--- a/src/declarative/qml/qmlrewrite_p.h
+++ b/src/declarative/qml/qmlrewrite_p.h
@@ -78,21 +78,6 @@ protected:
QString rewrite(QString code, unsigned position, AST::Statement *node);
virtual bool visit(AST::Block *ast);
virtual bool visit(AST::ExpressionStatement *ast);
- virtual bool visit(AST::NumericLiteral *node);
-};
-
-class RewriteNumericLiterals: protected AST::Visitor
-{
- unsigned _position;
- TextWriter *_writer;
-
-public:
- QString operator()(QString code, unsigned position, AST::Node *node);
-
-protected:
- using AST::Visitor::visit;
-
- virtual bool visit(AST::NumericLiteral *node);
};
} // namespace QmlRewrite