From 808e453c56036211f57482ed847d54aca01bba68 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:49:40 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- kpf/src/BandwidthGraph.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kpf/src/BandwidthGraph.cpp') 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); } -- cgit v1.2.1