[Uml-devel] branches/KDE/3.5/kdesdk/umbrello/umbrello
Oliver Kellogg
okellogg at users.sourceforge.net
Sun Jan 8 06:32:10 UTC 2006
SVN commit 495603 by okellogg:
activeLanguageScopeSeparator(), slotImportClasses(): Add Python.
M +4 -1 uml.cpp
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/uml.cpp #495602:495603
@@ -1334,7 +1334,8 @@
QString UMLApp::activeLanguageScopeSeparator() const {
if (m_activeLanguage == Uml::pl_Ada ||
m_activeLanguage == Uml::pl_Java ||
- m_activeLanguage == Uml::pl_JavaScript) // CHECK: more?
+ m_activeLanguage == Uml::pl_JavaScript ||
+ m_activeLanguage == Uml::pl_Python) // CHECK: more?
return ".";
return "::";
}
@@ -1405,6 +1406,8 @@
QString preselectedExtension;
if (m_activeLanguage == Uml::pl_IDL) {
preselectedExtension = i18n("*.idl|IDL Files (*.idl)");
+ } else if (m_activeLanguage == Uml::pl_Python) {
+ preselectedExtension = i18n("*.py|Python Files (*.py)");
} else if (m_activeLanguage == Uml::pl_Java) {
preselectedExtension = i18n("*.java|Java Files (*.java)");
} else if (m_activeLanguage == Uml::pl_Ada) {
More information about the umbrello-devel
mailing list