[umbrello-devel] [umbrello] [Bug 60452] missing keywords for declaring operations and variables

Ralf Habacker via KDE Bugzilla bugzilla_noreply at kde.org
Sun May 29 15:36:51 UTC 2016


--- Comment #27 from Ralf Habacker <ralf.habacker at freenet.de> ---
(In reply to Ralf Habacker from comment #18)
> > and what changes I need to do the cppcodegen(if is necessary).
> From UMLAttributeDialog::apply() i can see that at last there is used
> UMLClassifierListItem::setType(UMLObject *type) and the counterpart is
> UMLClassifier * getType()

Sorry, the related methods are all in UMLClassifierListItem
   virtual void setType(UMLObject *type);
    UMLClassifier * getType() const;

and the returned type is an UMLClassifier, so it looks that all types are based
on UMLClassifier with an object type like ot_Datatype. See also

How new types to a class attribute are created see
UMLDatatypeWidget::applyAttribute(), for operations
UMLDatatypeWidget::applyOperation() and so one.

You are receiving this mail because:
You are the assignee for the bug.

More information about the umbrello-devel mailing list