diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:57:02 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:57:02 -0600 |
commit | a51cd9949c4e6c726a84a61de3cfadd30cefb5c7 (patch) | |
tree | a65321bcfdb90583bcc7ef3a90fa357f6632e54c /kstyles/light | |
parent | 984c25aa6969e55896e9a13c8e7f7b8a58991a4e (diff) | |
download | tdelibs-a51cd9949c4e6c726a84a61de3cfadd30cefb5c7.tar.gz tdelibs-a51cd9949c4e6c726a84a61de3cfadd30cefb5c7.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'kstyles/light')
-rw-r--r-- | kstyles/light/lightstyle-v2.cpp | 2 | ||||
-rw-r--r-- | kstyles/light/lightstyle-v3.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/kstyles/light/lightstyle-v2.cpp b/kstyles/light/lightstyle-v2.cpp index 3601fbb68..a55e2edad 100644 --- a/kstyles/light/lightstyle-v2.cpp +++ b/kstyles/light/lightstyle-v2.cpp @@ -635,7 +635,7 @@ void LightStyleV2::drawControl( TQ_ControlElement control, tr.addCoords(0, 0, 0, -1); fr.addCoords(2, 2, -2, -2); - if ( tb->tqshape() == TQTabBar::RoundedBelow || tb->tqshape() == TQTabBar::TriangularBelow) { + if ( tb->shape() == TQTabBar::RoundedBelow || tb->shape() == TQTabBar::TriangularBelow) { tr = r; tr.addCoords(0, 1, 0, 0); fr = r; fr.addCoords(2, 2,-2, -4); below = true; diff --git a/kstyles/light/lightstyle-v3.cpp b/kstyles/light/lightstyle-v3.cpp index 7b5a8135e..a31dba078 100644 --- a/kstyles/light/lightstyle-v3.cpp +++ b/kstyles/light/lightstyle-v3.cpp @@ -818,7 +818,7 @@ void LightStyleV3::drawControl( TQ_ControlElement control, const TQTabBar *tb = (const TQTabBar *) widget; TQRect br = r; - if ( tb->tqshape() == TQTabBar::RoundedAbove ) { + if ( tb->shape() == TQTabBar::RoundedAbove ) { if ( ! ( flags & Style_Selected ) ) { p->setPen( cg.background() ); p->drawLine( br.left(), br.bottom(), @@ -853,7 +853,7 @@ void LightStyleV3::drawControl( TQ_ControlElement control, else br.addCoords( 1, 1, -1, 0 ); p->fillRect( br, cg.background() ); - } else if ( tb->tqshape() == TQTabBar::RoundedBelow ) { + } else if ( tb->shape() == TQTabBar::RoundedBelow ) { if ( ! ( flags & Style_Selected ) ) { p->setPen( cg.background() ); p->drawLine( br.left(), br.top(), |