summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlparser_p.h
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_p.h
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_p.h')
-rw-r--r--src/declarative/qml/qmlparser_p.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/declarative/qml/qmlparser_p.h b/src/declarative/qml/qmlparser_p.h
index aeacee8..676e25e 100644
--- a/src/declarative/qml/qmlparser_p.h
+++ b/src/declarative/qml/qmlparser_p.h
@@ -123,11 +123,20 @@ namespace QmlParser
QByteArray name;
};
+ struct DynamicSlot {
+ DynamicSlot();
+ DynamicSlot(const DynamicSlot &);
- // The list of dynamic properties described in the "properties" property
+ QByteArray name;
+ QString body;
+ };
+
+ // The list of dynamic properties
QList<DynamicProperty> dynamicProperties;
- // The list of dynamic signals described in the "signals" property
+ // The list of dynamic signals
QList<DynamicSignal> dynamicSignals;
+ // The list of dynamic slots
+ QList<DynamicSlot> dynamicSlots;
};
class Value : public QmlRefCount