From ba2a3ce341c0c71bbbcf350fcbcd60c552220b31 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 21 Dec 2011 14:23:13 -0600 Subject: Rename obsolete tq methods to standard names --- knotes/knotebutton.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'knotes/knotebutton.cpp') diff --git a/knotes/knotebutton.cpp b/knotes/knotebutton.cpp index be141088d..0c7862b2e 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 ); -- cgit v1.2.1