diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:05:00 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:05:00 -0600 |
commit | 81ed92522a3cc6b80e9d790bd7a52b0eb4d412b9 (patch) | |
tree | 984088ab9d226a14ccfea73720e580c16884702f /kmymoney2/widgets/kmymoneycombo.cpp | |
parent | c70e40bd3f54a2c4d9ef57a36f19c996f4e00ed6 (diff) | |
download | kmymoney-81ed92522a3cc6b80e9d790bd7a52b0eb4d412b9.tar.gz kmymoney-81ed92522a3cc6b80e9d790bd7a52b0eb4d412b9.zip |
Rename obsolete tq methods to standard names
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); |