diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:59:34 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:59:34 -0600 |
commit | 83677e35509b4dafac63b76995652bdf3b49f209 (patch) | |
tree | 591f1dc22278addb439726c42896376b17bb42bd /kpf/src/BandwidthGraph.cpp | |
parent | 808e453c56036211f57482ed847d54aca01bba68 (diff) | |
download | tdenetwork-83677e35509b4dafac63b76995652bdf3b49f209.tar.gz tdenetwork-83677e35509b4dafac63b76995652bdf3b49f209.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 808e453c56036211f57482ed847d54aca01bba68.
Diffstat (limited to 'kpf/src/BandwidthGraph.cpp')
-rw-r--r-- | kpf/src/BandwidthGraph.cpp | 14 |
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); } |