forked from qt-creator/qt-creator
QmlDesigner: Type of the propertyname is now PropertyName
And PropertyName is a typedef for QByteArray. Because we don't use the features of QString and the source would be cluttered with QLatin1Strings we changed the property name to QByteArray. Change-Id: Ib70ef136bbc411504b450456bd9bb705ae93dd25 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
@@ -42,9 +42,9 @@ ReparentContainer::ReparentContainer()
|
||||
|
||||
ReparentContainer::ReparentContainer(qint32 instanceId,
|
||||
qint32 oldParentInstanceId,
|
||||
const QString &oldParentProperty,
|
||||
const PropertyName &oldParentProperty,
|
||||
qint32 newParentInstanceId,
|
||||
const QString &newParentProperty)
|
||||
const PropertyName &newParentProperty)
|
||||
: m_instanceId(instanceId),
|
||||
m_oldParentInstanceId(oldParentInstanceId),
|
||||
m_oldParentProperty(oldParentProperty),
|
||||
@@ -63,7 +63,7 @@ qint32 ReparentContainer::oldParentInstanceId() const
|
||||
return m_oldParentInstanceId;
|
||||
}
|
||||
|
||||
QString ReparentContainer::oldParentProperty() const
|
||||
PropertyName ReparentContainer::oldParentProperty() const
|
||||
{
|
||||
return m_oldParentProperty;
|
||||
}
|
||||
@@ -73,7 +73,7 @@ qint32 ReparentContainer::newParentInstanceId() const
|
||||
return m_newParentInstanceId;
|
||||
}
|
||||
|
||||
QString ReparentContainer::newParentProperty() const
|
||||
PropertyName ReparentContainer::newParentProperty() const
|
||||
{
|
||||
return m_newParentProperty;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user