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>
Fri, 8 Oct 2010 11:09:31 +0000 (13:09 +0200)
commit4751d92df40bbc2b2230819bb3be855cc6d3e929
tree230ad5cd1516949310c466d72106367c56d9d78a
parent7e3294a8ce580961120e73895844ae9e71a76602
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.
(cherry picked from commit b53ba61248ac398c98cf5849d050f99de92ff6a9)
src/libs/qmljs/qmljsinterpreter.cpp