umbrello/umbrello
ownedcodeblock.cpp
Go to the documentation of this file.
89 elem.setAttribute(QLatin1String("parent_id"), Uml::ID::toString(role->parentAssociation()->id()));
virtual void release()
Causes the text block to release all of its connections and any other text blocks that it 'owns'...
Definition: ownedcodeblock.cpp:52
Definition: basictypes.h:215
virtual void setAttributesOnNode(QDomDocument &doc, QDomElement &blockElement)
Definition: ownedcodeblock.cpp:81
QString attribute(const QString &name, const QString &defValue) const
Definition: basictypes.h:216
UMLDoc * document() const
Returns a pointer to the current document connected to the KMainWindow instance.
Definition: uml.cpp:910
bool disconnect(const QObject *sender, const char *signal, const QObject *receiver, const char *method)
This class contains the non-graphic representation of an association.
Definition: association.h:32
void setAttribute(const QString &name, const QString &value)
int toInt(bool *ok, int base) const
void setObjectName(const QString &name)
Describes any codeblock which is 'owned' by a UMLobject of some sort and should be in sync with that ...
Definition: ownedcodeblock.h:26
UMLRole * getUMLRole(Uml::RoleType::Enum role) const
Get the underlying UMLRole object for the given role.
Definition: association.cpp:586
virtual void updateContent()=0
UMLObject * findObjectById(Uml::ID::Type id)
Used to find a reference to a UMLObject by its ID.
Definition: umldoc.cpp:782
The fundemental unit of text within an output file containing code.
Definition: textblock.h:24
virtual void setAttributesFromNode(QDomElement &element)
Set the class attributes of this object from the passed element node.
Definition: ownedcodeblock.cpp:106
This class contains the non-graphic representation of an association role.
Definition: umlrole.h:24
Uml::RoleType::Enum role() const
Get the 'id' of the role (NOT the parent object).
Definition: umlrole.cpp:152
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QObject * parent() const
virtual void setAttributesFromObject(TextBlock *obj)
Set the class attributes from a passed object.
Definition: ownedcodeblock.cpp:72
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.