summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlparser.cpp
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-05-05 05:16:43 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-05-05 05:16:43 (GMT)
commitc248a3c68fdce3387bec61e3b19bdf766ae93ed0 (patch)
treed5497314129d1da6bba17acce9bddf2e3c625f69 /src/declarative/qml/qmlparser.cpp
parent0725ca189ad30ec54a2a7a054404a50f20e2bfed (diff)
downloadQt-c248a3c68fdce3387bec61e3b19bdf766ae93ed0.zip
Qt-c248a3c68fdce3387bec61e3b19bdf766ae93ed0.tar.gz
Qt-c248a3c68fdce3387bec61e3b19bdf766ae93ed0.tar.bz2
Add parser support for object slot declarations
Diffstat (limited to 'src/declarative/qml/qmlparser.cpp')
-rw-r--r--src/declarative/qml/qmlparser.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/declarative/qml/qmlparser.cpp b/src/declarative/qml/qmlparser.cpp
index d862315..a943c4d 100644
--- a/src/declarative/qml/qmlparser.cpp
+++ b/src/declarative/qml/qmlparser.cpp
@@ -123,6 +123,15 @@ QmlParser::Object::DynamicSignal::DynamicSignal(const DynamicSignal &o)
{
}
+QmlParser::Object::DynamicSlot::DynamicSlot()
+{
+}
+
+QmlParser::Object::DynamicSlot::DynamicSlot(const DynamicSlot &o)
+: name(o.name), body(o.body)
+{
+}
+
QmlParser::Property::Property()
: type(0), index(-1), value(0), isDefault(true), line(-1), column(-1)
{