diff options
Diffstat (limited to 'libkscan/sizeindicator.cpp')
-rw-r--r-- | libkscan/sizeindicator.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libkscan/sizeindicator.cpp b/libkscan/sizeindicator.cpp index bd259bd3..3b0a2a18 100644 --- a/libkscan/sizeindicator.cpp +++ b/libkscan/sizeindicator.cpp @@ -29,12 +29,12 @@ -SizeIndicator::SizeIndicator( TQWidget *parent, long thres, long crit ) - :TQLabel( parent ) +SizeIndicator::SizeIndicator( TQWidget *tqparent, long thres, long crit ) + :TQLabel( tqparent ) { sizeInByte = -1; setFrameStyle( TQFrame::Box | TQFrame::Sunken ); - setMinimumWidth( fontMetrics().width( TQString::fromLatin1("MMM.MM MB") )); + setMinimumWidth( fontMetrics().width( TQString::tqfromLatin1("MMM.MM MB") )); setCritical( crit ); threshold = thres; @@ -79,7 +79,7 @@ void SizeIndicator::setSizeInByte( long newSize ) fwidth = 2; } - t = unit.arg( sizer, fwidth, 'f', precision); + t = unit.tqarg( sizer, fwidth, 'f', precision); setText(t); } @@ -100,7 +100,7 @@ void SizeIndicator::drawContents( TQPainter *p ) warnColor.setHsv( 0, c, c ); p->drawImage( 0,0, - KImageEffect::unbalancedGradient( s, colorGroup().background(), + KImageEffect::unbalancedGradient( s, tqcolorGroup().background(), warnColor, KImageEffect::CrossDiagonalGradient, 200,200 )); } /* Displaying the text */ |