summaryrefslogtreecommitdiffstats
path: root/src/uml/qobjects/qumloperationobject.cpp
diff options
context:
space:
mode:
authorSandro S. Andrade <sandroandrade@kde.org>2013-10-29 08:42:34 -0300
committerSandro S. Andrade <sandroandrade@kde.org>2013-10-29 12:38:52 +0100
commit81cb4927b06b9c50c1be1107f04bb0877112cb6c (patch)
treec7cd9e13ca85d1b4818a2d4d90d10123e7f3f609 /src/uml/qobjects/qumloperationobject.cpp
parentc9af31e57a3977ea74bf9d9196e187c751a676ce (diff)
Fix reset of boolean properties
Change-Id: I4dbf905a4aa7e0df53a4e894748d40c77e9fe787 Reviewed-by: Sandro S. Andrade <sandroandrade@kde.org>
Diffstat (limited to 'src/uml/qobjects/qumloperationobject.cpp')
-rw-r--r--src/uml/qobjects/qumloperationobject.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/uml/qobjects/qumloperationobject.cpp b/src/uml/qobjects/qumloperationobject.cpp
index d039b909..7110f678 100644
--- a/src/uml/qobjects/qumloperationobject.cpp
+++ b/src/uml/qobjects/qumloperationobject.cpp
@@ -685,7 +685,7 @@ void QUmlOperationObject::unsetLeaf()
{
Q_D(QModelingObject);
setLeaf(false);
- d->modifiedResettableProperties.removeAll(QStringLiteral("leaf"));
+ d->modifiedResettableProperties.removeAll(QStringLiteral("isLeaf"));
}
void QUmlOperationObject::addRedefinedElement(QObject *redefinedElement)
@@ -729,7 +729,7 @@ void QUmlOperationObject::unsetStatic()
{
Q_D(QModelingObject);
setStatic(false);
- d->modifiedResettableProperties.removeAll(QStringLiteral("static"));
+ d->modifiedResettableProperties.removeAll(QStringLiteral("isStatic"));
}
// SLOTS FOR OWNED ATTRIBUTES [BehavioralFeature]
@@ -755,7 +755,7 @@ void QUmlOperationObject::unsetAbstract()
{
Q_D(QModelingObject);
setAbstract(false);
- d->modifiedResettableProperties.removeAll(QStringLiteral("abstract"));
+ d->modifiedResettableProperties.removeAll(QStringLiteral("isAbstract"));
}
void QUmlOperationObject::addMethod(QObject *method)
@@ -814,7 +814,7 @@ void QUmlOperationObject::unsetOrdered()
{
Q_D(QModelingObject);
setOrdered(false);
- d->modifiedResettableProperties.removeAll(QStringLiteral("ordered"));
+ d->modifiedResettableProperties.removeAll(QStringLiteral("isOrdered"));
}
void QUmlOperationObject::setQuery(bool isQuery)
@@ -826,7 +826,7 @@ void QUmlOperationObject::unsetQuery()
{
Q_D(QModelingObject);
setQuery(false);
- d->modifiedResettableProperties.removeAll(QStringLiteral("query"));
+ d->modifiedResettableProperties.removeAll(QStringLiteral("isQuery"));
}
void QUmlOperationObject::setUnique(bool isUnique)
@@ -839,7 +839,7 @@ void QUmlOperationObject::unsetUnique()
Q_D(QModelingObject);
setUnique(true);
- d->modifiedResettableProperties.removeAll(QStringLiteral("unique"));
+ d->modifiedResettableProperties.removeAll(QStringLiteral("isUnique"));
}
void QUmlOperationObject::setLower(int lower)