summaryrefslogtreecommitdiffstats
path: root/kmid/ktrianglebutton.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:33:07 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-03 18:07:29 +0200
commitcc17a105bc9cf5683ff3f208214068c571fcde59 (patch)
treeb96dcddb68759dec0d35273e6b79f0c7520be820 /kmid/ktrianglebutton.cpp
parent558317e518c5c27b0788242b8b9e828fbabb5b89 (diff)
downloadtdemultimedia-cc17a105bc9cf5683ff3f208214068c571fcde59.tar.gz
tdemultimedia-cc17a105bc9cf5683ff3f208214068c571fcde59.zip
Rename old tq methods that no longer need a unique name
(cherry picked from commit 3c299dfe48c0060272c2966fff599b3b417e2ee4)
Diffstat (limited to 'kmid/ktrianglebutton.cpp')
-rw-r--r--kmid/ktrianglebutton.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kmid/ktrianglebutton.cpp b/kmid/ktrianglebutton.cpp
index f2c47ca5..facce021 100644
--- a/kmid/ktrianglebutton.cpp
+++ b/kmid/ktrianglebutton.cpp
@@ -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)