summaryrefslogtreecommitdiffstats
path: root/kexi/widget/utils/kexidropdownbutton.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:12:30 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:12:30 -0600
commit11191ef0b9908604d1d7aaca382b011ef22c454c (patch)
treed38f0ccd8bfcc9756f5cfc42fb2ad1dad351e6aa /kexi/widget/utils/kexidropdownbutton.cpp
parentc9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (diff)
downloadkoffice-11191ef0b9908604d1d7aaca382b011ef22c454c.tar.gz
koffice-11191ef0b9908604d1d7aaca382b011ef22c454c.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kexi/widget/utils/kexidropdownbutton.cpp')
-rw-r--r--kexi/widget/utils/kexidropdownbutton.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kexi/widget/utils/kexidropdownbutton.cpp b/kexi/widget/utils/kexidropdownbutton.cpp
index 909d507c..054192ce 100644
--- a/kexi/widget/utils/kexidropdownbutton.cpp
+++ b/kexi/widget/utils/kexidropdownbutton.cpp
@@ -28,7 +28,7 @@
KexiDropDownButton::KexiDropDownButton(TQWidget *parent)
: TQToolButton(parent, "KexiDBImageBox::Button")
{
- tqsetSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Expanding);
+ setSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Expanding);
//! @todo get this from a KStyle
// setFixedWidth(TQMAX(18, tqApp->globalStrut().width()));
int fixedWidth;
@@ -55,11 +55,11 @@ void KexiDropDownButton::drawButton( TQPainter *p )
if (isEnabled())
arrowFlags |= TQStyle::Style_Enabled;
tqstyle().tqdrawPrimitive(TQStyle::PE_ArrowDown, p,
- TQRect((width()-7)/2, height()-9, 7, 7), tqcolorGroup(),
+ TQRect((width()-7)/2, height()-9, 7, 7), colorGroup(),
arrowFlags, TQStyleOption() );
}
-TQSize KexiDropDownButton::tqsizeHint () const
+TQSize KexiDropDownButton::sizeHint () const
{
return TQSize( fontMetrics().maxWidth() + 2*2, fontMetrics().height()*2 + 2*2 );
}