summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlvmemetaobject_p.h
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-05-05 05:54:48 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-05-05 05:54:48 (GMT)
commit1b6e74a2bf4d4b1470e4e6447995cb286520f271 (patch)
tree7040070acdaf59f3ea97256371eaf73f8bf41509 /src/declarative/qml/qmlvmemetaobject_p.h
parent21548ebbb5ababe941057df201f6eb30f1aed760 (diff)
downloadQt-1b6e74a2bf4d4b1470e4e6447995cb286520f271.zip
Qt-1b6e74a2bf4d4b1470e4e6447995cb286520f271.tar.gz
Qt-1b6e74a2bf4d4b1470e4e6447995cb286520f271.tar.bz2
Very basic slot declaration support
Currently only parameterless slots are supported. They are declared inline with the object: Rect { function mySlot() { print("Hello world!"); } }
Diffstat (limited to 'src/declarative/qml/qmlvmemetaobject_p.h')
-rw-r--r--src/declarative/qml/qmlvmemetaobject_p.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlvmemetaobject_p.h b/src/declarative/qml/qmlvmemetaobject_p.h
index 3fb1c46..d8ed242 100644
--- a/src/declarative/qml/qmlvmemetaobject_p.h
+++ b/src/declarative/qml/qmlvmemetaobject_p.h
@@ -52,7 +52,7 @@ class QmlRefCount;
class QmlVMEMetaObject : public QAbstractDynamicMetaObject
{
public:
- QmlVMEMetaObject(QObject *, const QMetaObject *, QmlRefCount * = 0);
+ QmlVMEMetaObject(QObject *, const QMetaObject *, QList<QString> *, int slotData, QmlRefCount * = 0);
~QmlVMEMetaObject();
protected:
@@ -63,8 +63,12 @@ private:
QmlRefCount *ref;
int baseProp;
int baseSig;
+ int baseSlot;
+ int slotCount;
QVariant *data;
QBitArray vTypes;
+ QList<QString> *slotData;
+ int slotDataIdx;
};
QT_END_NAMESPACE