summaryrefslogtreecommitdiffstats
path: root/plugins/stats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/stats')
-rw-r--r--plugins/stats/ChartDrawer.cc4
-rw-r--r--plugins/stats/StatsCon.cc12
-rw-r--r--plugins/stats/StatsCon.h2
-rw-r--r--plugins/stats/StatsSpd.cc18
-rw-r--r--plugins/stats/StatsSpd.h2
-rw-r--r--plugins/stats/sprefwgt.ui24
-rw-r--r--plugins/stats/statsconwgt.ui2
-rw-r--r--plugins/stats/statsspdwgt.ui2
8 files changed, 33 insertions, 33 deletions
diff --git a/plugins/stats/ChartDrawer.cc b/plugins/stats/ChartDrawer.cc
index 4c7c1d3..6eb08b4 100644
--- a/plugins/stats/ChartDrawer.cc
+++ b/plugins/stats/ChartDrawer.cc
@@ -416,7 +416,7 @@ void ChartDrawer::MakeLegendTooltip()
{
TQToolTip::remove(this);
- TQString helpstr(TQString("<b>%1:</b><br><br>").tqarg(i18n("Legend")));
+ TQString helpstr(TQString("<b>%1:</b><br><br>").arg(i18n("Legend")));
TQMimeSourceFactory* factory = TQMimeSourceFactory::defaultFactory();
std::vector<TQImage> img;
@@ -434,7 +434,7 @@ void ChartDrawer::MakeLegendTooltip()
}
factory->setImage(mEls[i].GetName().replace(' ', '_') + "-" + TQString::number(i), img[i]);
- helpstr += TQString("<img src='%1'>&nbsp;&nbsp;-&nbsp;&nbsp;%2<br>").tqarg(mEls[i].GetName().replace(" ", "_") + "-" + TQString::number(i)).tqarg( mEls[i].GetName() );
+ helpstr += TQString("<img src='%1'>&nbsp;&nbsp;-&nbsp;&nbsp;%2<br>").arg(mEls[i].GetName().replace(" ", "_") + "-" + TQString::number(i)).arg( mEls[i].GetName() );
}
TQToolTip::add(this, helpstr);
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/StatsCon.h b/plugins/stats/StatsCon.h
index da984f1..47502c6 100644
--- a/plugins/stats/StatsCon.h
+++ b/plugins/stats/StatsCon.h
@@ -22,7 +22,7 @@
#define STATSCON_H_
#include <tqwidget.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqtabwidget.h>
#include <tqgroupbox.h>
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/StatsSpd.h b/plugins/stats/StatsSpd.h
index 971209a..bbb2eb5 100644
--- a/plugins/stats/StatsSpd.h
+++ b/plugins/stats/StatsSpd.h
@@ -22,7 +22,7 @@
#define STATSSPD_H_
#include <tqwidget.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqtabwidget.h>
#include <tqgroupbox.h>
diff --git a/plugins/stats/sprefwgt.ui b/plugins/stats/sprefwgt.ui
index 980f024..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">
@@ -253,7 +253,7 @@
<property name="text">
<string>Gathering data about many connected peers can be CPU consuming.</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignVCenter</set>
</property>
</widget>
@@ -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">
@@ -484,7 +484,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>40</height>
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">