diff options
Diffstat (limited to 'umbrello/umbrello/autolayout/autolayoutdlg.cpp')
-rw-r--r-- | umbrello/umbrello/autolayout/autolayoutdlg.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/umbrello/umbrello/autolayout/autolayoutdlg.cpp b/umbrello/umbrello/autolayout/autolayoutdlg.cpp index 6b6196d4..fb76d4f8 100644 --- a/umbrello/umbrello/autolayout/autolayoutdlg.cpp +++ b/umbrello/umbrello/autolayout/autolayoutdlg.cpp @@ -99,10 +99,10 @@ void AutolayoutDlg::slotSaveSettings() } -void AutolayoutDlg::slotDoAutotqlayout() +void AutolayoutDlg::slotDoAutolayout() { - Autotqlayout::Autolayouter* a=getAutolayouter();; + Autolayout::Autolayouter* a=getAutolayouter();; a->setAssociationAsEdges( associationAsEdges); a->setAssociationWeight( associationWeight ); @@ -116,7 +116,7 @@ void AutolayoutDlg::slotDoAutotqlayout() a->setNoteConnectionWeight( 1); a->setNoteConnectionsAsEdges(true); a->setShapeSeparation( shapeSeparation); - a->autotqlayout( view); + a->autolayout( view); delete a; a=0; accept(); @@ -165,18 +165,18 @@ void AutolayoutDlg::slotSelectAlgorithm( const TQString& _algname) } -Autotqlayout::Autolayouter * AutolayoutDlg::getAutolayouter( ) +Autolayout::Autolayouter * AutolayoutDlg::getAutolayouter( ) { const TQString text = algorithmCOB->currentText(); - kDebug() << "Autotqlayout Algorithm " << algname << " found " << text << endl; + kDebug() << "Autolayout Algorithm " << algname << " found " << text << endl; if (text == "dot") - return new Autotqlayout::DotAutolayouter(); + return new Autolayout::DotAutolayouter(); if (text == "circo") - return new Autotqlayout::CircoAutolayouter(); + return new Autolayout::CircoAutolayouter(); if (text == "neato") - return new Autotqlayout::NeatoAutolayouter(); - kError() << "Autotqlayout Algorithm not found" << endl; - return new Autotqlayout::DotAutolayouter(); + return new Autolayout::NeatoAutolayouter(); + kError() << "Autolayout Algorithm not found" << endl; + return new Autolayout::DotAutolayouter(); } |