Commit 3d93dde8 authored by Kai Koehne's avatar Kai Koehne
Browse files

QuickDesigner: Rename ItemLibraryInfo to ItemLibraryEntry

The class represents one single entry in the library, therefore
the old name was misleading.

Reviewed-by: Thomas Hartmann
parent 6eda5a75
......@@ -133,7 +133,7 @@ void DragTool::beginWithPoint(const QPointF &beginPoint)
}
void DragTool::createQmlItemNode(const ItemLibraryInfo &itemLibraryRepresentation, QmlItemNode parentNode, QPointF scenePos)
void DragTool::createQmlItemNode(const ItemLibraryEntry &itemLibraryEntry, QmlItemNode parentNode, QPointF scenePos)
{
QmlDesignerItemLibraryDragAndDrop::CustomDragAndDrop::hide();
......@@ -142,7 +142,7 @@ void DragTool::createQmlItemNode(const ItemLibraryInfo &itemLibraryRepresentatio
FormEditorItem *parentItem = scene()->itemForQmlItemNode(parentNode);
QPointF pos = parentItem->mapFromScene(scenePos);
m_dragNode = view()->createQmlItemNode(itemLibraryRepresentation, pos, parentNode);
m_dragNode = view()->createQmlItemNode(itemLibraryEntry, pos, parentNode);
Q_ASSERT(m_dragNode.modelNode().isValid());
Q_ASSERT(m_dragNode.isValid());
......@@ -238,14 +238,14 @@ void DragTool::dragLeaveEvent(QGraphicsSceneDragDropEvent * event)
}
}
static ItemLibraryInfo ItemLibraryInfoFromData(const QByteArray &data)
static ItemLibraryEntry itemLibraryEntryFromData(const QByteArray &data)
{
QDataStream stream(data);
ItemLibraryInfo itemLibraryInfo;
stream >> itemLibraryInfo;
ItemLibraryEntry itemLibraryEntry;
stream >> itemLibraryEntry;
return itemLibraryInfo;
return itemLibraryEntry;
}
void DragTool::dragMoveEvent(QGraphicsSceneDragDropEvent * event)
......@@ -277,8 +277,8 @@ void DragTool::dragMoveEvent(QGraphicsSceneDragDropEvent * event)
if (event->mimeData()->hasFormat("application/vnd.bauhaus.itemlibraryinfo")) {
Q_ASSERT(!event->mimeData()->data("application/vnd.bauhaus.itemlibraryinfo").isEmpty());
ItemLibraryInfo ItemLibraryInfo = ItemLibraryInfoFromData(event->mimeData()->data("application/vnd.bauhaus.itemlibraryinfo"));
createQmlItemNode(ItemLibraryInfo, parentNode, event->scenePos());
ItemLibraryEntry itemLibraryEntry = itemLibraryEntryFromData(event->mimeData()->data("application/vnd.bauhaus.itemlibraryinfo"));
createQmlItemNode(itemLibraryEntry, parentNode, event->scenePos());
} else if (event->mimeData()->hasFormat("application/vnd.bauhaus.libraryresource")) {
Q_ASSERT(!event->mimeData()->data("application/vnd.bauhaus.libraryresource").isEmpty());
QString imageName = QString::fromLatin1((event->mimeData()->data("application/vnd.bauhaus.libraryresource")));
......
......@@ -86,7 +86,7 @@ protected:
private:
void createQmlItemNode(const ItemLibraryInfo &ItemLibraryRepresentation, QmlItemNode parentNode, QPointF scenePos);
void createQmlItemNode(const ItemLibraryEntry &itemLibraryEntry, QmlItemNode parentNode, QPointF scenePos);
void createQmlItemNodeFromImage(const QString &imageName, QmlItemNode parentNode, QPointF scenePos);
FormEditorItem* calculateContainer(const QPointF &point, FormEditorItem * currentItem = 0);
......
......@@ -51,7 +51,7 @@ class ResizeTool;
class AnchorTool;
class DragTool;
class ItemCreatorTool;
class ItemLibraryInfo;
class ItemLibraryEntry;
class QmlItemNode;
class FormEditorView : public QmlModelView
......
......@@ -170,8 +170,8 @@ void ItemCreatorTool::createAtItem(const QRectF &rect)
return;
if (list.first() == "item") {
RewriterTransaction transaction = view()->beginRewriterTransaction();
ItemLibraryInfo itemLibraryRepresentation = view()->model()->metaInfo().itemLibraryRepresentation(list.at(1));
QmlItemNode newNode = view()->createQmlItemNode(itemLibraryRepresentation, pos, parentNode);
ItemLibraryEntry itemLibraryEntry = view()->model()->metaInfo().itemLibraryEntry(list.at(1));
QmlItemNode newNode = view()->createQmlItemNode(itemLibraryEntry, pos, parentNode);
newNode.modelNode().variantProperty("width") = rect.width();
newNode.modelNode().variantProperty("height") = rect.height();
QList<QmlItemNode> nodeList;
......
......@@ -36,7 +36,7 @@ namespace QmlDesigner {
class ItemLibraryPrivate;
class MetaInfo;
class ItemLibraryInfo;
class ItemLibraryEntry;
class ItemLibrary : public QFrame
{
......@@ -47,7 +47,7 @@ public:
ItemLibrary(QWidget *parent = 0);
virtual ~ItemLibrary();
void addItemLibraryInfo(const ItemLibraryInfo &ItemLibraryInfo);
void addItemLibraryEntry(const ItemLibraryEntry &itemLibraryEntry);
void setMetaInfo(const MetaInfo &metaInfo);
public Q_SLOTS:
......
......@@ -404,9 +404,9 @@ void ItemLibraryModel::update(const MetaInfo &metaInfo)
}
foreach (const QString &type, metaInfo.itemLibraryItems()) {
foreach (const ItemLibraryInfo &itemLibraryRepresentation, itemLibraryRepresentations(type)) {
foreach (const ItemLibraryEntry &itemLibraryEntry, itemLibraryEntrys(type)) {
QString itemSectionName = itemLibraryRepresentation.category();
QString itemSectionName = itemLibraryEntry.category();
ItemLibrarySectionModel *sectionModel;
ItemLibraryItemModel *itemModel;
int itemId = m_nextLibId++, sectionId;
......@@ -421,10 +421,10 @@ void ItemLibraryModel::update(const MetaInfo &metaInfo)
sections.insert(itemSectionName, sectionId);
}
m_itemInfos.insert(itemId, itemLibraryRepresentation);
m_itemInfos.insert(itemId, itemLibraryEntry);
itemModel = new ItemLibraryItemModel(m_scriptEngine.data(), itemId, itemLibraryRepresentation.name());
itemModel->setItemIcon(itemLibraryRepresentation.icon());
itemModel = new ItemLibraryItemModel(m_scriptEngine.data(), itemId, itemLibraryEntry.name());
itemModel->setItemIcon(itemLibraryEntry.icon());
itemModel->setItemIconSize(m_itemIconSize);
sectionModel->addSectionEntry(itemModel);
m_sections.insert(itemId, sectionId);
......@@ -499,9 +499,9 @@ void ItemLibraryModel::updateVisibility()
emit visibilityChanged();
}
static inline int getWidth(const ItemLibraryInfo &itemLibraryRepresentation)
static inline int getWidth(const ItemLibraryEntry &itemLibraryEntry)
{
foreach (const ItemLibraryInfo::Property &property, itemLibraryRepresentation.properties())
foreach (const ItemLibraryEntry::Property &property, itemLibraryEntry.properties())
{
if (property.name() == QLatin1String("width"))
return property.value().toInt();
......@@ -509,9 +509,9 @@ static inline int getWidth(const ItemLibraryInfo &itemLibraryRepresentation)
return 64;
}
static inline int getHeight(const ItemLibraryInfo &itemLibraryRepresentation)
static inline int getHeight(const ItemLibraryEntry &itemLibraryEntry)
{
foreach (const ItemLibraryInfo::Property &property, itemLibraryRepresentation.properties())
foreach (const ItemLibraryEntry::Property &property, itemLibraryEntry.properties())
{
if (property.name() == QLatin1String("height"))
return property.value().toInt();
......@@ -531,51 +531,51 @@ static inline QPixmap createDragPixmap(int width, int height)
return QPixmap::fromImage(dragImage);
}
QList<ItemLibraryInfo> ItemLibraryModel::itemLibraryRepresentations(const QString &type)
QList<ItemLibraryEntry> ItemLibraryModel::itemLibraryEntrys(const QString &type)
{
QList<ItemLibraryInfo> itemLibraryRepresentationList;
QList<ItemLibraryEntry> itemLibraryEntryList;
NodeMetaInfo nodeInfo = m_metaInfo->nodeMetaInfo(type);
if (nodeInfo.isQmlGraphicsItem()) {
itemLibraryRepresentationList = m_metaInfo->itemLibraryRepresentations(nodeInfo);
itemLibraryEntryList = m_metaInfo->itemLibraryEntrys(nodeInfo);
if (!m_metaInfo->hasNodeMetaInfo(type))
qWarning() << "ItemLibrary: type not declared: " << type;
static QIcon defaultIcon(QLatin1String(":/ItemLibrary/images/item-default-icon.png"));
if (itemLibraryRepresentationList.isEmpty() || !m_metaInfo->hasNodeMetaInfo(type)) {
if (itemLibraryEntryList.isEmpty() || !m_metaInfo->hasNodeMetaInfo(type)) {
QIcon icon = nodeInfo.icon();
if (icon.isNull())
icon = defaultIcon;
ItemLibraryInfo itemLibraryInfo;
itemLibraryInfo.setName(type);
itemLibraryInfo.setTypeName(nodeInfo.typeName());
itemLibraryInfo.setCategory(nodeInfo.category());
itemLibraryInfo.setIcon(icon);
itemLibraryInfo.setDragIcon(createDragPixmap(64, 64));
itemLibraryInfo.setMajorVersion(nodeInfo.majorVersion());
itemLibraryInfo.setMinorVersion(nodeInfo.minorVersion());
itemLibraryRepresentationList.append(itemLibraryInfo);
ItemLibraryEntry itemLibraryEntry;
itemLibraryEntry.setName(type);
itemLibraryEntry.setTypeName(nodeInfo.typeName());
itemLibraryEntry.setCategory(nodeInfo.category());
itemLibraryEntry.setIcon(icon);
itemLibraryEntry.setDragIcon(createDragPixmap(64, 64));
itemLibraryEntry.setMajorVersion(nodeInfo.majorVersion());
itemLibraryEntry.setMinorVersion(nodeInfo.minorVersion());
itemLibraryEntryList.append(itemLibraryEntry);
}
else {
foreach (ItemLibraryInfo itemLibraryRepresentation, itemLibraryRepresentationList) {
foreach (ItemLibraryEntry itemLibraryEntry, itemLibraryEntryList) {
QIcon icon = itemLibraryRepresentation.icon();
if (itemLibraryRepresentation.icon().isNull())
itemLibraryRepresentation.setIcon(defaultIcon);
QIcon icon = itemLibraryEntry.icon();
if (itemLibraryEntry.icon().isNull())
itemLibraryEntry.setIcon(defaultIcon);
if (itemLibraryRepresentation.dragIcon().isNull())
itemLibraryRepresentation.setDragIcon(createDragPixmap(getWidth(itemLibraryRepresentation), getHeight(itemLibraryRepresentation)));
if (itemLibraryEntry.dragIcon().isNull())
itemLibraryEntry.setDragIcon(createDragPixmap(getWidth(itemLibraryEntry), getHeight(itemLibraryEntry)));
if (itemLibraryRepresentation.category().isEmpty())
itemLibraryRepresentation.setCategory(nodeInfo.category());
if (itemLibraryEntry.category().isEmpty())
itemLibraryEntry.setCategory(nodeInfo.category());
}
}
}
return itemLibraryRepresentationList;
return itemLibraryEntryList;
}
} // namespace Internal
......
......@@ -41,7 +41,7 @@ QT_FORWARD_DECLARE_CLASS(QMimeData);
namespace QmlDesigner {
class MetaInfo;
class ItemLibraryInfo;
class ItemLibraryEntry;
namespace Internal {
......@@ -153,11 +153,11 @@ signals:
private:
void updateVisibility();
QList<ItemLibraryInfo> itemLibraryRepresentations(const QString &type);
QList<ItemLibraryEntry> itemLibraryEntrys(const QString &type);
QWeakPointer<QScriptEngine> m_scriptEngine;
MetaInfo *m_metaInfo;
QMap<int, ItemLibraryInfo> m_itemInfos;
QMap<int, ItemLibraryEntry> m_itemInfos;
QMap<int, int> m_sections;
QString m_searchText;
......
......@@ -171,8 +171,8 @@ void IdItemDelegate::paint(QPainter *painter,
if (icon.isNull())
{
// if node has no own icon, search for it in the itemlibrary
QList <ItemLibraryInfo> InfoList = node.metaInfo().metaInfo().itemLibraryRepresentations(node.metaInfo());
foreach (const ItemLibraryInfo &entry, InfoList)
QList <ItemLibraryEntry> InfoList = node.metaInfo().metaInfo().itemLibraryEntrys(node.metaInfo());
foreach (const ItemLibraryEntry &entry, InfoList)
{
if (entry.typeName()==node.metaInfo().typeName()) {
icon = entry.icon();
......
......@@ -27,8 +27,8 @@
**
**************************************************************************/
#ifndef ItemLibraryINFO_H
#define ItemLibraryINFO_H
#ifndef ITEMLIBRARYINFO_H
#define ITEMLIBRARYINFO_H
#include "corelib_global.h"
......@@ -45,23 +45,23 @@ class NodeMetaInfo;
namespace Internal {
class ItemLibraryInfoData;
class ItemLibraryEntryData;
}
class ItemLibraryInfo;
class ItemLibraryEntry;
CORESHARED_EXPORT QDataStream& operator<<(QDataStream& stream, const ItemLibraryInfo& ItemLibraryInfo);
CORESHARED_EXPORT QDataStream& operator>>(QDataStream& stream, ItemLibraryInfo& ItemLibraryInfo);
CORESHARED_EXPORT QDataStream& operator<<(QDataStream& stream, const ItemLibraryEntry &itemLibraryEntry);
CORESHARED_EXPORT QDataStream& operator>>(QDataStream& stream, ItemLibraryEntry &itemLibraryEntry);
class CORESHARED_EXPORT ItemLibraryInfo
class CORESHARED_EXPORT ItemLibraryEntry
{
friend class QmlDesigner::MetaInfo;
friend class QmlDesigner::Internal::MetaInfoParser;
friend CORESHARED_EXPORT QDataStream& QmlDesigner::operator<<(QDataStream& stream, const ItemLibraryInfo& image);
friend CORESHARED_EXPORT QDataStream& QmlDesigner::operator>>(QDataStream& stream, ItemLibraryInfo& image);
friend CORESHARED_EXPORT QDataStream& QmlDesigner::operator<<(QDataStream& stream, const ItemLibraryEntry &itemLibraryEntry);
friend CORESHARED_EXPORT QDataStream& QmlDesigner::operator>>(QDataStream& stream, ItemLibraryEntry &itemLibraryEntry);
public:
ItemLibraryInfo();
~ItemLibraryInfo();
ItemLibraryEntry();
~ItemLibraryEntry();
QString name() const;
QString typeName() const;
......@@ -72,8 +72,8 @@ public:
QIcon dragIcon() const;
QString qml() const;
ItemLibraryInfo(const ItemLibraryInfo &other);
ItemLibraryInfo& operator=(const ItemLibraryInfo &other);
ItemLibraryEntry(const ItemLibraryEntry &other);
ItemLibraryEntry& operator=(const ItemLibraryEntry &other);
typedef QmlDesigner::PropertyContainer Property;
......@@ -90,11 +90,11 @@ public:
void setCategory(const QString &category);
void setQml(const QString &qml);
private:
QExplicitlySharedDataPointer<Internal::ItemLibraryInfoData> m_data;
QExplicitlySharedDataPointer<Internal::ItemLibraryEntryData> m_data;
};
}
Q_DECLARE_METATYPE(QmlDesigner::ItemLibraryInfo)
Q_DECLARE_METATYPE(QmlDesigner::ItemLibraryEntry)
#endif // ItemLibraryINFO_H
#endif // ITEMLIBRARYINFO_H
......@@ -83,8 +83,8 @@ public:
EnumeratorMetaInfo enumerator(const QString &enumeratorName) const;
QStringList itemLibraryItems() const;
QList<ItemLibraryInfo> itemLibraryRepresentations(const NodeMetaInfo &nodeMetaInfo) const;
ItemLibraryInfo itemLibraryRepresentation(const QString &name) const;
QList<ItemLibraryEntry> itemLibraryEntrys(const NodeMetaInfo &nodeMetaInfo) const;
ItemLibraryEntry itemLibraryEntry(const QString &name) const;
QString fromQtTypes(const QString &type) const;
public:
......@@ -107,7 +107,7 @@ private:
EnumeratorMetaInfo addEnumerator(const QString &enumeratorScope, const QString &enumeratorName);
EnumeratorMetaInfo addFlag(const QString &enumeratorScope, const QString &enumeratorName);
ItemLibraryInfo addItemLibraryInfo(const NodeMetaInfo &nodeMetaInfo, const QString &itemLibraryRepresentationName);
ItemLibraryEntry addItemLibraryEntry(const NodeMetaInfo &nodeMetaInfo, const QString &itemLibraryEntryName);
bool isGlobal() const;
......
......@@ -40,7 +40,7 @@ namespace QmlDesigner {
class NodeMetaInfo;
class EnumeratorMetaInfo;
class ItemLibraryInfo;
class ItemLibraryEntry;
namespace Internal {
......@@ -63,10 +63,10 @@ protected:
void handleFlagElementElement(QXmlStreamReader &reader, EnumeratorMetaInfo &enumeratorMetaInfo);
void handleNodeElement(QXmlStreamReader &reader);
void handleNodeInheritElement(QXmlStreamReader &reader, const QString &className);
void handleNodeItemLibraryRepresentationElement(QXmlStreamReader &reader, const QString &className);
void handleNodeItemLibraryEntryElement(QXmlStreamReader &reader, const QString &className);
void handleAbstractPropertyElement(QXmlStreamReader &reader, NodeMetaInfo &nodeMetaInfo);
void handleAbstractPropertyDefaultValueElement(QXmlStreamReader &reader, NodeMetaInfo &nodeMetaInfo);
void handleItemLibraryInfoPropertyElement(QXmlStreamReader &reader, ItemLibraryInfo &ItemLibraryInfo);
void handleItemLibraryEntryPropertyElement(QXmlStreamReader &reader, ItemLibraryEntry &itemLibraryEntry);
private:
MetaInfo m_metaInfo;
......
......@@ -52,7 +52,7 @@ namespace Internal {
class MetaInfoParser;
class NodeMetaInfoData;
class SubComponentManagerPrivate;
class ItemLibraryInfoData;
class ItemLibraryEntryData;
}
class PropertyMetaInfo;
......@@ -60,7 +60,7 @@ class PropertyMetaInfo;
class CORESHARED_EXPORT NodeMetaInfo
{
friend class QmlDesigner::MetaInfo;
friend class QmlDesigner::Internal::ItemLibraryInfoData;
friend class QmlDesigner::Internal::ItemLibraryEntryData;
friend class QmlDesigner::Internal::MetaInfoPrivate;
friend class QmlDesigner::Internal::MetaInfoParser;
friend class QmlDesigner::Internal::SubComponentManagerPrivate;
......
......@@ -40,7 +40,7 @@
namespace QmlDesigner {
class ItemLibraryInfo;
class ItemLibraryEntry;
class CORESHARED_EXPORT QmlModelView : public ForwardView<NodeInstanceView>
{
......@@ -66,7 +66,7 @@ public:
int minorVersion,
const PropertyListType &propertyList = PropertyListType());
QmlItemNode createQmlItemNode(const ItemLibraryInfo &ItemLibraryRepresentation, const QPointF &position, QmlItemNode parentNode);
QmlItemNode createQmlItemNode(const ItemLibraryEntry &itemLibraryEntry, const QPointF &position, QmlItemNode parentNode);
QmlItemNode createQmlItemNodeFromImage(const QString &imageName, const QPointF &position, QmlItemNode parentNode);
QmlObjectNode rootQmlObjectNode() const;
......
......@@ -54,8 +54,6 @@ public:
QStringList qmlFiles() const;
QStringList directories() const;
signals:
void qmlFilesChanged(const QStringList &oldPathList, const QStringList &newPathList);
private:
friend class Internal::SubComponentManagerPrivate;
......
......@@ -40,10 +40,10 @@ namespace QmlDesigner {
namespace Internal {
class ItemLibraryInfoData : public QSharedData
class ItemLibraryEntryData : public QSharedData
{
public:
ItemLibraryInfoData() : majorVersion(-1), minorVersion(-1)
ItemLibraryEntryData() : majorVersion(-1), minorVersion(-1)
{ }
QString name;
QString typeName;
......@@ -57,12 +57,12 @@ public:
};
}
ItemLibraryInfo::ItemLibraryInfo(const ItemLibraryInfo &other)
ItemLibraryEntry::ItemLibraryEntry(const ItemLibraryEntry &other)
: m_data(other.m_data)
{
}
ItemLibraryInfo& ItemLibraryInfo::operator=(const ItemLibraryInfo &other)
ItemLibraryEntry& ItemLibraryEntry::operator=(const ItemLibraryEntry &other)
{
if (this !=&other)
m_data = other.m_data;
......@@ -70,136 +70,136 @@ ItemLibraryInfo& ItemLibraryInfo::operator=(const ItemLibraryInfo &other)
return *this;
}
void ItemLibraryInfo::setDragIcon(const QIcon &icon)
void ItemLibraryEntry::setDragIcon(const QIcon &icon)
{
m_data->dragIcon = icon;
}
QIcon ItemLibraryInfo::dragIcon() const
QIcon ItemLibraryEntry::dragIcon() const
{
return m_data->dragIcon;
}
void ItemLibraryInfo::addProperty(const Property &property)
void ItemLibraryEntry::addProperty(const Property &property)
{
m_data->properties.append(property);
}
QList<ItemLibraryInfo::Property> ItemLibraryInfo::properties() const
QList<ItemLibraryEntry::Property> ItemLibraryEntry::properties() const
{
return m_data->properties;
}
ItemLibraryInfo::ItemLibraryInfo() : m_data(new Internal::ItemLibraryInfoData)
ItemLibraryEntry::ItemLibraryEntry() : m_data(new Internal::ItemLibraryEntryData)
{
m_data->name.clear();
}
ItemLibraryInfo::~ItemLibraryInfo()
ItemLibraryEntry::~ItemLibraryEntry()
{
}
QString ItemLibraryInfo::name() const
QString ItemLibraryEntry::name() const
{
return m_data->name;
}
QString ItemLibraryInfo::typeName() const
QString ItemLibraryEntry::typeName() const
{
return m_data->typeName;
}
QString ItemLibraryInfo::qml() const
QString ItemLibraryEntry::qml() const
{
return m_data->qml;
}
int ItemLibraryInfo::majorVersion() const
int ItemLibraryEntry::majorVersion() const
{
return m_data->majorVersion;
}
int ItemLibraryInfo::minorVersion() const
int ItemLibraryEntry::minorVersion() const
{
return m_data->minorVersion;
}
QString ItemLibraryInfo::category() const
QString ItemLibraryEntry::category() const
{
return m_data->category;
}
void ItemLibraryInfo::setCategory(const QString &category)
void ItemLibraryEntry::setCategory(const QString &category)
{
m_data->category = category;
}
QIcon ItemLibraryInfo::icon() const
QIcon ItemLibraryEntry::icon() const
{
return m_data->icon;
}
void ItemLibraryInfo::setName(const QString &name)
void ItemLibraryEntry::setName(const QString &name)
{
m_data->name = name;
}
void ItemLibraryInfo::setTypeName(const QString &typeName)
void ItemLibraryEntry::setTypeName(const QString &typeName)
{
m_data->typeName = typeName;
}
void ItemLibraryInfo::setIcon(const QIcon &icon)
void ItemLibraryEntry::setIcon(const QIcon &icon)
{
m_data->icon = icon;
}
void ItemLibraryInfo::setMajorVersion(int majorVersion)
void ItemLibraryEntry::setMajorVersion(int majorVersion)
{
m_data->majorVersion = majorVersion;
}
void ItemLibraryInfo::setMinorVersion(int minorVersion)
void ItemLibraryEntry::setMinorVersion(int minorVersion)
{
m_data->minorVersion = minorVersion;
}
void ItemLibraryInfo::setQml(const QString &qml)
void ItemLibraryEntry::setQml(const QString &qml)
{
m_data->qml = qml;
}
void ItemLibraryInfo::addProperty(QString &name, QString &type, QString &value)
void ItemLibraryEntry::addProperty(QString &name, QString &type, QString &value)
{
Property property;
property.set(name, type, value);
addProperty(property);
}