summaryrefslogtreecommitdiffstats
path: root/kpf/src/BandwidthGraph.cpp
diff options
context:
space:
mode:
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);
}