summaryrefslogtreecommitdiffstats
path: root/kpf/src/BandwidthGraph.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-15 15:49:40 -0600
committerTimothy Pearson <[email protected]>2011-12-15 15:49:40 -0600
commit808e453c56036211f57482ed847d54aca01bba68 (patch)
tree75515d5768dea10d4fbe4cd772e0a89c1c4b3aa9 /kpf/src/BandwidthGraph.cpp
parentcd9b9ed7fd0ac8a75106148254aa58e2e5c04863 (diff)
downloadtdenetwork-808e453c56036211f57482ed847d54aca01bba68.tar.gz
tdenetwork-808e453c56036211f57482ed847d54aca01bba68.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kpf/src/BandwidthGraph.cpp')
-rw-r--r--kpf/src/BandwidthGraph.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kpf/src/BandwidthGraph.cpp b/kpf/src/BandwidthGraph.cpp
index 546aa630..d5a26233 100644
--- a/kpf/src/BandwidthGraph.cpp
+++ b/kpf/src/BandwidthGraph.cpp
@@ -88,7 +88,7 @@ namespace KPF
BandwidthGraph::setTooltip()
{
TQToolTip::add(this, i18n( "%1 on port %2" )
- .tqarg( server_->root() ).tqarg( server_->listenPort() ) );
+ .arg( server_->root() ).arg( server_->listenPort() ) );
}
TQRect
@@ -112,7 +112,7 @@ namespace KPF
p.drawPixmap( ( width()-bgPix_.width() )/2,
( height()-bgPix_.height() )/2, bgPix_ );
- p.setPen(tqcolorGroup().dark());
+ p.setPen(colorGroup().dark());
for (uint i = 0; i < history_.size(); i++)
{
@@ -251,11 +251,11 @@ namespace KPF
if (max_ > 1024)
if (max_ > 1024 * 1024)
- maxString = mbs.tqarg(max_ / (1024 * 1024));
+ maxString = mbs.arg(max_ / (1024 * 1024));
else
- maxString = kbs.tqarg(max_ / 1024);
+ maxString = kbs.arg(max_ / 1024);
else if ( max_ > 0 )
- maxString = bs.tqarg(max_);
+ maxString = bs.arg(max_);
else
maxString = i18n( "Idle" );
@@ -280,13 +280,13 @@ namespace KPF
}
TQSize
- BandwidthGraph::tqsizeHint() const
+ BandwidthGraph::sizeHint() const
{
return TQSize(32, 32);
}
TQSize
- BandwidthGraph::tqminimumSizeHint() const
+ BandwidthGraph::minimumSizeHint() const
{
return TQSize(12, 12);
}