[Uml-devel] kdesdk/umbrello/umbrello

Luis De la Parra Blum lparrab at gmx.net
Sun Mar 9 10:37:07 UTC 2003


CVS commit by luis: 

Emit modified signal when setting some attributes


  M +4 -0      umlobject.cpp   1.4


--- kdesdk/umbrello/umbrello/umlobject.cpp  #1.3:1.4
@@ -82,8 +82,10 @@ bool UMLObject::serialize(QDataStream *s
 void UMLObject::setID(int NewID) {
         m_nId = NewID;
+        emit modified();
 }
 ////////////////////////////////////////////////////////////////////////////////////////////////////
 void UMLObject::setName(QString strName) {
         m_Name = strName;
+        emit modified();
 }
 ////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -181,4 +183,5 @@ bool UMLObject::getAbstract() {
 void UMLObject::setAbstract(bool bAbstract) {
         m_bAbstract = bAbstract;
+        emit modified();
 }
 
@@ -227,4 +230,5 @@ void UMLObject::setStatic(const bool bSt
 {
         m_bStatic = bStatic;
+        emit modified();
 }
 #include "umlobject.moc"






More information about the umbrello-devel mailing list