diff options
| author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:05:41 -0600 |
|---|---|---|
| committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:05:41 -0600 |
| commit | 2d6954f69caf63ed5057bd8e1405a65d7d970292 (patch) | |
| tree | 88e6436b2e81d4e68313f02a9021054252e14cc4 /kexi/widget/utils/kexidropdownbutton.cpp | |
| parent | f0de9e167e289ab7dc33e57f077c1f04ec7c68c8 (diff) | |
| download | koffice-2d6954f69caf63ed5057bd8e1405a65d7d970292.tar.gz koffice-2d6954f69caf63ed5057bd8e1405a65d7d970292.zip | |
Rename obsolete tq methods to standard names
Diffstat (limited to 'kexi/widget/utils/kexidropdownbutton.cpp')
| -rw-r--r-- | kexi/widget/utils/kexidropdownbutton.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kexi/widget/utils/kexidropdownbutton.cpp b/kexi/widget/utils/kexidropdownbutton.cpp index 054192ce7..0710b4d06 100644 --- a/kexi/widget/utils/kexidropdownbutton.cpp +++ b/kexi/widget/utils/kexidropdownbutton.cpp @@ -33,10 +33,10 @@ KexiDropDownButton::KexiDropDownButton(TQWidget *parent) // setFixedWidth(TQMAX(18, tqApp->globalStrut().width())); int fixedWidth; //hack - if (qstricmp(tqstyle().name(),"thinkeramik")==0) + if (qstricmp(style().name(),"thinkeramik")==0) fixedWidth = 18; //typical width as in "windows" style else - fixedWidth = tqstyle().querySubControlMetrics( TQStyle::CC_ComboBox, + fixedWidth = style().querySubControlMetrics( TQStyle::CC_ComboBox, this, TQStyle::SC_ComboBoxArrow ).width(); setFixedWidth( fixedWidth ); setPopupDelay(10/*ms*/); @@ -54,7 +54,7 @@ void KexiDropDownButton::drawButton( TQPainter *p ) arrowFlags |= TQStyle::Style_Down; if (isEnabled()) arrowFlags |= TQStyle::Style_Enabled; - tqstyle().tqdrawPrimitive(TQStyle::PE_ArrowDown, p, + style().tqdrawPrimitive(TQStyle::PE_ArrowDown, p, TQRect((width()-7)/2, height()-9, 7, 7), colorGroup(), arrowFlags, TQStyleOption() ); } |
