diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:23:31 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:23:31 -0600 |
commit | 36b1e019b76f39cca8fc81f6d4df544f1c94c179 (patch) | |
tree | 3ca2f4886d1a2810b952164dd1b0f3e92ef6bf3a /umbrello/umbrello/autolayout/autolayoutdlg.cpp | |
parent | f78838f2f736acc2b235d8b680f3379a07a6d372 (diff) | |
download | tdesdk-36b1e019b76f39cca8fc81f6d4df544f1c94c179.tar.gz tdesdk-36b1e019b76f39cca8fc81f6d4df544f1c94c179.zip |
Rename obsolete tq methods to standard names
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(); } |