summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/parser/qmljsast.cpp
diff options
context:
space:
mode:
authorRoberto Raggi <roberto.raggi@nokia.com>2009-07-26 23:43:22 (GMT)
committerRoberto Raggi <roberto.raggi@nokia.com>2009-07-26 23:43:22 (GMT)
commit05c1db3b28067336fcf14cce7909d1f09007998b (patch)
treea617a6eefd4f4ed93dcb896079f51ea76043e18e /src/declarative/qml/parser/qmljsast.cpp
parent80476372e6f4dd3e179eeba949e86a336bc8fde3 (diff)
downloadQt-05c1db3b28067336fcf14cce7909d1f09007998b.zip
Qt-05c1db3b28067336fcf14cce7909d1f09007998b.tar.gz
Qt-05c1db3b28067336fcf14cce7909d1f09007998b.tar.bz2
Added formal parameters to the QML signals.
Diffstat (limited to 'src/declarative/qml/parser/qmljsast.cpp')
-rw-r--r--src/declarative/qml/parser/qmljsast.cpp25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/declarative/qml/parser/qmljsast.cpp b/src/declarative/qml/parser/qmljsast.cpp
index 52f19e2..1d7f09e 100644
--- a/src/declarative/qml/parser/qmljsast.cpp
+++ b/src/declarative/qml/parser/qmljsast.cpp
@@ -801,6 +801,31 @@ void UiProgram::accept0(Visitor *visitor)
visitor->endVisit(this);
}
+void UiSignature::accept0(Visitor *visitor)
+{
+ if (visitor->visit(this)) {
+ acceptChild(formals, visitor);
+ }
+ visitor->endVisit(this);
+}
+
+void UiFormalList::accept0(Visitor *visitor)
+{
+ if (visitor->visit(this)) {
+ for (UiFormalList *it = this; it; it = it->next) {
+ acceptChild(it->formal, visitor);
+ }
+ }
+ visitor->endVisit(this);
+}
+
+void UiFormal::accept0(Visitor *visitor)
+{
+ if (visitor->visit(this)) {
+ }
+ visitor->endVisit(this);
+}
+
void UiPublicMember::accept0(Visitor *visitor)
{
if (visitor->visit(this)) {