forked from qt-creator/qt-creator
qmltypes: Handle extension property
Previously Qt Creator ignored the extension property in qmltypes leading to auto-complete being unavailable for some properties of extended types among other things. Change-Id: I1bc13b3daf9bbd0a835e9a25f52b9589ad942e75 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
@@ -369,6 +369,11 @@ QString FakeMetaObject::attachedTypeName() const
|
||||
void FakeMetaObject::setAttachedTypeName(const QString &name)
|
||||
{ m_attachedTypeName = name; }
|
||||
|
||||
QString FakeMetaObject::extensionTypeName() const
|
||||
{ return m_extensionTypeName; }
|
||||
void FakeMetaObject::setExtensionTypeName(const QString &name)
|
||||
{ m_extensionTypeName = name; }
|
||||
|
||||
QByteArray FakeMetaObject::calculateFingerprint() const
|
||||
{
|
||||
QCryptographicHash hash(QCryptographicHash::Sha1);
|
||||
|
||||
Reference in New Issue
Block a user