summaryrefslogtreecommitdiffstats
path: root/kexi/widget/utils/kexicomboboxdropdownbutton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/widget/utils/kexicomboboxdropdownbutton.cpp')
-rw-r--r--kexi/widget/utils/kexicomboboxdropdownbutton.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kexi/widget/utils/kexicomboboxdropdownbutton.cpp b/kexi/widget/utils/kexicomboboxdropdownbutton.cpp
index 777fea1b..60f99f85 100644
--- a/kexi/widget/utils/kexicomboboxdropdownbutton.cpp
+++ b/kexi/widget/utils/kexicomboboxdropdownbutton.cpp
@@ -53,18 +53,18 @@ void KexiComboBoxDropDownButton::drawButton(TQPainter *p)
TQRect r = rect();
r.setHeight(r.height()+m_fixForHeight);
- if (m_tqdrawComplexControl) {
+ if (m_drawComplexControl) {
if (m_fixForHeight>0 && m_paintedCombo->size()!=size()) {
m_paintedCombo->move(0,0);
m_paintedCombo->setFixedSize(size()+TQSize(0, m_fixForHeight)); //last chance to fix size
}
- tqstyle().tqdrawComplexControl( TQStyle::CC_ComboBox, p,
- m_fixForHeight>0 ? (const TQWidget*)m_paintedCombo : this, r, tqcolorGroup(),
+ tqstyle().drawComplexControl( TQStyle::CC_ComboBox, p,
+ m_fixForHeight>0 ? (const TQWidget*)m_paintedCombo : this, r, colorGroup(),
flags, (uint)(TQStyle::SC_ComboBoxArrow), TQStyle::SC_None );
}
else {
r.setWidth(r.width()+2);
- tqstyle().tqdrawPrimitive( TQStyle::PE_ArrowDown, p, r, tqcolorGroup(), flags);
+ tqstyle().tqdrawPrimitive( TQStyle::PE_ArrowDown, p, r, colorGroup(), flags);
}
}
@@ -77,7 +77,7 @@ void KexiComboBoxDropDownButton::styleChange( TQStyle & oldStyle )
else
m_fixForHeight = 0;
//</hack>
- m_tqdrawComplexControl =
+ m_drawComplexControl =
(tqstyle().inherits("KStyle") && qstricmp(tqstyle().name(),"qtcurve")!=0)
|| qstricmp(tqstyle().name(),"platinum")==0;
if (m_fixForHeight==0)