From 039393e199a49b5158929668908f9cb1fe226484 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 24 Dec 2011 11:36:24 -0600 Subject: Rename a few stragglers --- kivio/kiviopart/stencilbarbutton.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kivio/kiviopart/stencilbarbutton.cpp') 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, -- cgit v1.2.1