Change-Id: Idfa52f625fd116b9fc858bb383a1ee17b3ff3e66
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
return 0;
}
-QString QQmlPropertyData::name(QObject *object)
+QString QQmlPropertyData::name(QObject *object) const
{
if (!object)
return QString();
return name(object->metaObject());
}
-QString QQmlPropertyData::name(const QMetaObject *metaObject)
+QString QQmlPropertyData::name(const QMetaObject *metaObject) const
{
if (!metaObject || coreIndex == -1)
return QString();
static Flags flagsForProperty(const QMetaProperty &, QQmlEngine *engine = 0);
void load(const QMetaProperty &, QQmlEngine *engine = 0);
void load(const QMetaMethod &);
- QString name(QObject *);
- QString name(const QMetaObject *);
+ QString name(QObject *) const;
+ QString name(const QMetaObject *) const;
void markAsOverrideOf(QQmlPropertyData *predecessor);