summaryrefslogtreecommitdiffstats
path: root/khexedit/statusbarprogress.cc
diff options
context:
space:
mode:
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 )