summaryrefslogtreecommitdiffstats
path: root/kivio/kiviopart/stencilbarbutton.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-24 11:36:24 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-24 11:36:24 -0600
commit039393e199a49b5158929668908f9cb1fe226484 (patch)
treed7aec29ab26866737b6786073bba888af62cb1bf /kivio/kiviopart/stencilbarbutton.cpp
parent2d6954f69caf63ed5057bd8e1405a65d7d970292 (diff)
downloadkoffice-039393e199a49b5158929668908f9cb1fe226484.tar.gz
koffice-039393e199a49b5158929668908f9cb1fe226484.zip
Rename a few stragglers
Diffstat (limited to 'kivio/kiviopart/stencilbarbutton.cpp')
-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,