[Uml-devel] kdesdk/umbrello/umbrello

Luis De la Parra Blum lparrab at gmx.net
Tue Mar 4 17:41:11 UTC 2003


CVS commit by luis: 

Just realized the code commited did not compile.
No idea how that was working on my copy (i DID test it before commiting)..
anyways, it should be ok now.


  M +6 -5      uml.cpp   1.22


--- kdesdk/umbrello/umbrello/uml.cpp  #1.21:1.22
@@ -22,4 +22,5 @@
 #include "dialogs/diagramprintpage.h"
 #include "dialogs/selectlanguagesdlg.h"
+#include "diagram/diagramview.h"
 #include <kaction.h>
 #include <kapplication.h>
@@ -751,13 +752,13 @@ void UMLApp::UcreateDiagram()
         const QObject *o = sender();
              if(o == UclassDiagram )
-                t = Diagram::Class;
+                t = Diagram::ClassDiagram;
         else if( o == UuseCaseDiagram)
-                t = Diagram::UseCase;
+                t = Diagram::UseCaseDiagram;
         else if( o ==  UcollaborationDiagram)
-                t = Diagram::Collaboration;
+                t = Diagram::CollaborationDiagram;
         else if( o == UactivityDiagram )
-                t = Diagram::Activity;
+                t = Diagram::ActivityDiagram;
         else if( o == UsequenceDiagram )
-                t = Diagram::Sequence;
+                t = Diagram::SequenceDiagram;
 Umbrello::Diagram *d =  
         getDocument()->UcreateDiagram( t, "FIXME ask for name here" );






More information about the umbrello-devel mailing list