QmlJS: Prepare qmldump for multiply exported C++ objects.

In the future, builtin objects are going to be exported in Qt 4.7 and
QtQuick 1.0.

Reviewed-by: Roberto Raggi
This commit is contained in:
Christian Kamm
2010-09-30 11:21:23 +02:00
parent 2491038f57
commit 6f1c1af833
3 changed files with 205 additions and 108 deletions

View File

@@ -383,7 +383,7 @@ private:
class QMLJS_EXPORT QmlObjectValue: public ObjectValue
{
public:
QmlObjectValue(const FakeMetaObject *metaObject, Engine *engine);
QmlObjectValue(const FakeMetaObject *metaObject, int exportIndex, Engine *engine);
virtual ~QmlObjectValue();
virtual void processMembers(MemberProcessor *processor) const;
@@ -404,6 +404,7 @@ protected:
private:
const FakeMetaObject *_metaObject;
const int _exportIndex;
mutable QHash<int, const Value *> _metaSignature;
};