[Uml-devel] KDE/kdesdk/umbrello/umbrello

Sharan Rao sharanrao at gmail.com
Sat Apr 21 19:02:03 UTC 2007


SVN commit 656576 by sharan:

List of changes
 * removed unnecessary signal slot connection from worktoolbar.cpp and aligntoolbar.cpp
 * added option to start with an Entity Relationship Diagram in Settings Dialog



 M  +2 -2      aligntoolbar.cpp  
 M  +2 -2      dialogs/settingsdlg.cpp  
 M  +2 -2      worktoolbar.cpp  


--- trunk/KDE/kdesdk/umbrello/umbrello/aligntoolbar.cpp #656575:656576
@@ -61,8 +61,8 @@
 //     Removed for KDE4
 //     setVerticalStretchable( true );
 
-    // gets called whenever a button in the toolbar is clicked
-    connect( this, SIGNAL( released( int ) ), this, SLOT( slotButtonChanged (int ) ) );
+   
+   
 }
 
 AlignToolBar::~AlignToolBar() {
--- trunk/KDE/kdesdk/umbrello/umbrello/dialogs/settingsdlg.cpp #656575:656576
@@ -211,10 +211,10 @@
                             i18n("Use Case Diagram"), i18n("Sequence Diagram"),
                             i18n("Collaboration Diagram"), i18n("State Diagram"),
                             i18n("Activity Diagram"), i18n("Component Diagram"),
-                            i18n("Deployment Diagram") };
+                            i18n("Deployment Diagram"), i18n("Entity Relationship Diagram") };
 
     //start at 1 because we don't allow No Diagram any more
-    for (int i=1; i<9; i++) {
+    for (int i=1; i<10; i++) {
         insertDiagram( diagrams[i] );
     }
 
--- trunk/KDE/kdesdk/umbrello/umbrello/worktoolbar.cpp #656575:656576
@@ -45,11 +45,11 @@
     m_map.insert(Uml::dt_Undefined,tbb_Arrow);
 
     slotCheckToolBar( Uml::dt_Undefined );
-    connect( this, SIGNAL( released( int ) ), this, SLOT( buttonChanged (int ) ) );
+    
 }
 
 WorkToolBar::~WorkToolBar() {
-    disconnect(this, SIGNAL(released(int)),this,SLOT(buttonChanged(int)));
+
 }
 
 QAction* WorkToolBar::insertHotBtn(ToolBar_Buttons tbb) {




More information about the umbrello-devel mailing list