[Uml-devel] branches/KDE/3.5/kdesdk/umbrello/umbrello
Oliver Kellogg
okellogg at users.sourceforge.net
Sat Feb 17 22:34:47 UTC 2007
SVN commit 634656 by okellogg:
Visibility::fromString(): Recognize mnemonic form.
M +5 -3 umlnamespace.cpp
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/umlnamespace.cpp #634655:634656
@@ -42,12 +42,14 @@
}
Visibility Visibility::fromString(const QString& vis) {
- if (vis == "public")
+ if (vis == "public" || vis == "+")
return Visibility(Public);
- else if (vis == "protected")
+ else if (vis == "protected" || vis == "#")
return Visibility(Protected);
- else if (vis == "private")
+ else if (vis == "private" || vis == "-")
return Visibility(Private);
+ else if (vis == "~")
+ return Visibility(Implementation);
else if (vis == "signals")
return Visibility(Protected);
else if (vis == "class")
More information about the umbrello-devel
mailing list