diff options
author | Timothy Pearson <[email protected]> | 2011-12-18 18:31:39 -0600 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2012-06-03 19:30:02 +0200 |
commit | a84302cc767bcabbf01b8c76f61419f4a2ab4ff0 (patch) | |
tree | ac5486dd6d994b05268976cb64e7ef1450d353bc /libkscan/sizeindicator.cpp | |
parent | cbf5be374069885933bdc8a3ede2cbf9c2ffdb5f (diff) | |
download | tdegraphics-a84302cc767bcabbf01b8c76f61419f4a2ab4ff0.tar.gz tdegraphics-a84302cc767bcabbf01b8c76f61419f4a2ab4ff0.zip |
Rename old tq methods that no longer need a unique name
(cherry picked from commit 45f529de247fc4b3662f6b474abe03fe904306ec)
Diffstat (limited to 'libkscan/sizeindicator.cpp')
-rw-r--r-- | libkscan/sizeindicator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libkscan/sizeindicator.cpp b/libkscan/sizeindicator.cpp index 582f2330..d11b1cff 100644 --- a/libkscan/sizeindicator.cpp +++ b/libkscan/sizeindicator.cpp @@ -34,7 +34,7 @@ SizeIndicator::SizeIndicator( TQWidget *parent, long thres, long crit ) { sizeInByte = -1; setFrameStyle( TQFrame::Box | TQFrame::Sunken ); - setMinimumWidth( fontMetrics().width( TQString::tqfromLatin1("MMM.MM MB") )); + setMinimumWidth( fontMetrics().width( TQString::fromLatin1("MMM.MM MB") )); setCritical( crit ); threshold = thres; @@ -100,7 +100,7 @@ void SizeIndicator::drawContents( TQPainter *p ) warnColor.setHsv( 0, c, c ); p->drawImage( 0,0, - KImageEffect::unbalancedGradient( s, tqcolorGroup().background(), + KImageEffect::unbalancedGradient( s, colorGroup().background(), warnColor, KImageEffect::CrossDiagonalGradient, 200,200 )); } /* Displaying the text */ |