summaryrefslogtreecommitdiffstats
path: root/knotes/knotebutton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knotes/knotebutton.cpp')
-rw-r--r--knotes/knotebutton.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/knotes/knotebutton.cpp b/knotes/knotebutton.cpp
index be141088..0c7862b2 100644
--- a/knotes/knotebutton.cpp
+++ b/knotes/knotebutton.cpp
@@ -78,7 +78,7 @@ void KNoteButton::drawButton( TQPainter* p )
if ( !m_flat )
flags |= TQStyle::Style_MouseOver;
- tqstyle().tqdrawPrimitive( TQStyle::PE_ButtonTool, p, rect(), colorGroup(), flags );
+ style().tqdrawPrimitive( TQStyle::PE_ButtonTool, p, rect(), colorGroup(), flags );
drawButtonLabel( p );
}
@@ -102,8 +102,8 @@ void KNoteButton::drawButtonLabel( TQPainter* p )
// Shift button contents if pushed.
if ( isOn() || isDown() )
{
- dx += tqstyle().pixelMetric( TQStyle::PM_ButtonShiftHorizontal, this );
- dy += tqstyle().pixelMetric( TQStyle::PM_ButtonShiftVertical, this );
+ dx += style().pixelMetric( TQStyle::PM_ButtonShiftHorizontal, this );
+ dy += style().pixelMetric( TQStyle::PM_ButtonShiftVertical, this );
}
p->drawPixmap( dx, dy, pix );