[Uml-devel] KDE/kdesdk/umbrello/umbrello
Andi Fischer
andi.fischer at hispeed.ch
Mon Jun 27 22:00:20 UTC 2011
SVN commit 1238536 by fischer:
Using directive is not needed anymore.
M +3 -5 umldoc.cpp
--- trunk/KDE/kdesdk/umbrello/umbrello/umldoc.cpp #1238535:1238536
@@ -78,8 +78,6 @@
// Update this version when changing the XMI file format
#define XMI_FILE_VERSION "1.5.8"
-using namespace Uml;
-
/**
* Constructor for the fileclass of the application.
*/
@@ -146,7 +144,7 @@
m_datatypeRoot->setLocalName(i18n("Datatypes"));
m_datatypeRoot->setUMLPackage(m_root[Uml::ModelType::Logical]);
Q_ASSERT(m_root[ModelType::Logical]);
- m_root[ModelType::Logical]->addObject(m_datatypeRoot);
+ m_root[Uml::ModelType::Logical]->addObject(m_datatypeRoot);
}
/**
@@ -1319,7 +1317,7 @@
KMessageBox::error(0, i18n("That is an invalid name."), i18n("Invalid Name"));
}
else if (isUnique(name)) {
- UMLApp::app()->executeCommand(new CmdRenameUMLObject(o,name));
+ UMLApp::app()->executeCommand(new Uml::CmdRenameUMLObject(o,name));
setModified(true);
break;
} else {
@@ -1357,7 +1355,7 @@
|| ((o->baseType() == UMLObject::ot_Operation) && KMessageBox::warningYesNo(0,
i18n( "The name you entered was not unique.\nIs this what you wanted?" ),
i18n( "Name Not Unique"),KGuiItem(i18n("Use Name")),KGuiItem(i18n("Enter New Name"))) == KMessageBox::Yes) ) {
- UMLApp::app()->executeCommand(new CmdRenameUMLObject(o,name));
+ UMLApp::app()->executeCommand(new Uml::CmdRenameUMLObject(o,name));
setModified(true);
break;
} else {
More information about the umbrello-devel
mailing list