umbrello 2.32.3 Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology

umldoc.h
Go to the documentation of this file.
1 /***************************************************************************
2 * This program is free software; you can redistribute it and/or modify *
3 * it under the terms of the GNU General Public License as published by *
4 * the Free Software Foundation; either version 2 of the License, or *
5 * (at your option) any later version. *
6 * *
7 * copyright (C) 2002-2020 *
8 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9 ***************************************************************************/
10
11 #ifndef UMLDOC_H
12 #define UMLDOC_H
13
14 // app includes
15 #include "basictypes.h"
16 #include "optionstate.h"
17 #include "umlobject.h"
18 #include "umlobjectlist.h"
19 #include "umlassociationlist.h"
20 #include "umlclassifierlist.h"
21 #include "umlentitylist.h"
22 #include "umlviewlist.h"
23 #include "umlstereotypelist.h"
24 #include "umlpackagelist.h"
25
26 // kde includes
27 #if QT_VERSION < 0x050000
28 #include <kurl.h>
29 #endif
30
31 // qt includes
32 #if QT_VERSION >= 0x050000
33 #include <QUrl>
34 #endif
35 #include <QMap>
36
37 // system includes
38 #include <typeinfo>
39
40 #define ENC_UNKNOWN 0
41 #define ENC_UNICODE 1
42 #define ENC_WINDOWS 2
43 #define ENC_OLD_ENC 3
44
45 // forward declarations
46 class QDomNode;
47 class QDomElement;
48 class QPrinter;
49
50 class IDChangeLog;
51 class DiagramsModel;
52 class ObjectsModel;
53 class StereotypesModel;
54 class UMLPackage;
55 class UMLFolder;
56 class DiagramPrintPage;
57
74 class UMLDoc : public QObject
75 {
76 Q_OBJECT
77 public:
78
79 UMLDoc();
80 ~UMLDoc();
81
82 void init();
83
84 void addView(UMLView *view);
85 void removeView(UMLView *view, bool enforceOneView = true);
86 void setMainViewID(Uml::ID::Type viewID);
87 void changeCurrentView(Uml::ID::Type id);
88 void activateAllViews();
89 void removeAllViews();
90 void removeAllObjects();
91
92 void setModified(bool modified = true);
93 bool isModified();
94 bool saveModified();
95
96 bool newDocument();
97 void closeDocument();
98 #if QT_VERSION >= 0x050000
99 bool openDocument(const QUrl& url, const char *format = 0);
100 bool saveDocument(const QUrl& url, const char *format = 0);
101 const QUrl& url() const;
102 void setUrl(const QUrl& url);
103 #else
104 bool openDocument(const KUrl& url, const char *format = 0);
105 bool saveDocument(const KUrl& url, const char *format = 0);
106 const KUrl& url() const;
107 void setUrl(const KUrl& url);
108 #endif
109 void setUrlUntitled();
110
111 void setupSignals();
112
113 bool isUnique(const QString &name);
114 bool isUnique(const QString &name, UMLPackage *package);
115
116 UMLAssociation* createUMLAssociation(UMLObject *a, UMLObject *b, Uml::AssociationType::Enum type);
117
118 void addAssociation(UMLAssociation *assoc);
119 void removeAssociation(UMLAssociation *assoc, bool doSetModified = true);
120 UMLAssociation * findAssociation(Uml::AssociationType::Enum assocType,
121 const UMLObject *roleAObj,
122 const UMLObject *roleBObj,
123 bool *swap = 0);
124
125 QString createDiagramName(Uml::DiagramType::Enum type, bool askForName = true);
126 UMLView* createDiagram(UMLFolder *folder,
127 Uml::DiagramType::Enum type,
128 const QString& name,
129 Uml::ID::Type id = Uml::ID::None);
130
131 void removeDiagram(Uml::ID::Type id);
132 void removeDiagramCmd(Uml::ID::Type id);
133 void renameDiagram(Uml::ID::Type id);
134
135 void removeUMLObject(UMLObject* umlobject, bool deleteObject = false);
136 void renameUMLObject(UMLObject *o);
137 void renameChildUMLObject(UMLObject *o);
138
139 UMLObject* findObjectById(Uml::ID::Type id);
140
141 UMLObject* findUMLObject(const QString &name,
142 UMLObject::ObjectType type = UMLObject::ot_UMLObject,
143 UMLObject *currentObj = 0);
144
145 UMLObject* findUMLObjectRaw(Uml::ModelType::Enum,
146 const QString &name,
147 UMLObject::ObjectType type = UMLObject::ot_UMLObject);
148
149 UMLObject* findUMLObjectRaw(UMLFolder *folder,
150 const QString &name,
151 UMLObject::ObjectType type = UMLObject::ot_UMLObject);
152
153 UMLObject* findUMLObjectRecursive(Uml::ModelType::Enum,
154 const QString &name,
155 UMLObject::ObjectType type = UMLObject::ot_UMLObject);
156
157 UMLObject* findUMLObjectRecursive(UMLFolder *folder,
158 const QString &name,
159 UMLObject::ObjectType type = UMLObject::ot_UMLObject);
160
161 UMLClassifier * findUMLClassifier(const QString &name);
162
163 UMLView * findView(Uml::ID::Type id);
164 UMLView * findView(Uml::DiagramType::Enum type, const QString &name,
165 bool searchAllScopes = false);
166
167 void setName(const QString& name);
168 QString name() const;
169
170 void setResolution(qreal resolution);
171 qreal resolution() const;
172 qreal dpiScale() const;
173
174 Uml::ID::Type modelID() const;
175
176 static bool tagEq (const QString& tag, const QString& pattern);
177
178 virtual void saveToXMI1(QIODevice& file);
179
180 short encoding(QIODevice & file);
181
182 virtual bool loadFromXMI1(QIODevice& file, short encode = ENC_UNKNOWN);
183
184 bool validateXMI1Header(QDomNode& headerNode);
185
186 bool loadUMLObjectsFromXMI1(QDomElement & element);
187 void loadExtensionsFromXMI1(QDomNode & node);
188 bool loadDiagramsFromXMI1(QDomNode & node);
189
190 void signalDiagramRenamed(UMLView * view);
191 void signalUMLObjectCreated(UMLObject * o);
192
193 UMLClassifierList concepts(bool includeNested = true);
194 UMLClassifierList classesAndInterfaces(bool includeNested = true);
195 UMLEntityList entities(bool includeNested = true);
196 UMLFolder * datatypeFolder() const;
197 UMLClassifierList datatypes(bool includeInactive = false);
198 UMLAssociationList associations();
199 UMLPackageList packages(bool includeNested = true, Uml::ModelType::Enum model = Uml::ModelType::Logical);
200
201 void print(QPrinter * pPrinter, DiagramPrintPage * selectPage);
202
203 UMLViewList viewIterator();
204 UMLViewList views(Uml::DiagramType::Enum type = Uml::DiagramType::Undefined);
205
206 bool assignNewIDs(UMLObject* obj);
207
208 bool addUMLObject(UMLObject * object);
209 bool addUMLView(UMLView * pView);
210
211 UMLFolder *rootFolder(Uml::ModelType::Enum mt);
212 Uml::ModelType::Enum rootFolderType(UMLObject *obj);
213
214 UMLFolder *currentRoot();
215 void setCurrentRoot(Uml::ModelType::Enum rootType);
216
217 virtual IDChangeLog* changeLog();
218
219 void beginPaste();
220 void endPaste();
221
222 Uml::ID::Type assignNewID(Uml::ID::Type oldID);
223
224 void setDocumentation(const QString &doc);
225 QString documentation() const;
226
227 void settingsChanged(Settings::OptionState &optionState);
228
229 QString uniqueViewName(const Uml::DiagramType::Enum type);
230
231 bool loading() const;
232 void setLoading(bool state = true);
233
234 bool importing() const;
235 void setImporting(bool state = true);
236
237 bool closing() const;
238
239 void addDefaultDatatypes();
240 void createDatatype(const QString &name);
241 void removeDatatype(const QString &name);
242
243 UMLStereotype *createStereotype(const QString &name);
244 UMLStereotype *findStereotype(const QString &name);
245 UMLStereotype *findOrCreateStereotype(const QString &name);
246 UMLStereotype *findStereotypeById(Uml::ID::Type id);
247 void addStereotype(UMLStereotype *s);
248 void removeStereotype(UMLStereotype *s);
249 void addDefaultStereotypes();
250 const UMLStereotypeList& stereotypes() const;
251
252 void writeToStatusBar(const QString &text);
253
254 void resolveTypes();
255 bool loadDiagrams1();
256 void addDiagramToLoad(UMLFolder *folder, QDomNode node);
257
258 DiagramsModel *diagramsModel();
259 StereotypesModel *stereotypesModel();
260 ObjectsModel *objectsModel();
261
262 void setLoadingError(const QString &text);
263
264 private:
265 void initSaveTimer();
266 void createDatatypeFolder();
267
268 class Private;
269 Private *m_d;
270
274 UMLFolder *m_root[Uml::ModelType::N_MODELTYPES];
275
280 UMLFolder *m_datatypeRoot;
281
289 UMLStereotypeList m_stereoList;
290
291 QString m_Name;
292 Uml::ID::Type m_modelID;
293 int m_count;
294 bool m_modified;
295 #if QT_VERSION >= 0x050000
296 QUrl m_doc_url;
297 #else
298 KUrl m_doc_url;
299 #endif
300
303 IDChangeLog* m_pChangeLog;
304
308 bool m_bLoading;
309
313 bool m_importing;
314
318 QString m_Doc;
319
323 QTimer * m_pAutoSaveTimer;
324
328 Uml::ID::Type m_nViewID;
329
333 bool m_bTypesAreResolved;
334
340 UMLFolder * m_pCurrentRoot;
341
345 bool m_bClosing;
346
347 DiagramsModel *m_diagramsModel;
348 ObjectsModel *m_objectsModel;
349 StereotypesModel *m_stereotypesModel;
350
355 qreal m_resolution;
356
360 typedef QMap<UMLFolder*, QList<QDomNode>> DiagramsMap;
361 DiagramsMap m_diagramsToLoad;
362
363 public slots:
364 void slotRemoveUMLObject(UMLObject*o);
365 void slotAutoSave();
366 void slotDiagramPopupMenu(QWidget* umlview, const QPoint& point);
367
368 signals:
369 void sigDiagramCreated(Uml::ID::Type id);
370 void sigDiagramRemoved(Uml::ID::Type id);
371 void sigDiagramRenamed(Uml::ID::Type t);
372 void sigDiagramChanged(Uml::DiagramType::Enum);
373
374 void sigObjectCreated(UMLObject *);
375 void sigObjectRemoved(UMLObject *);
376
380 void sigResetStatusbarProgress();
381
387 void sigSetStatusbarProgressSteps(int totalSteps);
388
394 void sigSetStatusbarProgress(int stepPosition);
395
399 void sigWriteToStatusBar(const QString &text);
400
405 void sigCurrentViewChanged();
406
407 };
408
409 #endif // UMLDOC_H
UMLDoc::setImporting
void setImporting(bool state=true)
Definition: umldoc.cpp:1598
UMLPackage::removeAllObjects
virtual void removeAllObjects()
Definition: package.cpp:249
UMLObject::id
virtual Uml::ID::Type id() const
Definition: umlobject.cpp:425
umllistviewpopupmenu.h
UMLEntity
Non-graphical Information for an Entity.
Definition: entity.h:35
UMLApp::currentView
UMLView * currentView() const
Definition: uml.cpp:3166
UMLDoc::objectsModel
ObjectsModel * objectsModel()
Definition: umldoc.cpp:2599
UMLDoc::m_diagramsToLoad
DiagramsMap m_diagramsToLoad
Definition: umldoc.h:361
Uml::DiagramType::UseCase
@ UseCase
Definition: basictypes.h:82
DiagramsModel
Definition: diagramsmodel.h:26
datatype.h
UMLObject::asUMLClassifier
UMLClassifier * asUMLClassifier()
Definition: umlobject.cpp:1309
Uml::ModelType::Enum
Enum
Definition: basictypes.h:41
template.h
DEBUG_REGISTER
#define DEBUG_REGISTER(src)
Definition: debug_utils.h:131
UMLDoc::findUMLClassifier
UMLClassifier * findUMLClassifier(const QString &name)
Definition: umldoc.cpp:1166
UMLDoc::m_nViewID
Uml::ID::Type m_nViewID
Definition: umldoc.h:328
umlpackagelist.h
UMLDoc::setName
void setName(const QString &name)
Definition: umldoc.cpp:1999
stereotypesmodel.h
UMLObject::asUMLEnumLiteral
UMLEnumLiteral * asUMLEnumLiteral()
Definition: umlobject.cpp:1317
UMLDoc::url
const KUrl & url() const
Definition: umldoc.cpp:331
UMLDoc::UMLDoc
UMLDoc()
Definition: umldoc.cpp:109
UMLApp::setModified
void setModified(bool _m)
Definition: uml.cpp:1916
DiagramsModel::addDiagram
bool addDiagram(UMLView *view)
Definition: diagramsmodel.cpp:98
UMLApp::setCurrentView
void setCurrentView(UMLView *view, bool updateTreeView=true)
Definition: uml.cpp:3106
Uml::CmdRenameUMLObject
Definition: cmdrenameumlobject.h:21
UMLObject::ObjectType
ObjectType
Definition: umlobject.h:80
Uml::DiagramType::Component
@ Component
Definition: basictypes.h:87
UMLDoc::m_root
UMLFolder * m_root[Uml::ModelType::N_MODELTYPES]
Definition: umldoc.h:274
UMLApp::setDiagramMenuItemsState
void setDiagramMenuItemsState(bool bState)
Definition: uml.cpp:2646
UMLDoc::loadExtensionsFromXMI1
void loadExtensionsFromXMI1(QDomNode &node)
Definition: umldoc.cpp:2818
UMLDoc::datatypeFolder
UMLFolder * datatypeFolder() const
Definition: umldoc.cpp:2988
UMLDoc::addDefaultDatatypes
void addDefaultDatatypes()
Definition: umldoc.cpp:3470
Uml::ProgrammingLanguage::Enum
Enum
Definition: basictypes.h:271
UMLDoc::Private::parent
UMLDoc * parent
Definition: umldoc.cpp:100
Settings::GeneralState::tabdiagrams
bool tabdiagrams
Definition: optionstate.h:57
UMLPackage::containedObjects
UMLObjectList containedObjects(bool includeInactive=false)
Definition: package.cpp:266
UMLObject::ot_CheckConstraint
@ ot_CheckConstraint
Definition: umlobject.h:107
UMLDoc::associations
UMLAssociationList associations()
Definition: umldoc.cpp:3060
UMLDoc::assignNewIDs
bool assignNewIDs(UMLObject *obj)
Definition: umldoc.cpp:3164
docwindow.h
Model_Utils::convert_DT_MT
Uml::ModelType::Enum convert_DT_MT(Uml::DiagramType::Enum dt)
Definition: model_utils.cpp:1414
UMLObject::asUMLOperation
UMLOperation * asUMLOperation()
Definition: umlobject.cpp:1324
UMLObject::name
QString name() const
Definition: umlobject.cpp:211
UMLObject::asUMLClassifierListItem
UMLClassifierListItem * asUMLClassifierListItem()
Definition: umlobject.cpp:1310
UMLObject::asUMLEntityConstraint
UMLEntityConstraint * asUMLEntityConstraint()
Definition: umlobject.cpp:1315
UMLDoc::findAssociation
UMLAssociation * findAssociation(Uml::AssociationType::Enum assocType, const UMLObject *roleAObj, const UMLObject *roleBObj, bool *swap=0)
Definition: umldoc.cpp:1429
UMLDoc::views
UMLViewList views(Uml::DiagramType::Enum type=Uml::DiagramType::Undefined)
Definition: umldoc.cpp:3120
UMLDoc::m_datatypeRoot
UMLFolder * m_datatypeRoot
Definition: umldoc.h:280
umlview.h
UMLDoc::removeDatatype
void removeDatatype(const QString &name)
Definition: umldoc.cpp:3508
stereotype.h
UMLCanvasObject::getAssociations
UMLAssociationList getAssociations()
Definition: umlcanvasobject.cpp:329
UMLCanvasObject
Non-graphical information for a UMLCanvasObject.
Definition: umlcanvasobject.h:34
UMLDoc::sigDiagramRemoved
void sigDiagramRemoved(Uml::ID::Type id)
Definition: moc_umldoc.cpp:308
UMLEntityList
QList< UMLEntity * > UMLEntityList
Definition: umlentitylist.h:17
UMLObject::ot_Association
@ ot_Association
Definition: umlobject.h:91
UMLApp::logWindow
QListWidget * logWindow() const
Definition: uml.cpp:1905
UMLDatatype::setActive
void setActive(bool active=true)
Definition: datatype.cpp:73
entity.h
UMLDoc::m_bClosing
bool m_bClosing
Definition: umldoc.h:345
UMLListViewItem::ListViewType
ListViewType
Definition: umllistviewitem.h:43
objectsmodel.h
UMLDoc::~UMLDoc
~UMLDoc()
Definition: umldoc.cpp:194
UMLListViewItem::lvt_EntityRelationship_Diagram
@ lvt_EntityRelationship_Diagram
Definition: umllistviewitem.h:81
UMLListViewItem::umlObject
UMLObject * umlObject() const
Definition: umllistviewitem.cpp:312
UMLClassifier::getFilteredList
virtual UMLClassifierListItemList getFilteredList(UMLObject::ObjectType ot) const
Definition: classifier.cpp:998
UMLObject::asUMLAttribute
UMLAttribute * asUMLAttribute()
Definition: umlobject.cpp:1305
UMLListViewItem::lvt_Collaboration_Diagram
@ lvt_Collaboration_Diagram
Definition: umllistviewitem.h:53
UMLObject::ot_ForeignKeyConstraint
@ ot_ForeignKeyConstraint
Definition: umlobject.h:106
UMLDatatype
Non-graphical information for a Datatype.
Definition: datatype.h:26
UMLEntity::removeConstraint
bool removeConstraint(UMLEntityConstraint *constr)
Definition: entity.cpp:599
Object_Factory::createUMLObject
UMLObject * createUMLObject(UMLObject::ObjectType type, const QString &n, UMLPackage *parentPkg, bool solicitNewName)
Definition: object_factory.cpp:203
UMLDoc::removeUMLObject
void removeUMLObject(UMLObject *umlobject, bool deleteObject=false)
Definition: umldoc.cpp:1883
UMLDoc::slotDiagramPopupMenu
void slotDiagramPopupMenu(QWidget *umlview, const QPoint &point)
Definition: umldoc.cpp:3526
UMLDoc::createUMLAssociation
UMLAssociation * createUMLAssociation(UMLObject *a, UMLObject *b, Uml::AssociationType::Enum type)
Definition: umldoc.cpp:1463
UMLListViewItem
Items used by UMLListView.
Definition: umllistviewitem.h:40
UMLObject::ot_Class
@ ot_Class
Definition: umlobject.h:89
operation.h
UMLDoc::saveDocument
bool saveDocument(const KUrl &url, const char *format=0)
Definition: umldoc.cpp:776
UMLScene::endPartialWidgetPaste
void endPartialWidgetPaste()
Definition: umlscene.cpp:2214
UMLDoc::m_bTypesAreResolved
bool m_bTypesAreResolved
Definition: umldoc.h:333
UMLStereotype::saveToXMI1
void saveToXMI1(QDomDocument &qDoc, QDomElement &qElement)
Definition: stereotype.cpp:98
UMLDoc::stereotypesModel
StereotypesModel * stereotypesModel()
Definition: umldoc.cpp:2609
UMLDoc::validateXMI1Header
bool validateXMI1Header(QDomNode &headerNode)
Definition: umldoc.cpp:2620
Uml::DiagramType::State
@ State
Definition: basictypes.h:85
UMLFolder::setViewOptions
void setViewOptions(const Settings::OptionState &optionState)
Definition: folder.cpp:214
Uml::ID::None
const Type None
special value for uninitialized ID
Definition: basictypes.h:353
UMLDoc::removeDiagram
void removeDiagram(Uml::ID::Type id)
Definition: umldoc.cpp:1803
UMLDoc::setupSignals
void setupSignals()
Definition: umldoc.cpp:993
UMLListViewItem::type
ListViewType type() const
Definition: umllistviewitem.cpp:234
UMLDoc::loadDiagramsFromXMI1
bool loadDiagramsFromXMI1(QDomNode &node)
Definition: umldoc.cpp:2897
Uml::RoleType::A
@ A
Definition: basictypes.h:239
UMLObject::setID
virtual void setID(Uml::ID::Type NewID)
Definition: umlobject.cpp:183
Uml::ProgrammingLanguage::Reserved
@ Reserved
Definition: basictypes.h:292
UMLDoc::addUMLObject
bool addUMLObject(UMLObject *object)
Definition: umldoc.cpp:1180
UMLDoc::m_Name
QString m_Name
name of this model as stored in the <UML:Model> tag
Definition: umldoc.h:291
Uml::ModelType::Logical
@ Logical
Definition: basictypes.h:42
UMLDoc::sigSetStatusbarProgress
void sigSetStatusbarProgress(int stepPosition)
Definition: moc_umldoc.cpp:356
Model_Utils::findUMLObject
UMLObject * findUMLObject(const UMLObjectList &inList, const QString &inName, UMLObject::ObjectType type, UMLObject *currentObj)
Definition: model_utils.cpp:152
UMLObject::ot_Attribute
@ ot_Attribute
Definition: umlobject.h:92
UMLDoc::rootFolder
UMLFolder * rootFolder(Uml::ModelType::Enum mt)
Definition: umldoc.cpp:3205
Uml::ModelType::fromInt
Enum fromInt(int item)
Definition: basictypes.cpp:88
Uml::DiagramType::Enum
Enum
Definition: basictypes.h:77
UMLDoc::dpiScale
qreal dpiScale() const
Definition: umldoc.cpp:2038
UMLDoc::m_doc_url
KUrl m_doc_url
Definition: umldoc.h:298
object_factory.h
UMLDoc::newDocument
bool newDocument()
Definition: umldoc.cpp:455
Uml::DiagramType::Collaboration
@ Collaboration
Definition: basictypes.h:84
UMLObject::ot_Interface
@ ot_Interface
Definition: umlobject.h:86
UMLListViewItem::lvt_UseCase_Diagram
@ lvt_UseCase_Diagram
Definition: umllistviewitem.h:52
UMLListView::clean
void clean()
Definition: umllistview.cpp:1479
Uml::ID::toString
QString toString(const ID::Type &id)
Definition: basictypes.cpp:1263
UMLDoc::print
void print(QPrinter *pPrinter, DiagramPrintPage *selectPage)
Definition: umldoc.cpp:3079
association.h
UMLObject::umlParent
UMLObject * umlParent() const
Definition: umlobject.cpp:671
cmds.h
DocWindow::updateDocumentation
void updateDocumentation(bool clear=false, bool startup=false)
Definition: docwindow.cpp:273
worktoolbar.h
UMLObject::umlPackage
UMLPackage * umlPackage() const
Definition: umlobject.cpp:646
UMLDoc::loadDiagrams1
bool loadDiagrams1()
Definition: umldoc.cpp:2564
UMLStereotypeList
QList< UMLStereotype * > UMLStereotypeList
Definition: umlstereotypelist.h:17
UMLListViewItem::lvt_Activity_Diagram
@ lvt_Activity_Diagram
Definition: umllistviewitem.h:56
UMLListViewItem::lvt_Sequence_Diagram
@ lvt_Sequence_Diagram
Definition: umllistviewitem.h:57
UMLFolder::loadDiagramsFromXMI1
bool loadDiagramsFromXMI1(QDomNode &node)
Definition: folder.cpp:380
UMLClassifierList
QList< UMLClassifier * > UMLClassifierList
Definition: umlclassifierlist.h:17
UMLFolder::appendViews
void appendViews(UMLViewList &viewList, bool includeNested=true)
Definition: folder.cpp:107
UMLObject::asUMLAssociation
UMLAssociation * asUMLAssociation()
Definition: umlobject.cpp:1304
Dialog_Utils::askName
bool askName(const QString &title, const QString &prompt, QString &name)
Definition: dialog_utils.cpp:97
StereotypesModel
Definition: stereotypesmodel.h:25
UMLFolder::addView
void addView(UMLView *view)
Definition: folder.cpp:88
UMLDoc::stereotypes
const UMLStereotypeList & stereotypes() const
Definition: umldoc.cpp:1387
version.h
UMLDoc::Private
Definition: umldoc.cpp:98
UMLDoc::loadUMLObjectsFromXMI1
bool loadUMLObjectsFromXMI1(QDomElement &element)
Definition: umldoc.cpp:2643
UMLApp::slotFileSaveAs
bool slotFileSaveAs()
Definition: uml.cpp:1365
UMLStereotype::name
QString name(bool includeAdornments=false) const
Definition: stereotype.cpp:147
Settings::GeneralState::diagram
Uml::DiagramType::Enum diagram
Definition: optionstate.h:67
Uml::ID::Type
std::string Type
Definition: basictypes.h:351
Model_Utils::typeIsContainer
bool typeIsContainer(UMLListViewItem::ListViewType type)
Definition: model_utils.cpp:1232
UniqueID::set
void set(Uml::ID::Type id)
Definition: uniqueid.cpp:53
UMLApp::slotUpdateViews
void slotUpdateViews()
Definition: uml.cpp:2665
UMLScene::slotMenuSelection
void slotMenuSelection(QAction *action)
Definition: umlscene.cpp:2988
UMLPackage::appendClassifiers
void appendClassifiers(UMLClassifierList &classifiers, bool includeNested=true)
Definition: package.cpp:350
UMLDoc::renameChildUMLObject
void renameChildUMLObject(UMLObject *o)
Definition: umldoc.cpp:1740
Settings::OptionState::generalState
GeneralState generalState
Definition: optionstate.h:326
UMLDoc::init
void init()
Definition: umldoc.cpp:144
UMLDoc::Private::Private
Private(UMLDoc *p)
Definition: umldoc.cpp:103
UMLDoc::saveToXMI1
virtual void saveToXMI1(QIODevice &file)
Definition: umldoc.cpp:2064
Import_Argo::loadFromZArgoFile
static bool loadFromZArgoFile(QIODevice &file, UMLPackage *parentPkg=0)
Definition: import_argo.cpp:140
UMLScene::setFolder
void setFolder(UMLFolder *folder)
Definition: umlscene.cpp:340
UMLObject::ot_UMLObject
@ ot_UMLObject
Definition: umlobject.h:82
model_utils.h
UMLDoc::m_modelID
Uml::ID::Type m_modelID
xmi.id of this model in the <UML:Model>
Definition: umldoc.h:292
UMLDoc::createDatatype
void createDatatype(const QString &name)
Definition: umldoc.cpp:3489
UMLDoc::removeDiagramCmd
void removeDiagramCmd(Uml::ID::Type id)
Definition: umldoc.cpp:1827
Uml::DiagramType::EntityRelationship
@ EntityRelationship
Definition: basictypes.h:89
UMLObject
The base class for UML objects.
Definition: umlobject.h:74
Model_Utils::findUMLObjectRecursive
UMLObject * findUMLObjectRecursive(const UMLObjectList &inList, const QString &name, UMLObject::ObjectType type)
Definition: model_utils.cpp:360
UMLDoc::activateAllViews
void activateAllViews()
Definition: umldoc.cpp:3347
UMLDoc::loading
bool loading() const
Definition: umldoc.cpp:1572
UMLDoc::sigDiagramCreated
void sigDiagramCreated(Uml::ID::Type id)
Definition: moc_umldoc.cpp:301
UMLObject::asUMLEnum
UMLEnum * asUMLEnum()
Definition: umlobject.cpp:1316
UMLListViewItem::lvt_Component_Diagram
@ lvt_Component_Diagram
Definition: umllistviewitem.h:66
UMLDoc::isUnique
bool isUnique(const QString &name)
Definition: umldoc.cpp:1234
UMLDoc::createDiagramName
QString createDiagramName(Uml::DiagramType::Enum type, bool askForName=true)
Definition: umldoc.cpp:1619
ObjectsModel
Definition: objectsmodel.h:21
UMLObject::baseType
ObjectType baseType() const
Definition: umlobject.cpp:397
entityconstraint.h
UMLObject::asUMLDatatype
UMLDatatype * asUMLDatatype()
Definition: umlobject.cpp:1312
UMLDoc::settingsChanged
void settingsChanged(Settings::OptionState &optionState)
Definition: umldoc.cpp:3363
UMLListViewPopupMenu
Definition: umllistviewpopupmenu.h:17
optionstate.h
Uml::ModelType::toString
QString toString(Enum item)
Definition: basictypes.cpp:47
UMLDoc::setMainViewID
void setMainViewID(Uml::ID::Type viewID)
Definition: umldoc.cpp:2808
DiagramPrintPage
A print dialog page.
Definition: diagramprintpage.h:38
UMLClassifier::removeAttribute
int removeAttribute(UMLAttribute *att)
Definition: classifier.cpp:893
UMLEntity::removeEntityAttribute
int removeEntityAttribute(UMLClassifierListItem *att)
Definition: entity.cpp:373
Settings::optionState
OptionState & optionState()
Definition: optionstate.cpp:362
CodeGenerator::loadFromXMI1
virtual void loadFromXMI1(QDomElement &element)
Definition: codegenerator.cpp:178
UMLObject::asUMLFolder
UMLFolder * asUMLFolder()
Definition: umlobject.cpp:1318
UMLPackage::appendPackages
void appendPackages(UMLPackageList &packages, bool includeNested=true)
Definition: package.cpp:327
UMLObject::ot_EnumLiteral
@ ot_EnumLiteral
Definition: umlobject.h:94
UMLDoc::signalUMLObjectCreated
void signalUMLObjectCreated(UMLObject *o)
Definition: umldoc.cpp:1985
UMLObject::asUMLEntity
UMLEntity * asUMLEntity()
Definition: umlobject.cpp:1313
UMLDoc::m_pCurrentRoot
UMLFolder * m_pCurrentRoot
Definition: umldoc.h:340
UMLDoc::closing
bool closing() const
Definition: umldoc.cpp:1607
UMLApp::enableUndoAction
void enableUndoAction(bool enable)
Definition: uml.cpp:2160
UMLDoc::findOrCreateStereotype
UMLStereotype * findOrCreateStereotype(const QString &name)
Definition: umldoc.cpp:1327
UMLPackage::appendEntities
void appendEntities(UMLEntityList &entities, bool includeNested=true)
Definition: package.cpp:374
UMLStereotype
Sets up stereotype information.
Definition: stereotype.h:41
UMLCanvasObject::hasAssociation
bool hasAssociation(UMLAssociation *assoc)
Definition: umlcanvasobject.cpp:101
UMLDoc::endPaste
void endPaste()
Definition: umldoc.cpp:3257
Uml::ID::fromString
ID::Type fromString(const QString &id)
Definition: basictypes.cpp:1268
UMLDoc::removeAllViews
void removeAllViews()
Definition: umldoc.cpp:2948
UMLFolder::findView
UMLView * findView(Uml::ID::Type id)
Definition: folder.cpp:155
UMLDoc::removeAllObjects
void removeAllObjects()
Definition: umldoc.cpp:2962
umlentitylist.h
UMLObject::ot_Stereotype
@ ot_Stereotype
Definition: umlobject.h:99
UMLListView::init
void init()
Definition: umllistview.cpp:1427
IDChangeLog
Definition: idchangelog.h:27
UMLDoc::changeCurrentView
void changeCurrentView(Uml::ID::Type id)
Definition: umldoc.cpp:1776
UMLObject::asUMLStereotype
UMLStereotype * asUMLStereotype()
Definition: umlobject.cpp:1328
UMLDoc::m_stereotypesModel
StereotypesModel * m_stereotypesModel
Definition: umldoc.h:349
classifierlistitem.h
Settings::GeneralState::autosave
bool autosave
Definition: optionstate.h:62
UMLView
Definition: umlview.h:35
UMLDoc::removeStereotype
void removeStereotype(UMLStereotype *s)
Definition: umldoc.cpp:1364
UMLDoc::documentation
QString documentation() const
Definition: umldoc.cpp:3286
StereotypesModel::removeStereotype
bool removeStereotype(UMLStereotype *stereotype)
Definition: stereotypesmodel.cpp:101
Uml::ModelType::EntityRelationship
@ EntityRelationship
Definition: basictypes.h:46
uniqueid.h
UMLApp
Definition: uml.h:100
UMLDoc::slotRemoveUMLObject
void slotRemoveUMLObject(UMLObject *o)
Definition: umldoc.cpp:1217
UMLObject::asUMLCanvasObject
UMLCanvasObject * asUMLCanvasObject()
Definition: umlobject.cpp:1306
UMLApp::setGenerator
void setGenerator(CodeGenerator *gen, bool giveWarning=true)
UMLDoc::findObjectById
UMLObject * findObjectById(Uml::ID::Type id)
Definition: umldoc.cpp:1038
UMLApp::docWindow
DocWindow * docWindow() const
Definition: uml.cpp:1895
umlviewlist.h
DiagramPrintPage::printUmlCount
int printUmlCount()
Definition: diagramprintpage.cpp:119
UMLView::show
void show()
Definition: umlview.cpp:117
attribute.h
UniqueID::get
Uml::ID::Type get()
Definition: uniqueid.cpp:45
UMLApp::tabWidget
KTabWidget * tabWidget()
Definition: uml.cpp:3361
Uml::ProgrammingLanguage::fromString
Enum fromString(const QString &item)
Definition: basictypes.cpp:925
UMLScene::print
void print(QPrinter *pPrinter, QPainter &pPainter)
Definition: umlscene.cpp:669
UMLDoc::diagramsModel
DiagramsModel * diagramsModel()
Definition: umldoc.cpp:2594
UMLApp::listView
UMLListView * listView() const
Definition: uml.cpp:1074
a
QString a
Definition: petalnode.cpp:18
UMLFolder::setLocalName
void setLocalName(const QString &localName)
Definition: folder.cpp:71
umlstereotypelist.h
uWarning
#define uWarning()
Definition: debug_utils.h:124
UMLPackage::appendClassesAndInterfaces
void appendClassesAndInterfaces(UMLClassifierList &classifiers, bool includeNested=true)
Definition: package.cpp:398
UMLScene::type
Uml::DiagramType::Enum type() const
Definition: umlscene.cpp:426
UMLDoc::addAssociation
void addAssociation(UMLAssociation *assoc)
Definition: umldoc.cpp:1481
UMLListViewItem::lvt_Unknown
@ lvt_Unknown
Definition: umllistviewitem.h:108
UMLDoc::setLoading
void setLoading(bool state=true)
Definition: umldoc.cpp:1581
DocWindow
Definition: docwindow.h:30
UMLPackage::findObjectById
UMLObject * findObjectById(Uml::ID::Type id)
Definition: package.cpp:314
UMLDoc::createDiagram
UMLView * createDiagram(UMLFolder *folder, Uml::DiagramType::Enum type, const QString &name, Uml::ID::Type id=Uml::ID::None)
Definition: umldoc.cpp:1648
UMLApp::generator
CodeGenerator * generator() const
Definition: uml.cpp:2351
UMLDoc::setUrl
void setUrl(const KUrl &url)
Definition: umldoc.cpp:317
UMLEnum::removeEnumLiteral
int removeEnumLiteral(UMLEnumLiteral *literal)
Definition: enum.cpp:205
folder.h
UMLClassifier::removeOperation
int removeOperation(UMLOperation *op)
Definition: classifier.cpp:370
i18n
#define i18n
Definition: main.cpp:39
UMLListView::closeDatatypesFolder
void closeDatatypesFolder()
Definition: umllistview.cpp:2743
UMLPackage::removeObject
void removeObject(UMLObject *pObject)
Definition: package.cpp:210
umlclassifierlist.h
IDChangeLog::addIDChange
void addIDChange(Uml::ID::Type OldID, Uml::ID::Type NewID)
Definition: idchangelog.cpp:88
ENC_WINDOWS
#define ENC_WINDOWS
Definition: umldoc.h:42
UMLScene::setType
void setType(Uml::DiagramType::Enum type)
Definition: umlscene.cpp:434
UMLDoc::initSaveTimer
void initSaveTimer()
Definition: umldoc.cpp:3374
DiagramPrintPage::printUmlDiagram
QString printUmlDiagram(int sel)
Definition: diagramprintpage.cpp:130
UMLDoc::encoding
short encoding(QIODevice &file)
Definition: umldoc.cpp:2213
UMLPackage::resolveRef
virtual bool resolveRef()
Definition: package.cpp:422
UMLApp::enablePrint
void enablePrint(bool enable)
Definition: uml.cpp:1944
UMLListViewItem::lvt_Deployment_Diagram
@ lvt_Deployment_Diagram
Definition: umllistviewitem.h:72
UMLDoc::Private::errors
QStringList errors
holds loading errors
Definition: umldoc.cpp:101
Uml::CmdRemoveDiagram
Definition: cmdremovediagram.h:24
UMLObject::ot_Datatype
@ ot_Datatype
Definition: umlobject.h:87
Model_Utils::isCommonXMI1Attribute
bool isCommonXMI1Attribute(const QString &tag)
Definition: model_utils.cpp:761
DiagramsModel::removeDiagram
bool removeDiagram(UMLView *view)
Definition: diagramsmodel.cpp:109
UMLDoc::writeToStatusBar
void writeToStatusBar(const QString &text)
Definition: umldoc.cpp:1208
UMLDoc::findUMLObjectRaw
UMLObject * findUMLObjectRaw(Uml::ModelType::Enum, const QString &name, UMLObject::ObjectType type=UMLObject::ot_UMLObject)
Definition: umldoc.cpp:1099
UMLDoc::createDatatypeFolder
void createDatatypeFolder()
Definition: umldoc.cpp:181
UMLDoc::setLoadingError
void setLoadingError(const QString &text)
Definition: umldoc.cpp:2604
UMLObject::ot_EntityAttribute
@ ot_EntityAttribute
Definition: umlobject.h:102
basictypes.h
UMLFolder::saveToXMI1
void saveToXMI1(QDomDocument &qDoc, QDomElement &qElement)
Definition: folder.cpp:323
diagramsmodel.h
uDebug
#define uDebug()
Definition: debug_utils.h:122
UMLDoc::m_stereoList
UMLStereotypeList m_stereoList
Definition: umldoc.h:289
UMLDoc::createStereotype
UMLStereotype * createStereotype(const QString &name)
Definition: umldoc.cpp:1299
UMLApp::workToolBar
WorkToolBar * workToolBar() const
Definition: uml.cpp:1885
v
std::vector< std::string > v
Definition: cxx11-initializer-lists.h:19
Uml::RoleType::B
@ B
Definition: basictypes.h:240
WorkToolBar
The toolbar that is different for each type of diagram.
Definition: worktoolbar.h:41
UMLDoc::openDocument
bool openDocument(const KUrl &url, const char *format=0)
Definition: umldoc.cpp:498
Uml::DiagramType::toString
QString toString(Enum item)
Definition: basictypes.cpp:168
ENC_OLD_ENC
#define ENC_OLD_ENC
Definition: umldoc.h:43
UMLObject::ot_UniqueConstraint
@ ot_UniqueConstraint
Definition: umlobject.h:105
Settings::GeneralState::autosavetime
int autosavetime
Definition: optionstate.h:64
Uml::AssociationType::Enum
Enum
Definition: basictypes.h:106
MyProject\connect
connect()
Definition: namespaces-multiple.php:5
umllistview.h
UMLDoc::assignNewID
Uml::ID::Type assignNewID(Uml::ID::Type oldID)
Definition: umldoc.cpp:3272
import_rose.h
UMLDoc::sigObjectRemoved
void sigObjectRemoved(UMLObject *)
Definition: moc_umldoc.cpp:336
UMLDoc::m_Doc
QString m_Doc
Definition: umldoc.h:318
UMLApp::initGenerator
void initGenerator()
Definition: uml.cpp:2918
UMLDoc::sigResetStatusbarProgress
void sigResetStatusbarProgress()
Definition: moc_umldoc.cpp:343
UMLPackage::findObject
UMLObject * findObject(const QString &name)
Definition: package.cpp:292
UMLApp::app
static UMLApp * app()
Definition: uml.cpp:278
UMLDoc::name
QString name() const
Definition: umldoc.cpp:2007
UMLDoc::datatypes
UMLClassifierList datatypes(bool includeInactive=false)
Definition: umldoc.cpp:3042
UMLDoc
Definition: umldoc.h:75
XMI_FILE_VERSION
#define XMI_FILE_VERSION
Definition: version.h:35
UMLCanvasObject::subordinates
UMLObjectList & subordinates() const
Definition: umlcanvasobject.h:80
UMLDoc::renameDiagram
void renameDiagram(Uml::ID::Type id)
Definition: umldoc.cpp:1680
UMLDoc::setModified
void setModified(bool modified=true)
Definition: umldoc.cpp:3136
UMLDoc::classesAndInterfaces
UMLClassifierList classesAndInterfaces(bool includeNested=true)
Definition: umldoc.cpp:3014
UMLDoc::m_pChangeLog
IDChangeLog * m_pChangeLog
Definition: umldoc.h:303
UMLDoc::renameUMLObject
void renameUMLObject(UMLObject *o)
Definition: umldoc.cpp:1712
UMLDoc::slotAutoSave
void slotAutoSave()
Definition: umldoc.cpp:3394
UMLFolder
Non-graphical management of objects and diagrams of a Folder.
Definition: folder.h:35
UMLCanvasObject::findChildObject
virtual UMLObject * findChildObject(const QString &n, UMLObject::ObjectType t=UMLObject::ot_UMLObject)
Definition: umlcanvasobject.cpp:238
CodeGenerator::saveToXMI1
virtual void saveToXMI1(QDomDocument &doc, QDomElement &root)
Definition: codegenerator.cpp:245
Import_Rose::loadFromMDL
UMLPackage * loadFromMDL(QFile &file, UMLPackage *parentPkg)
Definition: import_rose.cpp:397
Uml
Definition: basictypes.cpp:37
UMLPackageList
QList< UMLPackage * > UMLPackageList
Definition: umlpackagelist.h:17
Uml::DiagramType::Sequence
@ Sequence
Definition: basictypes.h:83
UMLDoc::setUrlUntitled
void setUrlUntitled()
Definition: umldoc.cpp:340
StereotypesModel::addStereotype
bool addStereotype(UMLStereotype *stereotype)
Definition: stereotypesmodel.cpp:90
Model_Utils::findUMLObjectRaw
UMLObject * findUMLObjectRaw(const UMLObjectList &inList, const QString &name, UMLObject::ObjectType type, UMLObject *currentObj)
Definition: model_utils.cpp:334
UniqueID::gen
Uml::ID::Type gen()
Definition: uniqueid.cpp:26
UMLDoc::tagEq
static bool tagEq(const QString &tag, const QString &pattern)
Definition: umldoc.cpp:3582
UMLDoc::sigSetStatusbarProgressSteps
void sigSetStatusbarProgressSteps(int totalSteps)
Definition: moc_umldoc.cpp:349
UMLListView::setTitle
void setTitle(int column, const QString &text)
Definition: umllistview.cpp:159
umllistviewitem.h
UMLDoc::currentRoot
UMLFolder * currentRoot()
Definition: umldoc.cpp:1846
UMLObject::setDoc
void setDoc(const QString &d)
Definition: umlobject.cpp:455
UMLDoc::setCurrentRoot
void setCurrentRoot(Uml::ModelType::Enum rootType)
Definition: umldoc.cpp:1870
ENC_UNICODE
#define ENC_UNICODE
Definition: umldoc.h:41
UMLDoc::addView
void addView(UMLView *view)
Definition: umldoc.cpp:225
UMLFolder::activateViews
void activateViews()
Definition: folder.cpp:128
UMLClassifierListItemList
Definition: umlclassifierlistitemlist.h:27
Uml::ModelType::N_MODELTYPES
@ N_MODELTYPES
Definition: basictypes.h:47
DocWindow::showDocumentation
void showDocumentation(UMLObject *object, bool overwrite=false)
Definition: docwindow.cpp:130
UMLFolder::removeView
void removeView(UMLView *view)
Definition: folder.cpp:96
UMLDoc::m_importing
bool m_importing
Definition: umldoc.h:313
Settings::OptionState
Definition: optionstate.h:314
UMLScene::setIsOpen
void setIsOpen(bool isOpen)
Definition: umlscene.cpp:661
pi
int * pi
Definition: cxx11-null-pointer-constant.h:5
UMLDoc::resolution
qreal resolution() const
Definition: umldoc.cpp:2028
Uml::DiagramType::Class
@ Class
Definition: basictypes.h:81
UMLDoc::findUMLObject
UMLObject * findUMLObject(const QString &name, UMLObject::ObjectType type=UMLObject::ot_UMLObject, UMLObject *currentObj=0)
Definition: umldoc.cpp:1067
Settings::GeneralState::autosavesuffix
QString autosavesuffix
Text input field for suffix of autosave.
Definition: optionstate.h:65
UMLDoc::addStereotype
void addStereotype(UMLStereotype *s)
Definition: umldoc.cpp:1354
UMLObject::asUMLTemplate
UMLTemplate * asUMLTemplate()
Definition: umlobject.cpp:1329
DEBUG
#define DEBUG(src)
Definition: debug_utils.h:129
classifier.h
UMLScene::setName
void setName(const QString &name)
Definition: umlscene.cpp:418
UMLDoc::m_resolution
qreal m_resolution
Definition: umldoc.h:355
uError
#define uError()
Definition: debug_utils.h:123
UMLDoc::sigWriteToStatusBar
void sigWriteToStatusBar(const QString &text)
Definition: moc_umldoc.cpp:363
Uml::DiagramType::Object
@ Object
Definition: basictypes.h:90
UMLObject::loadFromXMI1
virtual bool loadFromXMI1(QDomElement &element)
Definition: umlobject.cpp:955
UMLDoc::m_diagramsModel
DiagramsModel * m_diagramsModel
Definition: umldoc.h:347
umlscene.h
uml.h
ENC_UNKNOWN
#define ENC_UNKNOWN
Definition: umldoc.h:40
UMLDoc::changeLog
virtual IDChangeLog * changeLog()
Definition: umldoc.cpp:3236
UMLObject::baseTypeStr
QLatin1String baseTypeStr() const
Definition: umlobject.cpp:405
enumliteral.h
UMLObject::setUMLPackage
bool setUMLPackage(UMLPackage *pPkg)
Definition: umlobject.cpp:616
Object_Factory::makeObjectFromXMI
UMLObject * makeObjectFromXMI(const QString &xmiTag, const QString &stereoID)
Definition: object_factory.cpp:374
CodeGenerator::defaultDatatypes
virtual QStringList defaultDatatypes()
Definition: codegenerator.cpp:784
UMLClassifier
Information for a non-graphical Concept/Class.
Definition: classifier.h:40
debug_utils.h
umlassociationlist.h
UMLAssociation
Sets up association information.
Definition: association.h:33
UMLDoc::loadFromXMI1
virtual bool loadFromXMI1(QIODevice &file, short encode=ENC_UNKNOWN)
Definition: umldoc.cpp:2315
UMLListView::saveToXMI1
void saveToXMI1(QDomDocument &qDoc, QDomElement &qElement)
Definition: umllistview.cpp:2407
UMLDoc::findStereotypeById
UMLStereotype * findStereotypeById(Uml::ID::Type id)
Definition: umldoc.cpp:1341
UMLScene::name
QString name() const
Definition: umlscene.cpp:410
UMLDoc::sigCurrentViewChanged
void sigCurrentViewChanged()
Definition: moc_umldoc.cpp:370
UMLDoc::addDiagramToLoad
void addDiagramToLoad(UMLFolder *folder, QDomNode node)
Definition: umldoc.cpp:2586
UMLDoc::setDocumentation
void setDocumentation(const QString &doc)
Definition: umldoc.cpp:3296
UMLObject::isUMLDatatype
bool isUMLDatatype()
Definition: umlobject.h:206
UMLScene
Definition: umlscene.h:69
DBG_SRC
#define DBG_SRC
Definition: import_utils.cpp:43
UMLScene::folder
UMLFolder * folder() const
Definition: umlscene.cpp:332
UMLDoc::sigObjectCreated
void sigObjectCreated(UMLObject *)
Definition: moc_umldoc.cpp:329
umlobject.h
UMLDoc::findStereotype
UMLStereotype * findStereotype(const QString &name)
Definition: umldoc.cpp:1312
UMLListViewItem::lvt_Class_Diagram
@ lvt_Class_Diagram
Definition: umllistviewitem.h:54
UMLObject::ot_Template
@ ot_Template
Definition: umlobject.h:95
UMLDoc::m_bLoading
bool m_bLoading
Definition: umldoc.h:308
UMLDoc::concepts
UMLClassifierList concepts(bool includeNested=true)
Definition: umldoc.cpp:3000
diagramprintpage.h
UMLDoc::removeAssociation
void removeAssociation(UMLAssociation *assoc, bool doSetModified=true)
Definition: umldoc.cpp:1398
Model_Utils::guessContainer
Uml::ModelType::Enum guessContainer(UMLObject *o)
Definition: model_utils.cpp:831
UMLView::umlScene
UMLScene * umlScene() const
Definition: umlview.cpp:56
Uml::DiagramType::Undefined
@ Undefined
Definition: basictypes.h:80
UMLObject::setUMLStereotype
void setUMLStereotype(UMLStereotype *stereo)
Definition: umlobject.cpp:501
UMLFolder::removeAllViews
void removeAllViews()
Definition: folder.cpp:225
UMLPackage::addObject
bool addObject(UMLObject *pObject, bool interactOnConflict=true)
Definition: package.cpp:135
codegenerator.h
UMLDoc::importing
bool importing() const
Definition: umldoc.cpp:1590
idchangelog.h
UMLObject::asUMLPackage
UMLPackage * asUMLPackage()
Definition: umlobject.cpp:1325
UMLListView
Displays the list view for the program.
Definition: umllistview.h:47
b
bool b
Definition: cxx11-null-pointer-constant.h:6
UMLDoc::m_count
int m_count
auxiliary counter for the progress bar
Definition: umldoc.h:293
uIgnoreZeroPointer
#define uIgnoreZeroPointer(a)
Definition: debug_utils.h:134
Uml::DiagramType::Activity
@ Activity
Definition: basictypes.h:86
UMLScene::loadUISDiagram
bool loadUISDiagram(QDomElement &qElement)
Definition: umlscene.cpp:4168
UMLObject::ot_Operation
@ ot_Operation
Definition: umlobject.h:93
UMLDoc::isModified
bool isModified()
Definition: umldoc.cpp:3151
CodeGenerator
Definition: codegenerator.h:57
DocWindow::reset
void reset()
Definition: docwindow.cpp:309
UMLDoc::DiagramsMap
QMap< UMLFolder *, QList< QDomNode > > DiagramsMap
Definition: umldoc.h:360
UMLListViewItem::lvt_State_Diagram
@ lvt_State_Diagram
Definition: umllistviewitem.h:55
UMLScene::setOptionState
void setOptionState(const Settings::OptionState &options)
Definition: umlscene.cpp:579
UMLDoc::m_objectsModel
ObjectsModel * m_objectsModel
Definition: umldoc.h:348
dialog_utils.h
umlobjectlist.h
import_argo.h
package.h
UMLScene::ID
Uml::ID::Type ID() const
Definition: umlscene.cpp:442
UMLDoc::removeView
void removeView(UMLView *view, bool enforceOneView=true)
Definition: umldoc.cpp:264
UMLDoc::packages
UMLPackageList packages(bool includeNested=true, Uml::ModelType::Enum model=Uml::ModelType::Logical)
Definition: umldoc.cpp:2976
UMLScene::loadFromXMI1
virtual bool loadFromXMI1(QDomElement &qElement)
Definition: umlscene.cpp:3828
UMLDoc::viewIterator
UMLViewList viewIterator()
Definition: umldoc.cpp:3105
UMLDoc::addUMLView
bool addUMLView(UMLView *pView)
Definition: umldoc.cpp:3311
UMLDoc::setResolution
void setResolution(qreal resolution)
Definition: umldoc.cpp:2017
UMLDoc::closeDocument
void closeDocument()
Definition: umldoc.cpp:403
umbrelloVersion
QByteArray umbrelloVersion()
Definition: version.h:18
UMLOperationList
QList< UMLOperation * > UMLOperationList
Definition: umloperationlist.h:18
UMLDoc::uniqueViewName
QString uniqueViewName(const Uml::DiagramType::Enum type)
Definition: umldoc.cpp:1523
UMLApp::executeCommand
void executeCommand(QUndoCommand *cmd)
Definition: uml.cpp:3438
UMLObject::ot_Folder
@ ot_Folder
Definition: umlobject.h:103
Uml::DiagramType::Deployment
@ Deployment
Definition: basictypes.h:88
UMLViewList
QList< QPointer< UMLView > > UMLViewList
Definition: umlviewlist.h:26
Model_Utils::rootPackage
UMLPackage * rootPackage(UMLObject *obj)
Definition: model_utils.cpp:380
UMLDoc::findUMLObjectRecursive
UMLObject * findUMLObjectRecursive(Uml::ModelType::Enum, const QString &name, UMLObject::ObjectType type=UMLObject::ot_UMLObject)
Definition: umldoc.cpp:1134
UMLObjectList
Definition: umlobjectlist.h:29
UMLDoc::signalDiagramRenamed
void signalDiagramRenamed(UMLView *view)
Definition: umldoc.cpp:3453
UMLDoc::rootFolderType
Uml::ModelType::Enum rootFolderType(UMLObject *obj)
Definition: umldoc.cpp:3220
UMLClassifierListItem
A base class for classifier list items (e.g. attributes)
Definition: classifierlistitem.h:30
UMLEnum
Non-graphical Information for an Enum.
Definition: enum.h:29
UMLDoc::m_modified
bool m_modified
Definition: umldoc.h:294
UMLObject::isUMLStereotype
bool isUMLStereotype()
Definition: umlobject.h:222
UMLDoc::addDefaultStereotypes
void addDefaultStereotypes()
Definition: umldoc.cpp:1374
UMLAssociationList
QList< UMLAssociation * > UMLAssociationList
Definition: umlassociationlist.h:18
UMLDoc::findView
UMLView * findView(Uml::ID::Type id)
Definition: umldoc.cpp:1005
UMLApp::document
UMLDoc * document() const
Definition: uml.cpp:1064
UMLScene::activateAfterLoad
void activateAfterLoad(bool bUseLog=false)
Definition: umlscene.cpp:2186
umldoc.h
UMLDoc::sigDiagramRenamed
void sigDiagramRenamed(Uml::ID::Type t)
Definition: moc_umldoc.cpp:315
UMLDoc::entities
UMLEntityList entities(bool includeNested=true)
Definition: umldoc.cpp:3028
UMLDoc::saveModified
bool saveModified()
Definition: umldoc.cpp:355
UMLClassifier::removeTemplate
int removeTemplate(UMLTemplate *umltemplate)
Definition: classifier.cpp:1102
Dialog_Utils::askDeleteDiagram
bool askDeleteDiagram(const QString &name)
Definition: dialog_utils.cpp:131
UMLDoc::m_d
Private * m_d
Definition: umldoc.h:268
UMLDoc::resolveTypes
void resolveTypes()
Definition: umldoc.cpp:2538
UMLApp::clearUndoStack
void clearUndoStack()
Definition: uml.cpp:3381
UMLScene::setID
void setID(Uml::ID::Type id)
Definition: umlscene.cpp:450
UMLDoc::beginPaste
void beginPaste()
Definition: umldoc.cpp:3245
UMLDoc::modelID
Uml::ID::Type modelID() const
Definition: umldoc.cpp:2052
UMLDoc::sigDiagramChanged
void sigDiagramChanged(Uml::DiagramType::Enum)
Definition: moc_umldoc.cpp:322
UMLDoc::m_pAutoSaveTimer
QTimer * m_pAutoSaveTimer
Definition: umldoc.h:323
UMLPackage
Non-graphical information for a Package.
Definition: package.h:33
enum.h