summaryrefslogtreecommitdiffstats
path: root/kword/KWMailMergeLabelAction.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-18 18:12:30 -0600
committerTimothy Pearson <[email protected]>2011-12-18 18:12:30 -0600
commit11191ef0b9908604d1d7aaca382b011ef22c454c (patch)
treed38f0ccd8bfcc9756f5cfc42fb2ad1dad351e6aa /kword/KWMailMergeLabelAction.cpp
parentc9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (diff)
downloadkoffice-11191ef0b9908604d1d7aaca382b011ef22c454c.tar.gz
koffice-11191ef0b9908604d1d7aaca382b011ef22c454c.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kword/KWMailMergeLabelAction.cpp')
-rw-r--r--kword/KWMailMergeLabelAction.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kword/KWMailMergeLabelAction.cpp b/kword/KWMailMergeLabelAction.cpp
index f3d70cb6..facb6e9d 100644
--- a/kword/KWMailMergeLabelAction.cpp
+++ b/kword/KWMailMergeLabelAction.cpp
@@ -63,7 +63,7 @@ protected:
{
validDrag = false;
}
- TQSize tqsizeHint() const
+ TQSize sizeHint() const
{
int w = fontMetrics().width( text() );
int h = fontMetrics().height();
@@ -72,10 +72,10 @@ protected:
void drawButton( TQPainter * p )
{
// Draw the background
- tqstyle().tqdrawComplexControl( TQStyle::CC_ToolButton, p, this, rect(), tqcolorGroup(),
+ tqstyle().drawComplexControl( TQStyle::CC_ToolButton, p, this, rect(), colorGroup(),
TQStyle::Style_Enabled, TQStyle::SC_ToolButton );
// Draw the label
- tqstyle().tqdrawControl( TQStyle::CE_ToolButtonLabel, p, this, rect(), tqcolorGroup(),
+ tqstyle().drawControl( TQStyle::CE_ToolButtonLabel, p, this, rect(), colorGroup(),
TQStyle::Style_Enabled );
}
void enterEvent( TQEvent* ) {};