summaryrefslogtreecommitdiffstats
path: root/kivio
diff options
context:
space:
mode:
Diffstat (limited to 'kivio')
-rw-r--r--kivio/kiviopart/stencilbarbutton.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kivio/kiviopart/stencilbarbutton.cpp b/kivio/kiviopart/stencilbarbutton.cpp
index 39fb22ef..bb9b5627 100644
--- a/kivio/kiviopart/stencilbarbutton.cpp
+++ b/kivio/kiviopart/stencilbarbutton.cpp
@@ -122,7 +122,7 @@ void DragBarButton::drawButton( TQPainter* paint )
TQPainter pixPainter(&pix);
const TQColorGroup& g = colorGroup();
- tqstyle().drawControl( TQStyle::CE_PushButton, &pixPainter, this, TQRect(0, 0, pixSize.width(), pixSize.height()), colorGroup() );
+ style().drawControl( TQStyle::CE_PushButton, &pixPainter, this, TQRect(0, 0, pixSize.width(), pixSize.height()), colorGroup() );
int m = 3;
int tw = 0;
@@ -130,7 +130,7 @@ void DragBarButton::drawButton( TQPainter* paint )
if ( m_pIcon ) {
pw = m_pIcon->width();
- tqstyle().drawItem( &pixPainter, TQRect( m, 0, pw, pixSize.height() ),
+ style().drawItem( &pixPainter, TQRect( m, 0, pw, pixSize.height() ),
AlignLeft | AlignVCenter,
colorGroup(), isEnabled(),
m_pIcon, TQString(), -1,
@@ -144,7 +144,7 @@ void DragBarButton::drawButton( TQPainter* paint )
int x = m + pw + (tw!=0 && pw!=0 ?m:0);
TQString t = KStringHandler::rPixelSqueeze(text(), fm, pixSize.width() - (x + m + 22));
- tqstyle().drawItem( &pixPainter, TQRect( x, 0, tw, pixSize.height() ),
+ style().drawItem( &pixPainter, TQRect( x, 0, tw, pixSize.height() ),
AlignLeft | AlignVCenter|ShowPrefix,
colorGroup(), isEnabled(),
0L, t, -1,