umbrello/umbrello
umldoc.cpp
Go to the documentation of this file.
175 connect(this, SIGNAL(sigObjectRemoved(UMLObject*)), view->umlScene(), SLOT(slotObjectRemoved(UMLObject*)));
421 KMessageBox::error(0, i18n("The file %1 does not exist.", url.pathOrUrl()), i18n("Load Error"));
443 KMessageBox::error(0, i18n("The file %1 seems to be corrupted.", url.pathOrUrl()), i18n("Load Error"));
480 KMessageBox::error(0, i18n("There was no XMI file found in the compressed file %1.", url.pathOrUrl()),
492 KMessageBox::error(0, i18n("There was no XMI file found in the compressed file %1.", url.pathOrUrl()),
506 KMessageBox::error(0, i18n("There was a problem loading the extracted file: %1", url.pathOrUrl()),
518 KMessageBox::error(0, i18n("There was no XMI file found in the compressed file %1.", url.pathOrUrl()),
626 KMessageBox::error(0, i18n("There was a problem saving file: %1", url.pathOrUrl()), i18n("Save Error"));
636 KMessageBox::error(0, i18n("There was a problem saving file: %1", url.pathOrUrl()), i18n("Save Error"));
653 KMessageBox::error(0, i18n("There was a problem saving file: %1", url.pathOrUrl()), i18n("Save Error"));
686 KMessageBox::error(0, i18n("There was a problem saving file: %1", url.pathOrUrl()), i18n("Save Error"));
704 KMessageBox::error(0, i18n("There was a problem saving file: %1", url.pathOrUrl()), i18n("Save Error"));
711 KMessageBox::error(0, i18n("There was a problem uploading file: %1", url.pathOrUrl()), i18n("Save Error"));
724 connect(this, SIGNAL(sigDiagramChanged(Uml::DiagramType::Enum)), tb, SLOT(slotCheckToolBar(Uml::DiagramType::Enum)));
904 if (ot == UMLObject::ot_Attribute || ot == UMLObject::ot_Operation || ot == UMLObject::ot_EnumLiteral
905 || ot == UMLObject::ot_EntityAttribute || ot == UMLObject::ot_Template || ot == UMLObject::ot_Stereotype) {
1113 if (a->getObject(Uml::RoleType::A) == roleAObj && a->getObject(Uml::RoleType::B) == roleBObj) {
1116 if (a->getObject(Uml::RoleType::A) == roleBObj && a->getObject(Uml::RoleType::B) == roleAObj) {
1291 KMessageBox::error(0, i18n("A diagram is already using that name."), i18n("Not a Unique Name"));
1310 UMLView* UMLDoc::createDiagram(UMLFolder *folder, Uml::DiagramType::Enum type, const QString& name)
1346 QString name = KInputDialog::getText(i18nc("renaming diagram", "Name"), i18n("Enter name:"), oldName, &ok, (QWidget*)UMLApp::app());
1361 KMessageBox::error(0, i18n("A diagram is already using that name."), i18n("Not a Unique Name"));
1377 QString name = KInputDialog::getText(i18nc("renaming uml object", "Name"), i18n("Enter name:"), oldName, &ok, (QWidget*)UMLApp::app());
1411 QString name = KInputDialog::getText(i18nc("renaming child uml object", "Name"), i18n("Enter name:"), oldName, &ok, (QWidget*)UMLApp::app());
1422 i18n("Name Not Unique"), KGuiItem(i18n("Use Name")), KGuiItem(i18n("Enter New Name"))) == KMessageBox::Yes)) {
1551 } else if (type == UMLObject::ot_UniqueConstraint || type == UMLObject::ot_ForeignKeyConstraint ||
2908 UMLApp::app()->tabWidget()->setTabText(UMLApp::app()->tabWidget()->indexOf(view), view->umlScene()->name());
int removeAttribute(UMLAttribute *att)
Removes an attribute from the class.
Definition: classifier.cpp:893
Uml::ModelType::Enum rootFolderType(UMLObject *obj)
Return the corresponding Model_Type if the given object is one of the root folders.
Definition: umldoc.cpp:2691
UMLObject * getObject(Uml::RoleType::Enum role) const
Returns the UMLObject assigned to the given role.
Definition: association.cpp:476
void addDefaultStereotypes()
Add a stereotype if it doesn't already exist.
Definition: umldoc.cpp:3009
Definition: umlobject.h:60
Enum fromString(const QString &item)
Return ProgrammingLanguage corresponding to the given string.
Definition: basictypes.cpp:853
bool addUMLObject(UMLObject *object)
Adds a UMLObject thats already created but doesn't change any ids or signal.
Definition: umldoc.cpp:901
This class contains the non-graphical information required for a UML Package.
Definition: package.h:32
void addDefaultDatatypes()
Calls the active code generator to create its default datatypes.
Definition: umldoc.cpp:2920
void createDatatype(const QString &name)
Add a datatype if it doesn't already exist.
Definition: umldoc.cpp:2939
bool addUMLView(UMLView *pView)
Adds an already created UMLView to the document, it gets assigned a new ID, if its name is already in...
Definition: umldoc.cpp:2782
This sub-class adds copyInto and clone to the QPtrList base class...
Definition: umlclassifierlistitemlist.h:26
This class defines the non-graphical information required for a UML Classifier (ie a class or interfa...
Definition: classifier.h:39
UMLObject * umlObject() const
Return the UMLObject associated with this instance.
Definition: umllistviewitem.cpp:309
void setUMLStereotype(UMLStereotype *stereo)
Sets the class' UMLStereotype.
Definition: umlobject.cpp:468
void setDiagramMenuItemsState(bool bState)
Sets the state of the view properties menu item.
Definition: uml.cpp:2460
virtual bool loadFromXMI(QDomElement &element)
This method loads the generic parts of the XMI common to most model classes.
Definition: umlobject.cpp:914
UMLAssociation * findAssociation(Uml::AssociationType::Enum assocType, const UMLObject *roleAObj, const UMLObject *roleBObj, bool *swap=0)
Finds an association.
Definition: umldoc.cpp:1102
virtual void loadFromXMI(QDomElement &element)
Load codegenerator data from xmi.
Definition: codegenerator.cpp:191
QString toString(Enum item)
Convert DiagramType item into QString representation.
Definition: basictypes.cpp:158
Definition: basictypes.h:209
void initGenerator()
Reads the activeLanguage from the KConfig and calls updateLangSelectMenu()
Definition: uml.cpp:2648
Definition: basictypes.h:76
virtual UMLClassifierListItemList getFilteredList(UMLObject::ObjectType ot) const
Returns the entries in m_List that are of the requested type.
Definition: classifier.cpp:1019
void saveToXMI(QDomDocument &qDoc, QDomElement &qElement)
Definition: umllistview.cpp:2630
void sigObjectRemoved(UMLObject *)
UMLAssociation * createUMLAssociation(UMLObject *a, UMLObject *b, Uml::AssociationType::Enum type)
Creates AND adds an association between two UMLObjects.
Definition: umldoc.cpp:1136
static bool tagEq(const QString &tag, const QString &pattern)
Function for comparing tags in XMI files.
Definition: umldoc.cpp:3030
void showDocumentation(UMLObject *object, bool overwrite=false)
Called when a widget wishes to display its documentation in the doc window.
Definition: docwindow.cpp:87
Uml::ModelType::Enum convert_DT_MT(Uml::DiagramType::Enum dt)
Return the Model_Type which corresponds to the given DiagramType.
Definition: model_utils.cpp:1037
int removeEnumLiteral(UMLEnumLiteral *literal)
Removes an enumliteral from the class.
Definition: enum.cpp:204
This class contains all the ID translations done for each UMLObject pasted.
Definition: idchangelog.h:26
void saveToXMI(QDomDocument &qDoc, QDomElement &qElement)
Creates a UML:Model or UML:Package element: UML:Model is created for the predefined fixed folders...
Definition: folder.cpp:316
Definition: basictypes.h:210
virtual void saveToXMI(QIODevice &file)
This method is called for saving the given model as a XMI file.
Definition: umldoc.cpp:1662
int removeTemplate(UMLTemplate *umltemplate)
Removes a template from the class.
Definition: classifier.cpp:1120
Definition: cmd_renameUMLObject.h:20
Definition: umllistviewitem.h:90
void setViewOptions(const Settings::OptionState &optionState)
Set the options for the views in this folder.
Definition: folder.cpp:208
virtual bool loadFromXMI(QDomElement &qElement)
Loads the "diagram" tag.
Definition: umlscene.cpp:3813
QString uniqueViewName(const Uml::DiagramType::Enum type)
Returns a name for the new object, appended with a number if the default name is taken e...
Definition: umldoc.cpp:1195
void updateDocumentation(bool clear=false, bool startup=false)
Call when you wish move changes in the doc window back into the members documentation.
Definition: docwindow.cpp:205
void setLocalName(const QString &localName)
Set the localized name of this folder.
Definition: folder.cpp:69
This class contains the non-graphical information required for UMLObjects which appear as moveable wi...
Definition: umlcanvasobject.h:33
void slotUpdateViews()
Register new views (aka diagram) with the GUI so they show up in the menu.
Definition: uml.cpp:2479
Definition: basictypes.h:84
bool hasAssociation(UMLAssociation *assoc)
Determine if this canvasobject has the given association.
Definition: umlcanvasobject.cpp:104
UMLClassifierList classes(bool includeNested=true)
Returns a list of the classes in this UMLDoc.
Definition: umldoc.cpp:2477
Definition: umlobject.h:71
bool saveDocument(const KUrl &url, const char *format=0)
Saves the document using the given filename and format.
Definition: umldoc.cpp:580
void sigSetStatusbarProgressSteps(int totalSteps)
Set the total range of the progressbar.
Definition: basictypes.h:80
const UMLStereotypeList & stereotypes() const
Returns a list of the stereotypes in this UMLDoc.
Definition: umldoc.cpp:3022
Definition: umlobject.h:59
void setGenerator(CodeGenerator *gen, bool giveWarning=true)
Definition: umlobject.h:61
UMLClassifierList interfaces(bool includeNested=true)
Returns a list of the interfaces in this UMLDoc.
Definition: umldoc.cpp:2519
void setOptionState(const Settings::OptionState &options)
Sets the options to be used.
Definition: umlscene.cpp:408
UMLObject * findUMLObject(const UMLObjectList &inList, const QString &inName, UMLObject::ObjectType type, UMLObject *currentObj)
Find the UML object of the given type and name in the passed-in list.
Definition: model_utils.cpp:139
UMLStereotype * findStereotypeById(Uml::ID::Type id)
Find a UMLStereotype by its unique ID.
Definition: umldoc.cpp:787
void sigDiagramCreated(Uml::ID::Type id)
void signalDiagramRenamed(UMLView *view)
Signal a view/diagram has been renamed.
Definition: umldoc.cpp:2903
int removeOperation(UMLOperation *op)
Remove an operation from the Classifier.
Definition: classifier.cpp:364
Definition: optionstate.h:141
This class contains the non-graphic representation of an association.
Definition: association.h:32
bool loadFromMDL(QIODevice &file)
Parse a file into the PetalNode internal tree representation and then create Umbrello objects by trav...
Definition: import_rose.cpp:374
UMLObject * findObjectById(Uml::ID::Type id)
Find the object of the given ID in the list of contained objects.
Definition: package.cpp:262
void appendPackages(UMLPackageList &packages, bool includeNested=true)
Append all packages from this packaed (and those from nested packeges) to the given UMLPackageList...
Definition: package.cpp:275
void removeStereotype(UMLStereotype *s)
Remove a UMLStereotype from the application.
Definition: umldoc.cpp:935
QString documentation() const
Returns the documentation for the project.
Definition: umldoc.cpp:2757
UMLAssociationList getAssociations()
Return the list of associations for the CanvasObject.
Definition: umlcanvasobject.cpp:337
void appendClassifiers(UMLClassifierList &classifiers, bool includeNested=true)
Append all classifiers from this package (and those from nested packages) to the given UMLClassifierL...
Definition: package.cpp:298
void slotAutoSave()
Called after a specified time to autosave the document.
Definition: umldoc.cpp:2859
void appendEntities(UMLEntityList &entities, bool includeNested=true)
Append all entities from this package (and those from nested packages) to the given UMLEntityList...
Definition: package.cpp:346
UMLObject * createUMLObject(UMLObject::ObjectType type, const QString &n, UMLPackage *parentPkg, bool solicitNewName)
Creates a UMLObject of the given type.
Definition: object_factory.cpp:162
UMLView * findView(Uml::ID::Type id)
Finds a view (diagram) by the ID given to method.
Definition: umldoc.cpp:733
QString createDiagramName(Uml::DiagramType::Enum type, bool askForName=true)
Creates the name of the given diagram type.
Definition: umldoc.cpp:1271
Definition: docwindow.h:28
void sigSetStatusbarProgress(int stepPosition)
Set the progress position of the progressbar.
Definition: basictypes.h:79
Definition: basictypes.h:82
ListViewType type() const
Returns the type this instance represents.
Definition: umllistviewitem.cpp:231
QString printUmlDiagram(int sel)
Return ID string of UML diagram.
Definition: diagramprintpage.cpp:130
void setFolder(UMLFolder *folder)
Set the UMLFolder in which this diagram lives.
Definition: umlscene.cpp:185
bool assignNewIDs(UMLObject *obj)
Assigns an already created UMLObject a new ID.
Definition: umldoc.cpp:2635
void activateAllViews()
Activate all the diagrams/views after loading so all their widgets keep their IDs.
Definition: umldoc.cpp:2812
short encoding(QIODevice &file)
Checks the given XMI file if it was saved with correct Unicode encoding set or not.
Definition: umldoc.cpp:1807
Definition: basictypes.h:83
void executeCommand(QUndoCommand *cmd)
Execute a command and pushit in the stack.
Definition: uml.cpp:3077
bool setUMLPackage(UMLPackage *pPkg)
Sets the UMLPackage in which this class is located.
Definition: umlobject.cpp:545
bool isUnique(const QString &name)
Returns true if the given name is unique within its scope.
Definition: umldoc.cpp:972
void removeObject(UMLObject *pObject)
Removes an object from this package.
Definition: package.cpp:193
void changeCurrentView(Uml::ID::Type id)
Changes the current view (diagram) to the view with the given ID.
Definition: umldoc.cpp:1438
void setCurrentRoot(Uml::ModelType::Enum rootType)
Set the current root folder.
Definition: umldoc.cpp:1515
UMLView * findView(Uml::ID::Type id)
Seek a view of the given ID in this folder.
Definition: folder.cpp:152
UMLClassifierList concepts(bool includeNested=true)
Returns a list of the concepts in this UMLDoc.
Definition: umldoc.cpp:2463
bool typeIsContainer(UMLListViewItem::ListViewType type)
Return true if the listview type may act as a container for other objects, i.e.
Definition: model_utils.cpp:969
Definition: umlobject.h:69
void sigObjectCreated(UMLObject *)
Uml::AssociationType::Enum getAssocType() const
Returns the AssociationType::Enum of the UMLAssociation.
Definition: association.cpp:103
virtual QStringList defaultDatatypes()
Return the default datatypes for your language (bool, int etc).
Definition: codegenerator.cpp:860
void removeAssociation(UMLAssociation *assoc, bool doSetModified=true)
Removes an association.
Definition: umldoc.cpp:1071
void slotDiagramPopupMenu(QWidget *umlview, const QPoint &point)
Make a popup menu for the tabs signalled from tabWidget's contextMenu().
Definition: umldoc.cpp:2953
bool removeConstraint(UMLEntityConstraint *constr)
Removes an existing constraint from this UMLEntity.
Definition: entity.cpp:596
virtual void saveToXMI(QDomDocument &doc, QDomElement &root)
Save the XMI representation of this object.
Definition: codegenerator.cpp:258
Definition: umlobject.h:73
void removeUMLObject(UMLObject *umlobject)
Removes an UMLObject from the current file.
Definition: umldoc.cpp:1527
virtual UMLObject * findChildObject(const QString &n, UMLObject::ObjectType t=UMLObject::ot_UMLObject)
Find a child object with the given name.
Definition: umlcanvasobject.cpp:240
UMLObject * findUMLObjectRaw(const UMLObjectList &inList, const QString &name, UMLObject::ObjectType type, UMLObject *currentObj)
Find the UML object of the given type and name in the passed-in list.
Definition: model_utils.cpp:290
void addView(UMLView *view)
Adds a view to the document which represents the document contents.
Definition: umldoc.cpp:159
void removeAllViews()
Call to remove all the views (diagrams) in the current file.
Definition: umldoc.cpp:2413
void setModified(bool modified=true)
Sets the modified flag for the document after a modifying action on the view connected to the documen...
Definition: umldoc.cpp:2607
void appendClassesAndInterfaces(UMLClassifierList &classifiers, bool includeNested=true)
Append all classes and interfaces from this package (and those from nested packages) to the given UML...
Definition: package.cpp:370
void loadExtensionsFromXMI(QDomNode &node)
Loads umbrello specific extensions from XMI to the UMLDoc.
Definition: umldoc.cpp:2298
void sigDiagramRenamed(Uml::ID::Type t)
UMLFolder * folder() const
Return the UMLFolder in which this diagram lives.
Definition: umlscene.cpp:177
Definition: umlobject.h:72
Uml::ID::Type assignNewID(Uml::ID::Type oldID)
Assigns a New ID to an Object, and also logs the assignment to its internal ChangeLog.
Definition: umldoc.cpp:2743
Definition: basictypes.h:81
bool validateXMIHeader(QDomNode &headerNode)
Ensures the XMI file is a valid UML file.
Definition: umldoc.cpp:2107
void renameChildUMLObject(UMLObject *o)
Used to rename an operation or attribute of a concept.
Definition: umldoc.cpp:1400
void setupSignals()
Sets up the signals needed by the program for it to work.
Definition: umldoc.cpp:721
int removeEntityAttribute(UMLClassifierListItem *att)
Removes an entityAttribute from the class.
Definition: entity.cpp:372
void settingsChanged(Settings::OptionState optionState)
Sets the default settings to the given settings.
Definition: umldoc.cpp:2828
UMLClassifierList classesAndInterfaces(bool includeNested=true)
Returns a list of the classes and interfaces in this UMLDoc.
Definition: umldoc.cpp:2491
void slotMenuSelection(QAction *action)
When a menu selection has been made on the menu that this view created, this method gets called...
Definition: umlscene.cpp:3050
Definition: basictypes.h:78
UMLAssociationList associations()
Returns a list of the associations in this UMLDoc.
Definition: umldoc.cpp:2548
bool isCommonXMIAttribute(const QString &tag)
Return true if the given tag is a one of the common XMI attributes, such as: "name" | "visibility" | ...
Definition: model_utils.cpp:503
void show()
Overrides standard method from QWidget to resize scene when it's shown.
Definition: umlview.cpp:130
Definition: umlobject.h:58
Uml::ID::Type get()
Return the last generated unique ID without generating a new one.
Definition: uniqueid.cpp:45
Enum fromInt(int item)
Convert a integer item into ModelType representation.
Definition: basictypes.cpp:80
UMLClassifierList datatypes()
Returns a list of the datatypes in this UMLDoc.
Definition: umldoc.cpp:2531
bool loadUISDiagram(QDomElement &qElement)
Loads the "UISDiagram" tag of Unisys.IntegratePlus.2 generated files.
Definition: umlscene.cpp:4139
This class contains the non-graphical information required for a UML Enum.
Definition: enum.h:28
Definition: umlobject.h:53
UMLEntityList entities(bool includeNested=true)
Returns a list of the entities in this UMLDoc.
Definition: umldoc.cpp:2505
virtual void createDefaultStereotypes()
Create the default stereotypes for your language (constructor, int etc).
Definition: codegenerator.cpp:891
UMLObject * findObjectById(Uml::ID::Type id)
Used to find a reference to a UMLObject by its ID.
Definition: umldoc.cpp:766
void activateAfterLoad(bool bUseLog=false)
Activate the view after a load a new file.
Definition: umlscene.cpp:2210
Definition: umlobject.h:57
void print(QPrinter *pPrinter, DiagramPrintPage *selectPage)
Controls the printing of the program.
Definition: umldoc.cpp:2566
void addIDChange(Uml::ID::Type OldID, Uml::ID::Type NewID)
Definition: idchangelog.cpp:88
void setCurrentView(UMLView *view)
Puts this view to the top of the viewStack, i.e.
Definition: uml.cpp:2806
UMLPackage * umlPackage()
Returns the UMLPackage that this class is located in.
Definition: umlobject.cpp:641
UMLStereotype * findOrCreateStereotype(const QString &name)
Finds or creates a stereotype for the parent object.
Definition: umldoc.cpp:1054
QString toString(Enum item)
Convert ModelType item into QString representation.
Definition: basictypes.cpp:39
Definition: basictypes.h:77
Definition: basictypes.h:44
UMLView * createDiagram(UMLFolder *folder, Uml::DiagramType::Enum type, const QString &name)
Creates a diagram of the given type.
Definition: umldoc.cpp:1310
bool openDocument(const KUrl &url, const char *format=0)
Loads the document by filename and format and emits the updateViews() signal.
Definition: umldoc.cpp:402
Definition: umlobject.h:56
This sub-class adds copyInto and clone to the QList base class.
Definition: umlobjectlist.h:26
UMLObject * makeObjectFromXMI(const QString &xmiTag, const QString &stereoID)
Make a new UMLObject according to the given XMI tag.
Definition: object_factory.cpp:309
void setLoading(bool state=true)
Sets loading boolean flag to the value given.
Definition: umldoc.cpp:1250
This is the toolbar that is displayed on the right-hand side of the program window.
Definition: worktoolbar.h:40
void removeDiagram(Uml::ID::Type id)
Deletes a diagram from the current file.
Definition: umldoc.cpp:1463
Definition: umlobject.h:49
void sigDiagramRemoved(Uml::ID::Type id)
void setDocumentation(const QString &doc)
Sets the documentation for the project.
Definition: umldoc.cpp:2767
A popup menu that depending on what type is set to will display a different menu. ...
Definition: listpopupmenu.h:40
This class collects together all of the code documents which form this project, and generates code fo...
Definition: codegenerator.h:68
Definition: basictypes.h:39
bool loadDiagramsFromXMI(QDomNode &node)
Loads all diagrams from XMI into the current UMLDoc.
Definition: umldoc.cpp:2362
void sigWriteToStatusBar(const QString &text)
Write text to the status bar.
void removeView(UMLView *view, bool enforceOneView=true)
Removes a view from the list of currently connected views.
Definition: umldoc.cpp:197
Uml::ID::Type modelID() const
Return the m_modelID (currently this a fixed value: Umbrello supports only a single document...
Definition: umldoc.cpp:1650
UMLPackageList packages(bool includeNested=true)
Returns a list of the packages in this UMLDoc,.
Definition: umldoc.cpp:2439
UMLObject * findObject(const QString &name)
Find the object of the given name in the list of contained objects.
Definition: package.cpp:241
UMLClassifier * findUMLClassifier(const QString &name)
Used to find a reference to a UMLObject given its non-numeric ID string.
Definition: umldoc.cpp:887
This is a page on the print dialog to select what diagram(s) you wish to print.
Definition: diagramprintpage.h:36
UMLPackage * rootPackage(UMLObject *obj)
Get the root folder of the given UMLObject.
Definition: model_utils.cpp:307
Definition: umlobject.h:65
void clearUndoStack()
Removes all entries from the UndoStack and RedoStack and disables the undo and redo actions...
Definition: uml.cpp:3027
UMLStereotype * findStereotype(const QString &name)
Finds a UMLStereotype by its name.
Definition: umldoc.cpp:1039
bool loadUMLObjectsFromXMI(QDomElement &element)
Loads all UML objects from XMI into the current UMLDoc.
Definition: umldoc.cpp:2130
bool saveModified()
"save modified" - Asks the user for saving if the document is modified.
Definition: umldoc.cpp:268
virtual void setID(Uml::ID::Type NewID)
Assigns a new Id to the object.
Definition: umlobject.cpp:159
void addStereotype(UMLStereotype *s)
Add a UMLStereotype to the application.
Definition: umldoc.cpp:924
UMLObject * findUMLObjectRaw(Uml::ModelType::Enum, const QString &name, UMLObject::ObjectType type=UMLObject::ot_UMLObject)
Used to find a UMLObject by its type and raw name.
Definition: umldoc.cpp:841
virtual IDChangeLog * changeLog()
Read property of IDChangeLog* m_pChangeLog.
Definition: umldoc.cpp:2707
Uml::ModelType::Enum guessContainer(UMLObject *o)
Try to guess the correct container folder type of an UMLObject.
Definition: model_utils.cpp:572
void sigDiagramChanged(Uml::DiagramType::Enum)
void beginPaste()
Opens a Paste session, deletes the old ChangeLog and creates an empty one.
Definition: umldoc.cpp:2716
void appendClasses(UMLClassifierList &classes, bool includeNested=true)
Append all classes from this package (and those from nested packages) to the given UMLClassifierList...
Definition: package.cpp:322
void appendViews(UMLViewList &viewList, bool includeNested=true)
Append the views in this folder to the given diagram list.
Definition: folder.cpp:106
UMLObject * findUMLObject(const QString &name, UMLObject::ObjectType type=UMLObject::ot_UMLObject, UMLObject *currentObj=0)
Used to find a UMLObject by its type and name.
Definition: umldoc.cpp:809
void print(QPrinter *pPrinter, QPainter &pPainter)
Contains the implementation for printing functionality.
Definition: umlscene.cpp:466
Definition: umlobject.h:54
UMLObjectList containedObjects()
Returns the list of objects contained in this package.
Definition: package.cpp:230
Definition: umlobject.h:68
This class contains the non-graphical information required for a UML Entity.
Definition: entity.h:34
virtual bool loadFromXMI(QIODevice &file, short encode=ENC_UNKNOWN)
Load a given XMI model from a file.
Definition: umldoc.cpp:1884
void appendInterfaces(UMLClassifierList &interfaces, bool includeNested=true)
Append all interfaces from this package (and those from nested packages) to the given UMLClassifierLi...
Definition: package.cpp:394
UMLFolder * rootFolder(Uml::ModelType::Enum mt)
Return the predefined root folder of the given type.
Definition: umldoc.cpp:2676
void signalUMLObjectCreated(UMLObject *o)
Signal that a UMLObject has been created.
Definition: umldoc.cpp:1619
void saveToXMI(QDomDocument &qDoc, QDomElement &qElement)
Saves to the XMI element.
Definition: stereotype.cpp:98
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:06:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:06:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.