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

- Main Page
- Related Pages
- Topics
- Namespaces
- Classes
- Files

- File List
- File Members

Namespaces | Macros | Functions
model_utils.cpp File Reference
`#include "model_utils.h"`
`#include "floatingtextwidget.h"`
`#include "debug_utils.h"`
`#include "umlobject.h"`
`#include "umlpackagelist.h"`
`#include "uniqueconstraint.h"`
`#include "package.h"`
`#include "folder.h"`
`#include "classifier.h"`
`#include "enum.h"`
`#include "instance.h"`
`#include "entity.h"`
`#include "template.h"`
`#include "operation.h"`
`#include "attribute.h"`
`#include "association.h"`
`#include "umlrole.h"`
`#include "umldoc.h"`
`#include "uml.h"`
`#include "umllistview.h"`
`#include "umllistviewitem.h"`
`#include "umlscene.h"`
`#include "umlview.h"`
`#include "codegenerator.h"`
`#include <KLocalizedString>`
`#include <QRegExp>`
`#include <QStringList>`

## Namespaces
namespace | Model_Utils

## Macros
#define | DBG_SRC QStringLiteral("Model_Utils")

## Functions
bool | Model_Utils::isCloneable (WidgetBase::WidgetType type)
QString | Model_Utils::normalize (QString type)
UMLObject * | Model_Utils::findObjectInList (Uml::ID::Type id, const UMLObjectList &inList)
UMLObject * | Model_Utils::findUMLObject (const UMLObjectList &inList, const QString &inName, UMLObject::ObjectType type, UMLObject *currentObj)
UMLObject * | Model_Utils::findUMLObjectRaw (const UMLObjectList &inList, const QString &name, UMLObject::ObjectType type, UMLObject *currentObj)
UMLObject * | Model_Utils::findUMLObjectRecursive (const UMLObjectList &inList, const QString &name, UMLObject::ObjectType type)
UMLPackage * | Model_Utils::rootPackage (UMLObject *obj)
void | Model_Utils::treeViewAddViews (const UMLViewList &viewList)
void | Model_Utils::treeViewChangeIcon (UMLObject *object, Icon_Utils::IconType to)
void | Model_Utils::treeViewSetCurrentItem (UMLObject *object)
void | Model_Utils::treeViewMoveObjectTo (UMLObject *container, UMLObject *object)
UMLObject * | Model_Utils::treeViewGetCurrentObject ()
UMLPackage * | Model_Utils::treeViewGetPackageFromCurrent ()
QString | Model_Utils::treeViewBuildDiagramName (Uml::ID::Type id)
QString | Model_Utils::uniqObjectName (UMLObject::ObjectType type, UMLPackage *parentPkg, QString prefix)
QString | Model_Utils::newTitle (UMLObject::ObjectType type)
QString | Model_Utils::newText (UMLObject::ObjectType type)
QString | Model_Utils::renameTitle (UMLObject::ObjectType type)
QString | Model_Utils::renameText (UMLObject::ObjectType type)
QString | Model_Utils::getXmiId (QDomElement element)
QString | Model_Utils::loadCommentFromXMI (QDomElement elem)
bool | Model_Utils::isCommonXMI1Attribute (const QString &tag)
bool | Model_Utils::isCommonDataType (QString type)
bool | Model_Utils::isClassifierListitem (UMLObject::ObjectType type)
Uml::ModelType::Enum | Model_Utils::guessContainer (UMLObject *o)
int | Model_Utils::stringToDirection (QString input, Uml::ParameterDirection::Enum &result)
Parse_Status | Model_Utils::parseTemplate (QString t, NameAndType &nmTp, UMLClassifier *owningScope)
Parse_Status | Model_Utils::parseAttribute (QString a, NameAndType &nmTp, UMLClassifier *owningScope, Uml::Visibility::Enum *vis)
Parse_Status | Model_Utils::parseOperation (QString m, OpDescriptor &desc, UMLClassifier *owningScope)
Parse_Status | Model_Utils::parseConstraint (QString m, QString &name, UMLEntity *owningScope)
QString | Model_Utils::psText (Parse_Status value)
bool | Model_Utils::typeIsRootView (UMLListViewItem::ListViewType type)
bool | Model_Utils::typeIsCanvasWidget (UMLListViewItem::ListViewType type)
bool | Model_Utils::typeIsFolder (UMLListViewItem::ListViewType type)
bool | Model_Utils::typeIsContainer (UMLListViewItem::ListViewType type)
bool | Model_Utils::typeIsClassifierList (UMLListViewItem::ListViewType type)
bool | Model_Utils::typeIsClassifier (UMLListViewItem::ListViewType type)
bool | Model_Utils::typeIsProperties (UMLListViewItem::ListViewType type)
bool | Model_Utils::typeIsAllowedInType (UMLListViewItem::ListViewType childType, UMLListViewItem::ListViewType parentType)
bool | Model_Utils::typeIsDiagram (UMLListViewItem::ListViewType type)
Uml::ModelType::Enum | Model_Utils::convert_DT_MT (Uml::DiagramType::Enum dt)
UMLListViewItem::ListViewType | Model_Utils::convert_MT_LVT (Uml::ModelType::Enum mt)
Uml::ModelType::Enum | Model_Utils::convert_LVT_MT (UMLListViewItem::ListViewType lvt)
UMLListViewItem::ListViewType | Model_Utils::convert_DT_LVT (Uml::DiagramType::Enum dt)
UMLListViewItem::ListViewType | Model_Utils::convert_OT_LVT (UMLObject *o)
UMLObject::ObjectType | Model_Utils::convert_LVT_OT (UMLListViewItem::ListViewType lvt)
Icon_Utils::IconType | Model_Utils::convert_LVT_IT (UMLListViewItem::ListViewType lvt, UMLObject *o)
Uml::DiagramType::Enum | Model_Utils::convert_LVT_DT (UMLListViewItem::ListViewType lvt)
MultiPageDialogBase::PageType | Model_Utils::convert_LVT_PT (UMLListViewItem::ListViewType type)
Uml::ModelType::Enum | Model_Utils::convert_OT_MT (UMLObject::ObjectType ot)
QString | Model_Utils::updateDeleteActionToString (UMLForeignKeyConstraint::UpdateDeleteAction uda)
bool | Model_Utils::typeIsAllowedInDiagram (UMLObject *o, UMLScene *scene)
bool | Model_Utils::typeIsAllowedInDiagram (UMLWidget *w, UMLScene *scene)
bool | Model_Utils::hasAssociations (UMLObject::ObjectType type)

## Macro Definition Documentation

## ◆ DBG_SRC

#define DBG_SRC QStringLiteral("Model_Utils")