summaryrefslogtreecommitdiffstats
path: root/kplato/kptdurationwidget.ui.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commitb6edfe41c9395f2e20784cbf0e630af6426950a3 (patch)
tree56ed9b871d4296e6c15949c24e16420be1b28697 /kplato/kptdurationwidget.ui.h
parentef39e8e4178a8f98cf5f154916ba0f03e4855206 (diff)
downloadkoffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.tar.gz
koffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kplato/kptdurationwidget.ui.h')
-rw-r--r--kplato/kptdurationwidget.ui.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/kplato/kptdurationwidget.ui.h b/kplato/kptdurationwidget.ui.h
index 2bf5b033..4380c92e 100644
--- a/kplato/kptdurationwidget.ui.h
+++ b/kplato/kptdurationwidget.ui.h
@@ -321,7 +321,7 @@ void DurationWidget::handleLostFocus(
v = v - (tmp.toUInt() * leftScale);
newValue = KGlobal::locale()->formatNumber(v);
}
- int point = newValue.tqfind(m_decimalPoint);
+ int point = newValue.find(m_decimalPoint);
if (point != -1)
{
//HACK doubles may be rounded(at fractions > 6 digits on my system)
@@ -437,7 +437,7 @@ double DurationWidget::power(double m, int e) {
}
double DurationWidget::fraction(TQString number, int *exp) {
- int point = number.tqfind(m_decimalPoint);
+ int point = number.find(m_decimalPoint);
if (point == -1) {
return 0.0;
}