umbrello/umbrello
#include <artifact.h>
Public Types | |
enum | Draw_Type { defaultDraw, file, library, table } |
Public Types inherited from UMLObject | |
enum | ObjectType { ot_Unknown = -1, ot_UMLObject = 100, ot_Actor, ot_UseCase, ot_Package, ot_Interface, ot_Datatype, ot_Enum, ot_Class, ot_Association, ot_Attribute, ot_Operation, ot_EnumLiteral, ot_Template, ot_Component, ot_Artifact, ot_Node, ot_Stereotype, ot_Role, ot_Entity, ot_EntityAttribute, ot_Folder, ot_EntityConstraint, ot_UniqueConstraint, ot_ForeignKeyConstraint, ot_CheckConstraint, ot_Category, ot_Port } |
Protected Member Functions | |
bool | load (QDomElement &element) |
Protected Member Functions inherited from UMLObject | |
void | init () |
void | maybeSignalObjectCreated () |
Protected Member Functions inherited from QObject | |
bool | checkConnectArgs (const char *signal, const QObject *object, const char *method) |
virtual void | childEvent (QChildEvent *event) |
virtual void | connectNotify (const char *signal) |
virtual void | customEvent (QEvent *event) |
virtual void | disconnectNotify (const char *signal) |
int | receivers (const char *signal) const |
QObject * | sender () const |
int | senderSignalIndex () const |
virtual void | timerEvent (QTimerEvent *event) |
Additional Inherited Members | |
Public Slots inherited from UMLObject | |
void | emitModified () |
Signals inherited from UMLCanvasObject | |
void | sigAssociationEndAdded (UMLAssociation *assoc) |
void | sigAssociationEndRemoved (UMLAssociation *assoc) |
Signals inherited from UMLObject | |
void | modified () |
Static Public Member Functions inherited from UMLObject | |
static QString | toString (ObjectType ot) |
Static Public Member Functions inherited from QObject | |
bool | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
bool | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
QString | tr (const char *sourceText, const char *disambiguation, int n) |
QString | trUtf8 (const char *sourceText, const char *disambiguation, int n) |
Static Protected Member Functions inherited from QObject | |
QByteArray | normalizeSignalSlot (const char *signalSlot) |
Protected Attributes inherited from UMLPackage | |
UMLObjectList | m_objects |
Protected Attributes inherited from UMLCanvasObject | |
UMLObjectList | m_List |
Protected Attributes inherited from UMLObject | |
bool | m_bAbstract |
ObjectType | m_BaseType |
bool | m_bCreationWasSignalled |
bool | m_bInPaste |
bool | m_bStatic |
QString | m_Doc |
QString | m_name |
Uml::ID::Type | m_nId |
UMLObject * | m_pSecondary |
UMLStereotype * | m_pStereotype |
UMLPackage * | m_pUMLPackage |
QString | m_SecondaryFallback |
QString | m_SecondaryId |
Uml::Visibility::Enum | m_visibility |
Properties inherited from QObject | |
objectName | |
Detailed Description
This class contains the non-graphical information required for a UML Artifact.
This class inherits from UMLCanvasObject which contains most of the information.
Non-graphical information for a Artifact.
- See also
- UMLCanvasObject Bugs and comments to umbre or llo- devel @kde .orghttp://bugs.kde.org
Definition at line 27 of file artifact.h.
Member Enumeration Documentation
Artifacts can be drawn using one of several icons.
Enumerator | |
---|---|
defaultDraw | |
file | |
library | |
table |
Definition at line 35 of file artifact.h.
Constructor & Destructor Documentation
|
explicit |
Sets up an Artifact.
- Parameters
-
name The name of the Concept. id The unique id of the Concept.
Definition at line 22 of file artifact.cpp.
|
virtual |
Standard deconstructor.
Definition at line 32 of file artifact.cpp.
Member Function Documentation
|
virtual |
Make a clone of this object.
- Returns
- the cloned object
Reimplemented from UMLPackage.
Definition at line 40 of file artifact.cpp.
UMLArtifact::Draw_Type UMLArtifact::getDrawAsType | ( | ) |
Returns the value of m_drawAsType.
- Returns
- the value of the draw type attribute
Definition at line 86 of file artifact.cpp.
|
protectedvirtual |
Loads the UML:Artifact element including its operations, attributes and templates.
- Parameters
-
element the xml element to load
- Returns
- the success status of the operation
Reimplemented from UMLPackage.
Definition at line 66 of file artifact.cpp.
|
virtual |
Creates the UML:Artifact element including its operations, attributes and templates.
- Parameters
-
qDoc the xml document qElement the xml element
Reimplemented from UMLPackage.
Definition at line 53 of file artifact.cpp.
void UMLArtifact::setDrawAsType | ( | Draw_Type | type | ) |
Sets m_drawAsType for which method to draw the artifact as.
- Parameters
-
type the draw type
Definition at line 77 of file artifact.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:29 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.