From 0d48fca8ae41ab963c780104fdeca45d7dad0a51 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 21 Dec 2011 14:06:13 -0600 Subject: Rename obsolete tq methods to standard names --- plugins/stats/StatsCon.cc | 12 ++++++------ plugins/stats/StatsSpd.cc | 18 +++++++++--------- plugins/stats/sprefwgt.ui | 20 ++++++++++---------- plugins/stats/statsconwgt.ui | 2 +- plugins/stats/statsspdwgt.ui | 2 +- 5 files changed, 27 insertions(+), 27 deletions(-) (limited to 'plugins/stats') diff --git a/plugins/stats/StatsCon.cc b/plugins/stats/StatsCon.cc index 548b38a..568005d 100644 --- a/plugins/stats/StatsCon.cc +++ b/plugins/stats/StatsCon.cc @@ -26,16 +26,16 @@ StatsCon::StatsCon(TQWidget * p) : StatsConWgt(p), pmPeersConCht(new ChartDrawe pmDHTCht(new ChartDrawer(DHTGbw, StatsPluginSettings::dHTMeasurements())) { PeersConGbw->setColumnLayout(0, Qt::Vertical ); - PeersConGbw->tqlayout()->setSpacing( 6 ); - PeersConGbw->tqlayout()->setMargin( 11 ); + PeersConGbw->layout()->setSpacing( 6 ); + PeersConGbw->layout()->setMargin( 11 ); - pmPeersConLay = new TQVBoxLayout(PeersConGbw -> tqlayout()); + pmPeersConLay = new TQVBoxLayout(PeersConGbw -> layout()); DHTGbw->setColumnLayout(0, Qt::Vertical ); - DHTGbw->tqlayout()->setSpacing( 6 ); - DHTGbw->tqlayout()->setMargin( 11 ); + DHTGbw->layout()->setSpacing( 6 ); + DHTGbw->layout()->setMargin( 11 ); - pmDHTLay = new TQVBoxLayout(DHTGbw -> tqlayout()); + pmDHTLay = new TQVBoxLayout(DHTGbw -> layout()); //------------- diff --git a/plugins/stats/StatsSpd.cc b/plugins/stats/StatsSpd.cc index 0ea427a..c8cb157 100644 --- a/plugins/stats/StatsSpd.cc +++ b/plugins/stats/StatsSpd.cc @@ -29,22 +29,22 @@ StatsSpd::StatsSpd(TQWidget *p) : StatsSpdWgt(p), { DownSpeedGbw->setColumnLayout(0, Qt::Vertical ); - DownSpeedGbw->tqlayout()->setSpacing( 6 ); - DownSpeedGbw->tqlayout()->setMargin( 11 ); + DownSpeedGbw->layout()->setSpacing( 6 ); + DownSpeedGbw->layout()->setMargin( 11 ); - pmDSpdLay = new TQVBoxLayout(DownSpeedGbw -> tqlayout()); + pmDSpdLay = new TQVBoxLayout(DownSpeedGbw -> layout()); UpSpeedGbw->setColumnLayout(0, Qt::Vertical ); - UpSpeedGbw->tqlayout()->setSpacing( 6 ); - UpSpeedGbw->tqlayout()->setMargin( 11 ); + UpSpeedGbw->layout()->setSpacing( 6 ); + UpSpeedGbw->layout()->setMargin( 11 ); - pmUSpdLay = new TQVBoxLayout(UpSpeedGbw -> tqlayout()); + pmUSpdLay = new TQVBoxLayout(UpSpeedGbw -> layout()); PeersSpdGbw->setColumnLayout(0, Qt::Vertical ); - PeersSpdGbw->tqlayout()->setSpacing( 6 ); - PeersSpdGbw->tqlayout()->setMargin( 11 ); + PeersSpdGbw->layout()->setSpacing( 6 ); + PeersSpdGbw->layout()->setMargin( 11 ); - pmPeersSpdLay = new TQVBoxLayout(PeersSpdGbw -> tqlayout()); + pmPeersSpdLay = new TQVBoxLayout(PeersSpdGbw -> layout()); //----------------- diff --git a/plugins/stats/sprefwgt.ui b/plugins/stats/sprefwgt.ui index 0ad1c7f..b6ce139 100644 --- a/plugins/stats/sprefwgt.ui +++ b/plugins/stats/sprefwgt.ui @@ -32,7 +32,7 @@ - tqlayout2 + layout2 @@ -78,7 +78,7 @@ - tqlayout4 + layout4 @@ -140,7 +140,7 @@ - tqlayout11 + layout11 @@ -197,7 +197,7 @@ - tqlayout3 + layout3 @@ -275,7 +275,7 @@ - tqlayout7 + layout7 @@ -314,7 +314,7 @@ - tqlayout5 + layout5 @@ -346,7 +346,7 @@ - tqlayout5_2 + layout5_2 @@ -378,7 +378,7 @@ - tqlayout5_3 + layout5_3 @@ -410,7 +410,7 @@ - tqlayout5_5 + layout5_5 @@ -442,7 +442,7 @@ - tqlayout5_4 + layout5_4 diff --git a/plugins/stats/statsconwgt.ui b/plugins/stats/statsconwgt.ui index c76e6eb..3565a3c 100644 --- a/plugins/stats/statsconwgt.ui +++ b/plugins/stats/statsconwgt.ui @@ -18,7 +18,7 @@ - tqlayout3 + layout3 diff --git a/plugins/stats/statsspdwgt.ui b/plugins/stats/statsspdwgt.ui index 25a3cd8..b04e19a 100644 --- a/plugins/stats/statsspdwgt.ui +++ b/plugins/stats/statsspdwgt.ui @@ -18,7 +18,7 @@ - tqlayout5 + layout5 -- cgit v1.2.1