diff options
Diffstat (limited to 'tqtinterface/qt4/src/styles/tqcommonstyle.cpp')
-rw-r--r-- | tqtinterface/qt4/src/styles/tqcommonstyle.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tqtinterface/qt4/src/styles/tqcommonstyle.cpp b/tqtinterface/qt4/src/styles/tqcommonstyle.cpp index 79439b9..8ab5d91 100644 --- a/tqtinterface/qt4/src/styles/tqcommonstyle.cpp +++ b/tqtinterface/qt4/src/styles/tqcommonstyle.cpp @@ -2182,7 +2182,7 @@ TQStyle::SubControl TQCommonStyle::querySubControl(TQ_ComplexControl control, while (ret == SC_None && ctrl <= SC_ScrollBarGroove) { r = querySubControlMetrics(control, widget, (TQStyle::SubControl) ctrl, opt); - if (r.isValid() && r.tqcontains(pos)) + if (r.isValid() && r.contains(pos)) ret = (TQStyle::SubControl) ctrl; ctrl <<= 1; @@ -2201,7 +2201,7 @@ TQStyle::SubControl TQCommonStyle::querySubControl(TQ_ComplexControl control, // we can do this because subcontrols were designed to be masks as well... while (ret == SC_None && ctrl <= SC_TitleBarUnshadeButton) { r = tqvisualRect( querySubControlMetrics( control, widget, (TQStyle::SubControl) ctrl, opt ), widget ); - if (r.isValid() && r.tqcontains(pos)) + if (r.isValid() && r.contains(pos)) ret = (TQStyle::SubControl) ctrl; ctrl <<= 1; @@ -2608,7 +2608,7 @@ TQSize TQCommonStyle::tqsizeFromContents(ContentsType contents, } if (! mi->text().isNull()) { - if (mi->text().tqfind('\t') >= 0) + if (mi->text().find('\t') >= 0) w += 12; } |