[Uml-devel] kdesdk/umbrello/umbrello

Luis De la Parra Blum lparrab at gmx.net
Sun Oct 12 16:29:02 UTC 2003


CVS commit by luis: 

Code cleanup:
- Remove unnecesary, duplicated constructors
   * Use default values in cases where there was a Widget( View*, Type )
     and a Widget( View* ) constructor
   * For all Widgets that represent Modell-objects ( ClassWidget, ActorWidget, InterfaceWidget, etc ) remove the constructor of the form Widget( View * )
   --> It should not be possible to create such a widget without an object for it to show.  Change the load function in UMLView to first fetch the object from the doc and then create the widgets, instead of creating the widgets and then set the object
   * Make destructors virtual -> all polymorphic classes should have virtual destructors
   * make "init()" functions private - they are only to be called from within the constructor


  M +2 -7      activitywidget.cpp   1.14
  M +4 -10     activitywidget.h   1.5
  M +4 -7      actorwidget.cpp   1.6
  M +6 -9      actorwidget.h   1.7
  M +5 -9      artifactwidget.cpp   1.8
  M +10 -17    artifactwidget.h   1.8
  M +1 -4      boxwidget.cpp   1.6
  M +7 -14     boxwidget.h   1.6
  M +2 -7      classwidget.cpp   1.14
  M +17 -23    classwidget.h   1.9
  M +2 -7      componentwidget.cpp   1.11
  M +10 -17    componentwidget.h   1.6
  M +4 -7      datatypewidget.cpp   1.3
  M +8 -16     datatypewidget.h   1.2
  M +1 -5      floatingtext.cpp   1.27
  M +17 -24    floatingtext.h   1.12
  M +11 -23    interfacewidget.cpp   1.13
  M +9 -17     interfacewidget.h   1.8
  M +7 -17     nodewidget.cpp   1.12
  M +9 -17     nodewidget.h   1.6
  M +1 -5      notewidget.cpp   1.14
  M +11 -18    notewidget.h   1.9
  M +3 -5      objectwidget.cpp   1.29
  M +26 -33    objectwidget.h   1.13
  M +2 -6      packagewidget.cpp   1.9
  M +9 -16     packagewidget.h   1.6
  M +0 -7      statewidget.cpp   1.14
  M +3 -10     statewidget.h   1.5
  M +85 -54    umlview.cpp   1.102
  M +10 -12    umlwidget.cpp   1.58
  M +1 -8      umlwidget.h   1.20
  M +4 -7      usecasewidget.cpp   1.5
  M +5 -11     usecasewidget.h   1.5







More information about the umbrello-devel mailing list