• Skip to content
  • Skip to link menu
KDE 4.4 API Reference
  • KDE API Reference
  • kdesdk
  • Sitemap
  • Contact Us
 

umbrello/umbrello

UMLNode Class Reference

This class contains the non-graphical information required for a UML Node. More...

#include <node.h>

Inheritance diagram for UMLNode:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 UMLNode (const QString &name=QString(), Uml::IDType id=Uml::id_None)
virtual ~UMLNode ()
virtual UMLObject * clone () const
virtual void init ()
void saveToXMI (QDomDocument &qDoc, QDomElement &qElement)

Protected Member Functions

bool load (QDomElement &element)

Detailed Description

This class contains the non-graphical information required for a UML Node.

This class inherits from UMLCanvasObject which contains most of the information.

Non-graphical information for a Node.

Author:
Jonathan Riddell
See also:
UMLCanvasObject Bugs and comments to uml-devel@lists.sf.net or http://bugs.kde.org

Definition at line 26 of file node.h.


Constructor & Destructor Documentation

UMLNode::UMLNode ( const QString &  name = QString(),
Uml::IDType  id = Uml::id_None 
) [explicit]

Sets up a Node.

Parameters:
name The name of the Concept.
id The unique id of the Concept.

Definition at line 21 of file node.cpp.

UMLNode::~UMLNode (  )  [virtual]

Destructor.

Definition at line 30 of file node.cpp.


Member Function Documentation

UMLObject * UMLNode::clone (  )  const [virtual]

Make a clone of this object.

Implements UMLObject.

Definition at line 45 of file node.cpp.

void UMLNode::init (  )  [virtual]

Initializes key variables of the class.

Reimplemented from UMLObject.

Definition at line 37 of file node.cpp.

bool UMLNode::load ( QDomElement &  element  )  [protected, virtual]

Loads the <UML:Node> XMI element (empty.

)

Reimplemented from UMLObject.

Definition at line 64 of file node.cpp.

void UMLNode::saveToXMI ( QDomDocument &  qDoc,
QDomElement &  qElement 
) [virtual]

Creates the <UML:Node> XMI element.

Implements UMLObject.

Definition at line 55 of file node.cpp.


The documentation for this class was generated from the following files:
  • node.h
  • node.cpp

umbrello/umbrello

Skip menu "umbrello/umbrello"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdesdk

Skip menu "kdesdk"
  • kapptemplate
  • kate
  •     kate
  • kbugbuster
  • kcachegrind
  • kompare
  • lokalize
  • umbrello
  •   umbrello
Generated for kdesdk by doxygen 1.5.9-20090814
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal