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 d5a26233..546aa630 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" )
- .arg( server_->root() ).arg( server_->listenPort() ) );
+ .tqarg( server_->root() ).tqarg( server_->listenPort() ) );
}
TQRect
@@ -112,7 +112,7 @@ namespace KPF
p.drawPixmap( ( width()-bgPix_.width() )/2,
( height()-bgPix_.height() )/2, bgPix_ );
- p.setPen(colorGroup().dark());
+ p.setPen(tqcolorGroup().dark());
for (uint i = 0; i < history_.size(); i++)
{
@@ -251,11 +251,11 @@ namespace KPF
if (max_ > 1024)
if (max_ > 1024 * 1024)
- maxString = mbs.arg(max_ / (1024 * 1024));
+ maxString = mbs.tqarg(max_ / (1024 * 1024));
else
- maxString = kbs.arg(max_ / 1024);
+ maxString = kbs.tqarg(max_ / 1024);
else if ( max_ > 0 )
- maxString = bs.arg(max_);
+ maxString = bs.tqarg(max_);
else
maxString = i18n( "Idle" );
@@ -280,13 +280,13 @@ namespace KPF
}
TQSize
- BandwidthGraph::sizeHint() const
+ BandwidthGraph::tqsizeHint() const
{
return TQSize(32, 32);
}
TQSize
- BandwidthGraph::minimumSizeHint() const
+ BandwidthGraph::tqminimumSizeHint() const
{
return TQSize(12, 12);
}