diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:59:00 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:59:00 -0600 |
commit | ec1fddcd0d6663ad273af85357f04abbc5689468 (patch) | |
tree | 6cb946ab8b4771868c6eee8d1aa5213d6ec246e2 /libkscan/sizeindicator.cpp | |
parent | c2637a0da6d9a1c8626ca39f8451ab3b7cda487a (diff) | |
download | tdegraphics-ec1fddcd0d6663ad273af85357f04abbc5689468.tar.gz tdegraphics-ec1fddcd0d6663ad273af85357f04abbc5689468.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit c2637a0da6d9a1c8626ca39f8451ab3b7cda487a.
Diffstat (limited to 'libkscan/sizeindicator.cpp')
-rw-r--r-- | libkscan/sizeindicator.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libkscan/sizeindicator.cpp b/libkscan/sizeindicator.cpp index e0884e08..582f2330 100644 --- a/libkscan/sizeindicator.cpp +++ b/libkscan/sizeindicator.cpp @@ -19,7 +19,7 @@ #include "sizeindicator.h" -#include <palette.h> +#include <tqpalette.h> #include <tqimage.h> #include <kimageeffect.h> @@ -34,7 +34,7 @@ SizeIndicator::SizeIndicator( TQWidget *parent, long thres, long crit ) { 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 */ |