[Uml-devel] kdesdk/umbrello/umbrello/dialogs
Jonathan Riddell
jri at jriddell.org
Tue Feb 25 04:57:10 UTC 2003
CVS commit by jriddell:
Patch from Jens Kruger to fix a label when used for Packages
M +8 -3 classgenpage.cpp 1.6
--- kdesdk/umbrello/umbrello/dialogs/classgenpage.cpp #1.5:1.6
@@ -24,10 +24,15 @@ ClassGenPage::ClassGenPage(UMLDoc *d, QW
Uml::UMLObject_Type t = o -> getBaseType();
m_pUmldoc = d;
- if(t == Uml::ot_Concept)
+ if (t == Uml::ot_Concept) {
name = i18n("Class name:");
- else if(t == Uml::ot_Actor)
+ } else if (t == Uml::ot_Actor) {
name = i18n("Actor name:");
- else
+ } else if (t == Uml::ot_Package) {
+ name = i18n("Package name:");
+ } else if (t == Uml::ot_UseCase) {
name = i18n("Use case name:");
+ } else {
+ kdWarning() << "creating class gen page for unknown widget type" << endl;
+ }
setMinimumSize(310,330);
QVBoxLayout * topLayout = new QVBoxLayout(this);
More information about the umbrello-devel
mailing list