diff options
| author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:23:49 -0600 |
|---|---|---|
| committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-04 03:15:18 +0200 |
| commit | a3f1234ece748a30d118e4b6f8333c19505bd516 (patch) | |
| tree | f86bf3eb14b004c4e2e3bf9bf36e321dee3ce6b5 /khexedit/statusbarprogress.cc | |
| parent | 632b7d40cf87562965abb5c7dffc1bae509bad2c (diff) | |
| download | tdeutils-a3f1234ece748a30d118e4b6f8333c19505bd516.tar.gz tdeutils-a3f1234ece748a30d118e4b6f8333c19505bd516.zip | |
Rename obsolete tq methods to standard names
(cherry picked from commit 89856e749bf14e63fed55a8f3436ea9a6f19667a)
Diffstat (limited to 'khexedit/statusbarprogress.cc')
| -rw-r--r-- | khexedit/statusbarprogress.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/khexedit/statusbarprogress.cc b/khexedit/statusbarprogress.cc index 8ac56bb..59facfc 100644 --- a/khexedit/statusbarprogress.cc +++ b/khexedit/statusbarprogress.cc @@ -69,8 +69,8 @@ void CStatusBarProgress::initialize( void ) mBarColor = tqpalette().active().highlight(); mBarTextColor = tqpalette().active().highlightedText(); - mTextColor = tqpalette().active().text(); - setBackgroundColor( tqpalette().active().background() ); + mTextColor = palette().active().text(); + setBackgroundColor( palette().active().background() ); TQFont font( KGlobalSettings::generalFont() ); font.setBold( true ); @@ -229,7 +229,7 @@ void CStatusBarProgress::styleChange( GUIStyle ) void CStatusBarProgress::adjustStyle( void ) { - switch( tqstyle().SH_GUIStyle) + switch( style().SH_GUIStyle) { case WindowsStyle: setFrameStyle( TQFrame::NoFrame ); @@ -248,8 +248,8 @@ void CStatusBarProgress::paletteChange( const TQPalette & ) { mBarColor = tqpalette().active().highlight(); mBarTextColor = tqpalette().active().highlightedText(); - mTextColor = tqpalette().active().text(); - setBackgroundColor( tqpalette().active().background() ); + mTextColor = palette().active().text(); + setBackgroundColor( palette().active().background() ); } void CStatusBarProgress::drawText( TQPainter *p ) |
