summaryrefslogtreecommitdiffstats
path: root/khexedit/statusbarprogress.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:23:49 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:23:49 -0600
commit89856e749bf14e63fed55a8f3436ea9a6f19667a (patch)
tree4aafeedd270ea6358ae47dbe41758758e7a3c780 /khexedit/statusbarprogress.cc
parent7ea89afa119615e547323a7a482ea7fef8e67029 (diff)
downloadtdeutils-89856e749bf14e63fed55a8f3436ea9a6f19667a.tar.gz
tdeutils-89856e749bf14e63fed55a8f3436ea9a6f19667a.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'khexedit/statusbarprogress.cc')
-rw-r--r--khexedit/statusbarprogress.cc10
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 )