diff options
Diffstat (limited to 'kpf/src/BandwidthGraph.cpp')
-rw-r--r-- | kpf/src/BandwidthGraph.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kpf/src/BandwidthGraph.cpp b/kpf/src/BandwidthGraph.cpp index 9acc85e5..bc2f1ee8 100644 --- a/kpf/src/BandwidthGraph.cpp +++ b/kpf/src/BandwidthGraph.cpp @@ -40,10 +40,10 @@ namespace KPF ( WebServer * server, OverlaySelect overlaySelect, - TQWidget * parent, + TQWidget * tqparent, const char * name ) - : TQWidget (parent, name, WRepaintNoErase), + : TQWidget (tqparent, name, WRepaintNoErase), server_ (server), max_ (0L), overlaySelect_ (overlaySelect) @@ -88,10 +88,10 @@ namespace KPF BandwidthGraph::setTooltip() { TQToolTip::add(this, i18n( "%1 on port %2" ) - .arg( server_->root() ).arg( server_->listenPort() ) ); + .tqarg( server_->root() ).tqarg( server_->listenPort() ) ); } - QRect + TQRect BandwidthGraph::contentsRect() const { return TQRect(1, 1, width() - 2, height() - 2); @@ -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,15 +251,15 @@ 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" ); - p.setPen(Qt::white); + p.setPen(TQt::white); p.drawText ( @@ -268,7 +268,7 @@ namespace KPF maxString ); - p.setPen(Qt::black); + p.setPen(TQt::black); p.drawText ( @@ -279,14 +279,14 @@ namespace KPF } } - QSize - BandwidthGraph::sizeHint() const + TQSize + BandwidthGraph::tqsizeHint() const { return TQSize(32, 32); } - QSize - BandwidthGraph::minimumSizeHint() const + TQSize + BandwidthGraph::tqminimumSizeHint() const { return TQSize(12, 12); } |