diff options
Diffstat (limited to 'umbrello/umbrello/autolayout/autolayouteradapter.cpp')
-rw-r--r-- | umbrello/umbrello/autolayout/autolayouteradapter.cpp | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/umbrello/umbrello/autolayout/autolayouteradapter.cpp b/umbrello/umbrello/autolayout/autolayouteradapter.cpp index 0bba19c7..3a245cbc 100644 --- a/umbrello/umbrello/autolayout/autolayouteradapter.cpp +++ b/umbrello/umbrello/autolayout/autolayouteradapter.cpp @@ -9,21 +9,21 @@ * * ***************************************************************************/ -#include "autotqlayouteradapter.h" +#include "autolayouteradapter.h" namespace Autotqlayout { - AutotqlayouterAdapter::AutotqlayouterAdapter() - : Autotqlayout::Autotqlayouter() + AutolayouterAdapter::AutolayouterAdapter() + : Autotqlayout::Autolayouter() {} - AutotqlayouterAdapter::~AutotqlayouterAdapter() + AutolayouterAdapter::~AutolayouterAdapter() {}} -void Autotqlayout::AutotqlayouterAdapter::addRelationship( AssociationWidget * a ) +void Autotqlayout::AutolayouterAdapter::addRelationship( AssociationWidget * a ) { int weight; switch (a->getAssocType()) @@ -71,57 +71,57 @@ void Autotqlayout::AutotqlayouterAdapter::addRelationship( AssociationWidget * a getGraph()->addEdge(a->getWidgetID(Uml::A).c_str(),a->getWidgetID(Uml::B).c_str(),weight); } -void Autotqlayout::AutotqlayouterAdapter::setAssociationWeight( int i ) +void Autotqlayout::AutolayouterAdapter::setAssociationWeight( int i ) { associationWeight=i; } -void Autotqlayout::AutotqlayouterAdapter::setDependenciesWeight( int i ) +void Autotqlayout::AutolayouterAdapter::setDependenciesWeight( int i ) { dependenciesWeight=i; } -void Autotqlayout::AutotqlayouterAdapter::setGeneralizationWeight( int i ) +void Autotqlayout::AutolayouterAdapter::setGeneralizationWeight( int i ) { generalizationWeight=i; } -void Autotqlayout::AutotqlayouterAdapter::setGeneralizationAsEdges( bool b ) +void Autotqlayout::AutolayouterAdapter::setGeneralizationAsEdges( bool b ) { genralizationAsEdges=b; } -void Autotqlayout::AutotqlayouterAdapter::setDependenciesAsEdges( bool b ) +void Autotqlayout::AutolayouterAdapter::setDependenciesAsEdges( bool b ) { dependenciesAsEdges=b; } -void Autotqlayout::AutotqlayouterAdapter::setAssociationAsEdges( bool b ) +void Autotqlayout::AutolayouterAdapter::setAssociationAsEdges( bool b ) { associationAsEdges=b; } -void Autotqlayout::AutotqlayouterAdapter::setCompressShapes( bool b ) +void Autotqlayout::AutolayouterAdapter::setCompressShapes( bool b ) { compressShapes=b; } -void Autotqlayout::AutotqlayouterAdapter::setCenterDiagram( bool b ) +void Autotqlayout::AutolayouterAdapter::setCenterDiagram( bool b ) { centerDiagram=b; } -void Autotqlayout::AutotqlayouterAdapter::setClusterizeHierarchies( bool b ) +void Autotqlayout::AutolayouterAdapter::setClusterizeHierarchies( bool b ) { clusterizeHierarchies=b; } -void Autotqlayout::AutotqlayouterAdapter::setShapeSeparation( int i ) +void Autotqlayout::AutolayouterAdapter::setShapeSeparation( int i ) { tqshapeSeparation=i; } -Autotqlayout::Graph * Autotqlayout::AutotqlayouterAdapter::setGraph( UMLView * view ) +Autotqlayout::Graph * Autotqlayout::AutolayouterAdapter::setGraph( UMLView * view ) { if (! view) return 0; Autotqlayout::Graph * g=getGraph(); @@ -151,7 +151,7 @@ Autotqlayout::Graph * Autotqlayout::AutotqlayouterAdapter::setGraph( UMLView * return g; } -void Autotqlayout::AutotqlayouterAdapter::updateView( UMLView* view ) +void Autotqlayout::AutolayouterAdapter::updateView( UMLView* view ) { if (! view) return ; UMLWidgetList list = view->getWidgetList(); @@ -175,17 +175,17 @@ UMLWidgetList list = view->getWidgetList(); } } -Autotqlayout::Canvas * Autotqlayout::AutotqlayouterAdapter::setCanvas( UMLView* view ) +Autotqlayout::Canvas * Autotqlayout::AutolayouterAdapter::setCanvas( UMLView* view ) { return canvas=new Autotqlayout::SimpleCanvas(view->getCanvasWidth(),view->getCanvasHeight()); } -void Autotqlayout::AutotqlayouterAdapter::setNoteConnectionWeight( int i ) +void Autotqlayout::AutolayouterAdapter::setNoteConnectionWeight( int i ) { noteConnectionWeight=i; } -void Autotqlayout::AutotqlayouterAdapter::setNoteConnectionsAsEdges( bool b ) +void Autotqlayout::AutolayouterAdapter::setNoteConnectionsAsEdges( bool b ) { noteConnectionAsEdges=b; } |