summaryrefslogtreecommitdiffstats
path: root/plugins/stats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:06:13 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:06:13 -0600
commit0d48fca8ae41ab963c780104fdeca45d7dad0a51 (patch)
tree5dd61af9cef2b3ab1c6d4d24082df3ea3146a007 /plugins/stats
parentbb37c4052a9edfff2196984cef241b1ce2df7bb3 (diff)
downloadktorrent-0d48fca8ae41ab963c780104fdeca45d7dad0a51.tar.gz
ktorrent-0d48fca8ae41ab963c780104fdeca45d7dad0a51.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'plugins/stats')
-rw-r--r--plugins/stats/StatsCon.cc12
-rw-r--r--plugins/stats/StatsSpd.cc18
-rw-r--r--plugins/stats/sprefwgt.ui20
-rw-r--r--plugins/stats/statsconwgt.ui2
-rw-r--r--plugins/stats/statsspdwgt.ui2
5 files changed, 27 insertions, 27 deletions
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 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout2</cstring>
+ <cstring>layout2</cstring>
</property>
<hbox>
<property name="name">
@@ -78,7 +78,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout4</cstring>
+ <cstring>layout4</cstring>
</property>
<hbox>
<property name="name">
@@ -140,7 +140,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout11</cstring>
+ <cstring>layout11</cstring>
</property>
<hbox>
<property name="name">
@@ -197,7 +197,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout3</cstring>
+ <cstring>layout3</cstring>
</property>
<hbox>
<property name="name">
@@ -275,7 +275,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout7</cstring>
+ <cstring>layout7</cstring>
</property>
<hbox>
<property name="name">
@@ -314,7 +314,7 @@
</property>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
- <cstring>tqlayout5</cstring>
+ <cstring>layout5</cstring>
</property>
<hbox>
<property name="name">
@@ -346,7 +346,7 @@
</widget>
<widget class="TQLayoutWidget" row="1" column="0">
<property name="name">
- <cstring>tqlayout5_2</cstring>
+ <cstring>layout5_2</cstring>
</property>
<hbox>
<property name="name">
@@ -378,7 +378,7 @@
</widget>
<widget class="TQLayoutWidget" row="2" column="0">
<property name="name">
- <cstring>tqlayout5_3</cstring>
+ <cstring>layout5_3</cstring>
</property>
<hbox>
<property name="name">
@@ -410,7 +410,7 @@
</widget>
<widget class="TQLayoutWidget" row="0" column="1">
<property name="name">
- <cstring>tqlayout5_5</cstring>
+ <cstring>layout5_5</cstring>
</property>
<hbox>
<property name="name">
@@ -442,7 +442,7 @@
</widget>
<widget class="TQLayoutWidget" row="1" column="1">
<property name="name">
- <cstring>tqlayout5_4</cstring>
+ <cstring>layout5_4</cstring>
</property>
<hbox>
<property name="name">
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 @@
</property>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
- <cstring>tqlayout3</cstring>
+ <cstring>layout3</cstring>
</property>
<hbox>
<property name="name">
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 @@
</property>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
- <cstring>tqlayout5</cstring>
+ <cstring>layout5</cstring>
</property>
<hbox>
<property name="name">