[Uml-devel] kdesdk/umbrello/umbrello

Oliver Kellogg okellogg at users.sourceforge.net
Fri Mar 25 15:00:12 UTC 2005


CVS commit by okellogg: 

setMessageText(): Turn into slot.
This enables propagation of operation renaming in the list view
to the messages in collaboration diagrams.


  M +3 -0      floatingtext.cpp   1.74
  M +7 -6      floatingtext.h   1.29


--- kdesdk/umbrello/umbrello/floatingtext.cpp  #1.73:1.74
@@ -427,2 +427,5 @@ void FloatingText::setMessageText() {
 }
 
+
+#include "floatingtext.moc"
+

--- kdesdk/umbrello/umbrello/floatingtext.h  #1.28:1.29
@@ -38,4 +38,5 @@ class UMLView;
 
 class FloatingText : public UMLWidget {
+        Q_OBJECT
 public:
         /** sometimes the x/y values get numbers of <0 and >10000 - which is
@@ -106,10 +107,4 @@ public:
 
         /**
-         * Sets the text for this label if it is acting as a sequence
-         * diagram message or a collaboration diagram message.
-         */
-        void setMessageText();
-
-        /**
          * Return the operation that is displayed.
          *
@@ -259,4 +254,10 @@ public slots:
         void slotMenuSelection(int sel);        
 
+        /**
+         * Sets the text for this label if it is acting as a sequence
+         * diagram message or a collaboration diagram message.
+         */
+        void setMessageText();
+
 private:
         /**






More information about the umbrello-devel mailing list