summaryrefslogtreecommitdiffstats
path: root/kmid/ktrianglebutton.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:49:11 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:49:11 -0600
commit83fbc82a101309e171089f0d5ed080f82a367345 (patch)
treec7b61083b6e2d4bfceaace9a7f018181ea36afec /kmid/ktrianglebutton.cpp
parentb248983f92b865ef74636ab5a673ae3a88f79c20 (diff)
downloadtdemultimedia-83fbc82a101309e171089f0d5ed080f82a367345.tar.gz
tdemultimedia-83fbc82a101309e171089f0d5ed080f82a367345.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kmid/ktrianglebutton.cpp')
-rw-r--r--kmid/ktrianglebutton.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kmid/ktrianglebutton.cpp b/kmid/ktrianglebutton.cpp
index 155daf31..e94f0980 100644
--- a/kmid/ktrianglebutton.cpp
+++ b/kmid/ktrianglebutton.cpp
@@ -47,7 +47,7 @@ void KTriangleButton::enterEvent( TQEvent* )
if ( isEnabled() )
{
raised = TRUE;
- tqrepaint(FALSE);
+ repaint(FALSE);
}
}
@@ -56,7 +56,7 @@ void KTriangleButton::leaveEvent( TQEvent * )
if( raised != FALSE )
{
raised = FALSE;
- tqrepaint();
+ repaint();
}
}
@@ -75,21 +75,21 @@ void KTriangleButton::paint( TQPainter *painter )
{
if ( isDown() || isOn() )
{
- if ( tqstyle().tqstyleHint(TQStyle::SH_GUIStyle) == WindowsStyle )
+ if ( tqstyle().styleHint(TQStyle::SH_GUIStyle) == WindowsStyle )
qDrawWinButton( painter, 0, 0, width(),
- height(), tqcolorGroup(), TRUE );
+ height(), colorGroup(), TRUE );
else
qDrawShadePanel( painter, 0, 0, width(),
- height(), tqcolorGroup(), TRUE, 2, 0L );
+ height(), colorGroup(), TRUE, 2, 0L );
}
else if ( raised )
{
- if ( tqstyle().tqstyleHint(TQStyle::SH_GUIStyle) == WindowsStyle )
+ if ( tqstyle().styleHint(TQStyle::SH_GUIStyle) == WindowsStyle )
qDrawWinButton( painter, 0, 0, width(), height(),
- tqcolorGroup(), FALSE );
+ colorGroup(), FALSE );
else
qDrawShadePanel( painter, 0, 0, width(), height(),
- tqcolorGroup(), FALSE, 2, 0L );
+ colorGroup(), FALSE, 2, 0L );
}
if (dir==Right)