OSDN Git Service

QmlJS: Always register C++ based components with their C++ name.
authorChristian Kamm <christian.d.kamm@nokia.com>
Thu, 7 Oct 2010 12:12:45 +0000 (14:12 +0200)
committerChristian Kamm <christian.d.kamm@nokia.com>
Thu, 7 Oct 2010 12:16:34 +0000 (14:16 +0200)
commitb53ba61248ac398c98cf5849d050f99de92ff6a9
tree0c64bccf0869a6f04362b058800ba8b4cb53c8ab
parent224ca48e84295fcdcc6850e7d94acbdd96d047a1
QmlJS: Always register C++ based components with their C++ name.

This is the name that other components will refer to it by. For
instance, MouseArea has a 'drag' property with type 'QDeclarativeDrag',
since QDeclarativeDrag was only exported as Qt.Drag and QtQuick.Drag,
the type lookup didn't manage to resolve the name.
src/libs/qmljs/qmljsinterpreter.cpp