[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdesdk/umbrello/umbrello
From:       Luis De la Parra Blum <lparrab () gmx ! net>
Date:       2003-03-31 23:27:06
[Download RAW message or body]

CVS commit by luis: 

FIXME--
for some reason the refactoringassistant is not linked into the main app unless make
thinks it is used in the main binary...
for now the refactoringassistant is called from the classwidget (test only), this should
be changed, and the one calling it should be the document or the main app, but till that's
that way we need the lib linked.


  M +10 -0     uml.cpp   1.29


--- kdesdk/umbrello/umbrello/uml.cpp  #1.28:1.29
@@ -47,4 +47,7 @@
 #include <qwidgetstack.h>
 
+#include "refactoring/refactoringassistant.h"
+
+
 using Umbrello::Diagram;
 
@@ -103,4 +106,11 @@ UMLApp::UMLApp(QWidget* , const char* na
         connect(zoomSelect,SIGNAL(aboutToShow()),this,SLOT(setupZoomMenu()));
         connect(zoomSelect,SIGNAL(activated(int)),this,SLOT(setZoom(int)));
+
+        //FIXME
+        // for some reason the build system will not link the refactoring into the app unless it
+        // detects its needed. Adding this for now
+        Umbrello::RefactoringAssistant *r = new Umbrello::RefactoringAssistant( doc );
+        delete r;
+        //FIXME
 }
 ////////////////////////////////////////////////////////////////////////////////////////////////////


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic