diff options
Diffstat (limited to 'kmymoney2/widgets/kmymoneycombo.cpp')
-rw-r--r-- | kmymoney2/widgets/kmymoneycombo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kmymoney2/widgets/kmymoneycombo.cpp b/kmymoney2/widgets/kmymoneycombo.cpp index 37f4517..f8b6489 100644 --- a/kmymoney2/widgets/kmymoneycombo.cpp +++ b/kmymoney2/widgets/kmymoneycombo.cpp @@ -134,7 +134,7 @@ void KMyMoneyCombo::paintEvent(TQPaintEvent* ev) const TQColorGroup & g = colorGroup(); p.setPen(g.text()); - TQRect re = tqstyle().querySubControlMetrics( TQStyle::CC_ComboBox, this, + TQRect re = style().querySubControlMetrics( TQStyle::CC_ComboBox, this, TQStyle::SC_ComboBoxEditField ); re = TQStyle::visualRect(re, this); p.setClipRect( re ); @@ -180,7 +180,7 @@ void KMyMoneyCombo::mousePressEvent(TQMouseEvent *e) bool KMyMoneyCombo::isInArrowArea(const TQPoint& pos) const { - TQRect arrowRect = tqstyle().querySubControlMetrics( TQStyle::CC_ComboBox, this, + TQRect arrowRect = style().querySubControlMetrics( TQStyle::CC_ComboBox, this, TQStyle::SC_ComboBoxArrow); arrowRect = TQStyle::visualRect(arrowRect, this); |