diff options
| author | Sandro S. Andrade <sandroandrade@kde.org> | 2013-10-06 11:31:46 -0300 |
|---|---|---|
| committer | Sandro S. Andrade <sandroandrade@kde.org> | 2013-10-06 16:28:28 +0200 |
| commit | 3031fe1254052bdeffec90ca76e2f3649a971ae7 (patch) | |
| tree | 1c53eeec8c4be183f600a8f17c7e156efa779ea1 /src/uml/qobjects/qumlconnectableelementtemplateparameterobject.cpp | |
| parent | e07d31eda9cc77f50fb6dbae8905384219171332 (diff) | |
Use plural form for multi-valued UML metamodel properties
Change-Id: Ia8ab1c48d0fb552aca0ae729507c18b63d4c448e
Reviewed-by: Sandro S. Andrade <sandroandrade@kde.org>
Diffstat (limited to 'src/uml/qobjects/qumlconnectableelementtemplateparameterobject.cpp')
| -rw-r--r-- | src/uml/qobjects/qumlconnectableelementtemplateparameterobject.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/uml/qobjects/qumlconnectableelementtemplateparameterobject.cpp b/src/uml/qobjects/qumlconnectableelementtemplateparameterobject.cpp index 7074e0d9..b65c3184 100644 --- a/src/uml/qobjects/qumlconnectableelementtemplateparameterobject.cpp +++ b/src/uml/qobjects/qumlconnectableelementtemplateparameterobject.cpp @@ -64,18 +64,18 @@ QUmlConnectableElementTemplateParameterObject::~QUmlConnectableElementTemplatePa // OWNED ATTRIBUTES [Element] -const QSet<QObject *> QUmlConnectableElementTemplateParameterObject::ownedComment() const +const QSet<QObject *> QUmlConnectableElementTemplateParameterObject::ownedComments() const { QSet<QObject *> set; - foreach (QUmlComment *element, qmodelingobjectproperty_cast<QUmlConnectableElementTemplateParameter *>(this)->ownedComment()) + foreach (QUmlComment *element, qmodelingobjectproperty_cast<QUmlConnectableElementTemplateParameter *>(this)->ownedComments()) set.insert(element->asQObject()); return set; } -const QSet<QObject *> QUmlConnectableElementTemplateParameterObject::ownedElement() const +const QSet<QObject *> QUmlConnectableElementTemplateParameterObject::ownedElements() const { QSet<QObject *> set; - foreach (QUmlElement *element, qmodelingobjectproperty_cast<QUmlConnectableElementTemplateParameter *>(this)->ownedElement()) + foreach (QUmlElement *element, qmodelingobjectproperty_cast<QUmlConnectableElementTemplateParameter *>(this)->ownedElements()) set.insert(element->asQObject()); return set; } |
