summaryrefslogtreecommitdiffstats
path: root/knotes/knotebutton.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:23:13 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-03 04:25:13 +0200
commitc4b3c076ff7d33a8205c616611477ae3c7532de7 (patch)
tree951a8f07f1a0dafc04cb0ca4b2af034809da9883 /knotes/knotebutton.cpp
parent04b89c2dbd5fb1b865453f3977261a60a70f6bc2 (diff)
downloadtdepim-c4b3c076ff7d33a8205c616611477ae3c7532de7.tar.gz
tdepim-c4b3c076ff7d33a8205c616611477ae3c7532de7.zip
Rename obsolete tq methods to standard names
(cherry picked from commit ba2a3ce341c0c71bbbcf350fcbcd60c552220b31)
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 );