[Uml-devel] KDE_3_4_BRANCH: kdesdk/umbrello/umbrello
Oliver Kellogg
okellogg at users.sourceforge.net
Wed Apr 27 21:44:27 UTC 2005
CVS commit by okellogg:
Backport following fix from HEAD:
> {set,get}Name(): Revert the change of umlview.h:1.66 and umlview.cpp:1.198,
> it spoiled non-latin1 diagram names.
> Thanks to Andre Woebbeking <Woebbeking_AT_onlinehome.de> for spotting the
> problem.
M +2 -2 umlview.cpp 1.207.2.6
M +5 -0 umlview.h 1.72.2.3
--- kdesdk/umbrello/umbrello/umlview.cpp #1.207.2.5:1.207.2.6
@@ -215,9 +215,9 @@ UMLView::~UMLView() {
QString UMLView::getName() const {
- return QString( QObject::name() );
+ return m_Name;
}
void UMLView::setName(const QString &name) {
- QObject::setName( name.latin1() );
+ m_Name = name;
}
--- kdesdk/umbrello/umbrello/umlview.h #1.72.2.2:1.72.2.3
@@ -986,4 +986,9 @@ protected:
/**
+ * The name of the diagram.
+ */
+ QString m_Name;
+
+ /**
* The documentation of the diagram.
*/
More information about the umbrello-devel
mailing list